Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormtaal2008-10-27 13:19:26 +0000
committermtaal2008-10-27 13:19:26 +0000
commit1aecbc085919b82ee0b937e048ee1183b075f034 (patch)
tree2ffcebac9098aa62f99655a9058e50789650b699 /tests
parenta01d0ca297cc59944f63798537546dbd394f6f13 (diff)
downloadorg.eclipse.emf.teneo-1aecbc085919b82ee0b937e048ee1183b075f034.tar.gz
org.eclipse.emf.teneo-1aecbc085919b82ee0b937e048ee1183b075f034.tar.xz
org.eclipse.emf.teneo-1aecbc085919b82ee0b937e048ee1183b075f034.zip
[252178]
[252179] [252180]
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml4
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/HbSequenceIdAction.java6
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/sequenceid.ecore2
5 files changed, 9 insertions, 11 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml
index ad793c6f9..fbcc181f8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_a_o_hibernate.hbm.xml
@@ -49,7 +49,7 @@
<generator class="hilo">
<param name="table">TGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<discriminator column="`dtype`" type="string"/>
@@ -80,7 +80,7 @@
<generator class="hilo">
<param name="table">OTHERTGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<discriminator column="`dtype`" type="string"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml
index 9f4484f11..b71c3c73c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_e_o_hibernate.hbm.xml
@@ -46,7 +46,7 @@
<generator class="hilo">
<param name="table">TGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
@@ -75,7 +75,7 @@
<generator class="hilo">
<param name="table">OTHERTGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml
index 9f4484f11..b71c3c73c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.annotations/IdAction_mysql_s_o_hibernate.hbm.xml
@@ -46,7 +46,7 @@
<generator class="hilo">
<param name="table">TGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
@@ -75,7 +75,7 @@
<generator class="hilo">
<param name="table">OTHERTGEN</param>
<param name="column">VAL_COL</param>
- <param name="max_lo">2</param>
+ <param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/HbSequenceIdAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/HbSequenceIdAction.java
index c6f48fb57..afb0090e7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/HbSequenceIdAction.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/HbSequenceIdAction.java
@@ -11,7 +11,7 @@
* Martin Taal
* </copyright>
*
- * $Id: HbSequenceIdAction.java,v 1.1 2008/10/13 05:35:14 mtaal Exp $
+ * $Id: HbSequenceIdAction.java,v 1.2 2008/10/27 13:19:26 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.test.emf.annotations;
@@ -35,11 +35,9 @@ import org.eclipse.emf.teneo.test.stores.TestStore;
/**
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class HbSequenceIdAction extends AbstractTestAction {
- /** How many test objects are created */
- private static final int NO_TEST_OBJECTS = 10;
// this epackage is actually not tested!
public HbSequenceIdAction() {
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/sequenceid.ecore b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/sequenceid.ecore
index 02113b65d..a0c7c9a9d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/sequenceid.ecore
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/annotations/sequenceid.ecore
@@ -2,7 +2,7 @@
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="id"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/id" nsPrefix="id">
+ nsURI="http://www.eclipse.org/emf/teneo/samples/issues/bz250239" nsPrefix="id">
<eAnnotations source="teneo.jpa">
<details key="appinfo" value="&#x9;&#x9;&#x9;@SequenceStyleGenerator(name=&quot;GENERATORSTYLE&quot; sequenceName=&quot;mySequenceStyle&quot; optimizer=HILO initialValue=5 incrementSize=25)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATOR&quot; sequenceName=&quot;mySequenceName&quot; initialValue=10 allocationSize=100)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATORTWO&quot; sequenceName=&quot;myOtherSequenceName&quot; initialValue=5 allocationSize=50)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;mySequence&quot; sequenceName=&quot;mySequence&quot;)"/>
</eAnnotations>

Back to the top