aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSabine Heider2013-05-03 06:12:22 (EDT)
committertware2013-05-16 10:18:39 (EDT)
commit22c92c358c864f3b79d1cc762f20c13137fb36ce (patch)
treec057e7e1c66a7794bb350c4521a0c05cd6ecef92
parent7ecb5f8abce828b16bd164d1380375925275598f (diff)
downloadeclipselink.runtime-22c92c358c864f3b79d1cc762f20c13137fb36ce.zip
eclipselink.runtime-22c92c358c864f3b79d1cc762f20c13137fb36ce.tar.gz
eclipselink.runtime-22c92c358c864f3b79d1cc762f20c13137fb36ce.tar.bz2
Bug 407156 - JPA test entity Shovel uses ORDINAL mapping for enums
mapped on VARCHAR columns Signed-off-by: Sabine Heider <sabine.heider@sap.com>
-rw-r--r--jpa/eclipselink.jpa.test/resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/jpa/eclipselink.jpa.test/resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml b/jpa/eclipselink.jpa.test/resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml
index f97de86..d820bb9 100644
--- a/jpa/eclipselink.jpa.test/resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml
+++ b/jpa/eclipselink.jpa.test/resource/eclipselinkorm/eclipselink-xml-extended-model/eclipselink-orm.xml
@@ -512,9 +512,15 @@
<embeddable class="ShovelSections" access="VIRTUAL">
<access-methods get-method="getMaterial" set-method="setMaterial"/>
<attributes>
- <basic name="handle" attribute-type="ShovelSections$MaterialType"/>
- <basic name="shaft" attribute-type="ShovelSections$MaterialType"/>
- <basic name="scoop" attribute-type="ShovelSections$MaterialType"/>
+ <basic name="handle" attribute-type="ShovelSections$MaterialType">
+ <enumerated>STRING</enumerated>
+ </basic>
+ <basic name="shaft" attribute-type="ShovelSections$MaterialType">
+ <enumerated>STRING</enumerated>
+ </basic>
+ <basic name="scoop" attribute-type="ShovelSections$MaterialType">
+ <enumerated>STRING</enumerated>
+ </basic>
</attributes>
</embeddable>
<embeddable class="Name" access="FIELD">