Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 9cc21f62 by Tony CHEMIT at 2017-06-14T09:54:09+02:00 [Report v6] Problème de restitution des dates sur une base locale lorsque la time zone change (See #783) - - - - - 2 changed files: - persistence/src/test/java/fr/ird/observe/H2TimeZoneTest.java - services/src/main/java/fr/ird/observe/services/configuration/topia/ObserveDataSourceConfigurationTopiaH2.java Changes: ===================================== persistence/src/test/java/fr/ird/observe/H2TimeZoneTest.java ===================================== --- a/persistence/src/test/java/fr/ird/observe/H2TimeZoneTest.java +++ b/persistence/src/test/java/fr/ird/observe/H2TimeZoneTest.java @@ -1,4 +1,26 @@ package fr.ird.observe; + +/*- + * #%L + * ObServe :: Persistence + * %% + * Copyright (C) 2008 - 2017 IRD, Code Lutin, Ultreia.io + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/gpl-3.0.html>. + * #L% + */ import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; ===================================== services/src/main/java/fr/ird/observe/services/configuration/topia/ObserveDataSourceConfigurationTopiaH2.java ===================================== --- a/services/src/main/java/fr/ird/observe/services/configuration/topia/ObserveDataSourceConfigurationTopiaH2.java +++ b/services/src/main/java/fr/ird/observe/services/configuration/topia/ObserveDataSourceConfigurationTopiaH2.java @@ -58,7 +58,7 @@ public class ObserveDataSourceConfigurationTopiaH2 extends ObserveDataSourceConf } public File getDatabaseFile() { - return new File(directory, dbName + ".h2.db"); + return new File(directory, dbName + ".mv.db"); } public File getLockFile() { View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/9cc21f62750e6580985cff6e751d... --- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/9cc21f62750e6580985cff6e751d... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT