[seam-commits] Seam SVN: r11535 - branches/community/Seam_2_2/examples/wiki/src/main/org/jboss/seam/wiki/core/model.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Sun Oct 4 05:34:14 EDT 2009
Author: christian.bauer at jboss.com
Date: 2009-10-04 05:34:14 -0400 (Sun, 04 Oct 2009)
New Revision: 11535
Modified:
branches/community/Seam_2_2/examples/wiki/src/main/org/jboss/seam/wiki/core/model/HistoricalWikiFile.hbm.xml
Log:
Minor
Modified: branches/community/Seam_2_2/examples/wiki/src/main/org/jboss/seam/wiki/core/model/HistoricalWikiFile.hbm.xml
===================================================================
--- branches/community/Seam_2_2/examples/wiki/src/main/org/jboss/seam/wiki/core/model/HistoricalWikiFile.hbm.xml 2009-10-03 17:10:59 UTC (rev 11534)
+++ branches/community/Seam_2_2/examples/wiki/src/main/org/jboss/seam/wiki/core/model/HistoricalWikiFile.hbm.xml 2009-10-04 09:34:14 UTC (rev 11535)
@@ -13,8 +13,11 @@
<class name="WikiDocument" entity-name="HistoricalWikiDocument" table="WIKI_DOCUMENT_HISTORY" polymorphism="explicit">
<id name="historicalFileId" column="FILE_HISTORY_ID">
+ <!-- TODO: This has to be replaced for PostgreSQL support, unfortunately Hibernate can't use named generators in hbm.xml -->
<generator class="org.hibernate.id.enhanced.SequenceStyleGenerator">
<param name="sequence_name">WIKI_SEQUENCE</param>
+ <param name="initial_value">1000</param>
+ <param name="increment_size">1</param>
</generator>
</id>
<!-- Mandatory WikiFile properties -->
More information about the seam-commits
mailing list