branch develop updated (f2d8d57 -> c35d450)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository topia. See http://git.nuiton.org/topia.git from f2d8d57 refs #2892 Fix setTopiaIdFactory(...) only if necessary new d50e212 refs #2892 Fix Ano-1640 IT new 085a3e6 refs #2892 fix maven dependency issues new cd25c6a refs #2892 Keep ToPIA Java 1.6 compatible new c35d450 Fix missing file headers The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit c35d450b260be5363c97d4e7b847e950b3acd9bb Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:50:35 2015 +0200 Fix missing file headers commit cd25c6ade5d82c5dfe6deeaae69e08fc52952892 Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:47:48 2015 +0200 refs #2892 Keep ToPIA Java 1.6 compatible commit 085a3e6fc1d5d7daa1b7a915d1bede43dae94c0e Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:46:37 2015 +0200 refs #2892 fix maven dependency issues commit d50e212cb672f63edc1d375a3831c2b01953cf71 Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:44:08 2015 +0200 refs #2892 Fix Ano-1640 IT Summary of changes: topia-it/pom.xml | 5 -- .../topia/testabstract/TopiaAbstractTest.java | 2 +- ...TopiaDatabase.java => TopiaIt1640Database.java} | 18 ++------ .../TopiaItMappingTopiaApplicationContext.java | 22 +++++++++ topia-junit/pom.xml | 24 ---------- topia-persistence/pom.xml | 5 ++ .../topia/persistence/BeanTopiaConfiguration.java | 22 +++++++++ .../persistence/HibernateAvailableSettings.java | 22 +++++++++ .../HibernateTopiaMigrationService.java | 22 +++++++++ .../topia/persistence/TopiaConfiguration.java | 22 +++++++++ .../persistence/TopiaConfigurationBuilder.java | 22 +++++++++ .../TopiaMisconfigurationException.java | 22 +++++++++ .../internal/DefaultTopiaIdFactory.java | 22 +++++++++ .../persistence/jdbc/BeanJdbcConfiguration.java | 22 +++++++++ .../topia/persistence/jdbc/JdbcConfiguration.java | 22 +++++++++ .../persistence/jdbc/JdbcConfigurationBuilder.java | 22 +++++++++ .../topia/persistence/jdbc/JdbcH2Helper.java | 22 +++++++++ .../nuiton/topia/persistence/jdbc/JdbcHelper.java | 53 ++++++++++++++++++++-- .../persistence/TopiaConfigurationBuilderTest.java | 22 +++++++++ 19 files changed, 346 insertions(+), 47 deletions(-) rename topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/{TopiaDatabase.java => TopiaIt1640Database.java} (64%) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit d50e212cb672f63edc1d375a3831c2b01953cf71 Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:44:08 2015 +0200 refs #2892 Fix Ano-1640 IT --- .../nuiton/topia/testabstract/TopiaAbstractTest.java | 2 +- .../{TopiaDatabase.java => TopiaIt1640Database.java} | 18 ++++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaAbstractTest.java b/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaAbstractTest.java index 9b19a37..fdf787f 100644 --- a/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaAbstractTest.java +++ b/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaAbstractTest.java @@ -30,7 +30,7 @@ import org.junit.Test; public class TopiaAbstractTest { @Rule - public final TopiaDatabase db = new TopiaDatabase(); + public final TopiaIt1640Database db = new TopiaIt1640Database(); @Test public void testCreateCar() { diff --git a/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaDatabase.java b/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaIt1640Database.java similarity index 64% rename from topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaDatabase.java rename to topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaIt1640Database.java index 0910c8d..a7eb67d 100644 --- a/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaDatabase.java +++ b/topia-it/src/it/ANOMALIE-1640/src/test/java/org/nuiton/topia/testabstract/TopiaIt1640Database.java @@ -25,23 +25,13 @@ package org.nuiton.topia.testabstract; */ import org.nuiton.topia.junit.AbstractDatabaseResource; +import org.nuiton.topia.persistence.TopiaConfiguration; -import java.util.Properties; - -public class TopiaDatabase extends AbstractDatabaseResource<TopiaTestAbstractTopiaPersistenceContext, TopiaTestAbstractTopiaApplicationContext> { - - public TopiaDatabase() { - super("/TopiaContextImpl.properties"); - } - - @Override - protected TopiaTestAbstractTopiaApplicationContext createApplicationContext(Properties dbConfiguration) { - return new TopiaTestAbstractTopiaApplicationContext(dbConfiguration); - } +public class TopiaIt1640Database extends AbstractDatabaseResource<TopiaTestAbstractTopiaPersistenceContext, TopiaTestAbstractTopiaApplicationContext> { @Override - protected String getImplementationClassesAsString() { - return TopiaTestAbstractEntityEnum.getImplementationClassesAsString(); + protected TopiaTestAbstractTopiaApplicationContext createApplicationContext(TopiaConfiguration topiaConfiguration) { + return new TopiaTestAbstractTopiaApplicationContext(topiaConfiguration); } } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit 085a3e6fc1d5d7daa1b7a915d1bede43dae94c0e Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:46:37 2015 +0200 refs #2892 fix maven dependency issues --- topia-it/pom.xml | 5 ----- topia-junit/pom.xml | 24 ------------------------ topia-persistence/pom.xml | 5 +++++ 3 files changed, 5 insertions(+), 29 deletions(-) diff --git a/topia-it/pom.xml b/topia-it/pom.xml index 587e7b4..4310046 100644 --- a/topia-it/pom.xml +++ b/topia-it/pom.xml @@ -87,11 +87,6 @@ </dependency> <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - </dependency> - - <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> diff --git a/topia-junit/pom.xml b/topia-junit/pom.xml index 15b61dd..43e8fd7 100644 --- a/topia-junit/pom.xml +++ b/topia-junit/pom.xml @@ -49,35 +49,11 @@ </dependency> <dependency> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-utils</artifactId> - </dependency> - - <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - </dependency> - - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - </dependency> - - <dependency> - <groupId>org.hibernate</groupId> - <artifactId>hibernate-core</artifactId> - </dependency> - <dependency> - <groupId>org.hibernate</groupId> - <artifactId>hibernate-ehcache</artifactId> - </dependency> - - <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </dependency> diff --git a/topia-persistence/pom.xml b/topia-persistence/pom.xml index e546f93..ee242ef 100644 --- a/topia-persistence/pom.xml +++ b/topia-persistence/pom.xml @@ -69,6 +69,11 @@ </dependency> <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + + <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit cd25c6ade5d82c5dfe6deeaae69e08fc52952892 Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:47:48 2015 +0200 refs #2892 Keep ToPIA Java 1.6 compatible --- .../nuiton/topia/persistence/jdbc/JdbcHelper.java | 53 ++++++++++++++++++++-- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcHelper.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcHelper.java index 56db3b3..5d085a4 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcHelper.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcHelper.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.jdbc; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -10,6 +32,7 @@ import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; +import java.sql.Statement; /** * @since 3.0 @@ -83,10 +106,34 @@ public class JdbcHelper { return connection; } - protected void closeQuietly(AutoCloseable closeable) { - if (closeable != null) { + protected void closeQuietly(Statement statement) { + if (statement != null) { + try { + statement.close(); + } catch (Exception eee) { + if (log.isWarnEnabled()) { + log.warn("Unable to close: " + eee.getMessage() , eee); + } + } + } + } + + protected void closeQuietly(Connection connection) { + if (connection != null) { + try { + connection.close(); + } catch (Exception eee) { + if (log.isWarnEnabled()) { + log.warn("Unable to close: " + eee.getMessage() , eee); + } + } + } + } + + protected void closeQuietly(ResultSet resultSet) { + if (resultSet != null) { try { - closeable.close(); + resultSet.close(); } catch (Exception eee) { if (log.isWarnEnabled()) { log.warn("Unable to close: " + eee.getMessage() , eee); -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit c35d450b260be5363c97d4e7b847e950b3acd9bb Author: Arnaud Thimel <thimel@codelutin.com> Date: Sat Apr 25 23:50:35 2015 +0200 Fix missing file headers --- .../TopiaItMappingTopiaApplicationContext.java | 22 ++++++++++++++++++++++ .../topia/persistence/BeanTopiaConfiguration.java | 22 ++++++++++++++++++++++ .../persistence/HibernateAvailableSettings.java | 22 ++++++++++++++++++++++ .../HibernateTopiaMigrationService.java | 22 ++++++++++++++++++++++ .../topia/persistence/TopiaConfiguration.java | 22 ++++++++++++++++++++++ .../persistence/TopiaConfigurationBuilder.java | 22 ++++++++++++++++++++++ .../TopiaMisconfigurationException.java | 22 ++++++++++++++++++++++ .../internal/DefaultTopiaIdFactory.java | 22 ++++++++++++++++++++++ .../persistence/jdbc/BeanJdbcConfiguration.java | 22 ++++++++++++++++++++++ .../topia/persistence/jdbc/JdbcConfiguration.java | 22 ++++++++++++++++++++++ .../persistence/jdbc/JdbcConfigurationBuilder.java | 22 ++++++++++++++++++++++ .../topia/persistence/jdbc/JdbcH2Helper.java | 22 ++++++++++++++++++++++ .../persistence/TopiaConfigurationBuilderTest.java | 22 ++++++++++++++++++++++ 13 files changed, 286 insertions(+) diff --git a/topia-it/src/main/java/org/nuiton/topia/it/mapping/TopiaItMappingTopiaApplicationContext.java b/topia-it/src/main/java/org/nuiton/topia/it/mapping/TopiaItMappingTopiaApplicationContext.java index 79fb0c1..803e273 100644 --- a/topia-it/src/main/java/org/nuiton/topia/it/mapping/TopiaItMappingTopiaApplicationContext.java +++ b/topia-it/src/main/java/org/nuiton/topia/it/mapping/TopiaItMappingTopiaApplicationContext.java @@ -1,5 +1,27 @@ package org.nuiton.topia.it.mapping; +/* + * #%L + * ToPIA :: IT + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import java.util.Map; import java.util.Properties; import org.nuiton.topia.persistence.TopiaConfiguration; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/BeanTopiaConfiguration.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/BeanTopiaConfiguration.java index d81ed72..a1c306b 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/BeanTopiaConfiguration.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/BeanTopiaConfiguration.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.nuiton.topia.persistence.internal.FullyQualifiedNamePlusUuidTopiaIdFactory; import org.nuiton.topia.persistence.jdbc.BeanJdbcConfiguration; import org.nuiton.topia.persistence.jdbc.JdbcConfiguration; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateAvailableSettings.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateAvailableSettings.java index 2390a47..2534a81 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateAvailableSettings.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateAvailableSettings.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.hibernate.cfg.AvailableSettings; /** diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateTopiaMigrationService.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateTopiaMigrationService.java index aed8930..023644d 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateTopiaMigrationService.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/HibernateTopiaMigrationService.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import java.util.Map; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfiguration.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfiguration.java index 0ae7ae4..4b109b0 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfiguration.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfiguration.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.nuiton.topia.persistence.jdbc.JdbcConfiguration; import java.util.Map; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfigurationBuilder.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfigurationBuilder.java index 938312d..1b92a59 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfigurationBuilder.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaConfigurationBuilder.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import com.google.common.base.MoreObjects; import com.google.common.base.Preconditions; import com.google.common.base.Strings; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaMisconfigurationException.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaMisconfigurationException.java index e717abf..c603266 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaMisconfigurationException.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/TopiaMisconfigurationException.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /** * Exception raised when a user has wrongly configured ToPIA. * diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/internal/DefaultTopiaIdFactory.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/internal/DefaultTopiaIdFactory.java index d4bd955..90f107f 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/internal/DefaultTopiaIdFactory.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/internal/DefaultTopiaIdFactory.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.internal; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /** * @since 3.0 * @deprecated use {@link org.nuiton.topia.persistence.internal.FullyQualifiedNamePlusUuidTopiaIdFactory} diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/BeanJdbcConfiguration.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/BeanJdbcConfiguration.java index fa008a6..399d694 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/BeanJdbcConfiguration.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/BeanJdbcConfiguration.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.jdbc; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import java.sql.Driver; public class BeanJdbcConfiguration implements JdbcConfiguration { diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfiguration.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfiguration.java index f031552..cd95576 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfiguration.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfiguration.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.jdbc; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import java.io.Serializable; import java.sql.Driver; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfigurationBuilder.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfigurationBuilder.java index e54c35b..bb1af7c 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfigurationBuilder.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcConfigurationBuilder.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.jdbc; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.google.common.base.StandardSystemProperty; diff --git a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcH2Helper.java b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcH2Helper.java index da90819..1b16caf 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcH2Helper.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/persistence/jdbc/JdbcH2Helper.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence.jdbc; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.apache.commons.io.IOUtils; import java.io.BufferedInputStream; diff --git a/topia-persistence/src/test/java/org/nuiton/topia/persistence/TopiaConfigurationBuilderTest.java b/topia-persistence/src/test/java/org/nuiton/topia/persistence/TopiaConfigurationBuilderTest.java index a5b363a..3c32cda 100644 --- a/topia-persistence/src/test/java/org/nuiton/topia/persistence/TopiaConfigurationBuilderTest.java +++ b/topia-persistence/src/test/java/org/nuiton/topia/persistence/TopiaConfigurationBuilderTest.java @@ -1,5 +1,27 @@ package org.nuiton.topia.persistence; +/* + * #%L + * ToPIA :: Persistence + * %% + * Copyright (C) 2004 - 2015 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser 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 Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Assert; -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm