Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-01-26 13:50:08 -0500
committerMartin Taal2012-01-26 13:50:08 -0500
commit5e31bb086ef840d511833459e599e7597b6842b4 (patch)
treed5d0f154c3daa7fd1a37d7ea7c3c31bc5c708b51 /tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml
parent9341bbd47c4af01760a6c172ab6e9fe008ac0f81 (diff)
downloadorg.eclipse.emf.teneo-5e31bb086ef840d511833459e599e7597b6842b4.tar.gz
org.eclipse.emf.teneo-5e31bb086ef840d511833459e599e7597b6842b4.tar.xz
org.eclipse.emf.teneo-5e31bb086ef840d511833459e599e7597b6842b4.zip
Fixes issue [368345] - Add support for pooled-lo sequence optimizer
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml
index 7bd9f019d..ddc84c32e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_hsqldb_e_o_hibernate.hbm.xml
@@ -82,4 +82,33 @@
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
</class>
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SequenceIDImpl" entity-name="SequenceID" abstract="false" lazy="false" table="`SEQUENCEID`">
+ <meta attribute="eclassName" inherit="false">SequenceID</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
+ <id name="myid" type="long" unsaved-value="0">
+ <column not-null="true" unique="false" name="`MYID`"/>
+ <generator class="seqhilo">
+ <param name="sequence">mySequenceName</param>
+ <param name="max_lo">99</param>
+ </generator>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ </class>
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SequenceStyleIDImpl" entity-name="SequenceStyleID" abstract="false" lazy="false" table="`SEQUENCESTYLEID`">
+ <meta attribute="eclassName" inherit="false">SequenceStyleID</meta>
+ <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
+ <id name="myid" type="long" unsaved-value="0">
+ <column not-null="true" unique="false" name="`MYID`"/>
+ <generator class="org.hibernate.id.enhanced.SequenceStyleGenerator">
+ <param name="sequence_name">myOtherSequenceName</param>
+ <param name="initial_value">5</param>
+ <param name="increment_size">25</param>
+ </generator>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion" inherit="false">true</meta>
+ </version>
+ </class>
</hibernate-mapping> \ No newline at end of file

Back to the top