r1156 - in topia/trunk: . src/main/java/org/codelutin/topia/persistence/hibernate
Author: chatellier Date: 2008-10-06 09:44:21 +0000 (Mon, 06 Oct 2008) New Revision: 1156 Modified: topia/trunk/pom.xml topia/trunk/src/main/java/org/codelutin/topia/persistence/hibernate/FlatFilePersister.java Log: Switch on hibernate 3.3.1 Modified: topia/trunk/pom.xml =================================================================== --- topia/trunk/pom.xml 2008-10-06 09:42:30 UTC (rev 1155) +++ topia/trunk/pom.xml 2008-10-06 09:44:21 UTC (rev 1156) @@ -12,13 +12,6 @@ <version>3.0</version> </parent> - <distributionManagement> - <site> - <id>labs</id> - <url>scp://labs.libre-entreprise.org/home/groups/${pom.artifactId}/htdocs/</url> - </site> - </distributionManagement> - <!--A unique name for this project--> <groupId>org.codelutin</groupId> <artifactId>topia</artifactId> @@ -36,11 +29,6 @@ </description> <inceptionYear>2004</inceptionYear> - <!--Tracking--> - <issueManagement> - <url>http://labs.libre-entreprise.org/tracker/?group_id=21</url> - </issueManagement> - <properties> <!-- id du projet du labs --> <labs.id>21</labs.id> @@ -52,6 +40,15 @@ <maven.test.skip>true</maven.test.skip> </properties> + <!-- Additionnals repositories --> + <repositories> + <!-- JBoss for hibernate --> + <repository> + <id>jboss-repository</id> + <url>http://repository.jboss.com/maven2</url> + </repository> + </repositories> + <scm> <connection>${maven.scm.connection}</connection> <developerConnection>${maven.scm.developerConnection}</developerConnection> @@ -97,7 +94,7 @@ <dependency> <groupId>org.codelutin</groupId> <artifactId>lutinutil</artifactId> - <version>0.31-SNAPSHOT</version> + <version>0.31</version> <scope>compile</scope> </dependency> @@ -117,8 +114,8 @@ <dependency> <groupId>org.hibernate</groupId> - <artifactId>hibernate</artifactId> - <version>3.2.6.ga-eventpatch</version> + <artifactId>hibernate-core</artifactId> + <version>3.3.1.GA</version> <scope>compile</scope> </dependency> Modified: topia/trunk/src/main/java/org/codelutin/topia/persistence/hibernate/FlatFilePersister.java =================================================================== --- topia/trunk/src/main/java/org/codelutin/topia/persistence/hibernate/FlatFilePersister.java 2008-10-06 09:42:30 UTC (rev 1155) +++ topia/trunk/src/main/java/org/codelutin/topia/persistence/hibernate/FlatFilePersister.java 2008-10-06 09:44:21 UTC (rev 1156) @@ -33,6 +33,7 @@ import org.hibernate.MappingException; import org.hibernate.cache.CacheConcurrencyStrategy; import org.hibernate.cache.CacheKey; +import org.hibernate.cache.access.EntityRegionAccessStrategy; import org.hibernate.cache.entry.CacheEntryStructure; import org.hibernate.cache.entry.UnstructuredCacheEntry; import org.hibernate.engine.CascadeStyle; @@ -718,4 +719,13 @@ // FIXME a renseigner return null; } + + /* + * @see org.hibernate.persister.entity.EntityPersister#getCacheAccessStrategy() + */ + @Override + public EntityRegionAccessStrategy getCacheAccessStrategy() { + // FIXME a renseigner + return null; + } }
participants (1)
-
chatellierï¼ users.labs.libre-entreprise.org