Community
Participate
Working Groups
Build Identifier: 1.1.2-v201007191154 I have a schema with two types, OuterRecord and InnerRecord. OuterRecord has a field of type InnerRecord, but I'm using the JPA @Embedded annotation, so the whole thing should be stored in one table. I can use the attached XSD to create the DataStore, no problem. But when I go to insert data, I get a ClassCastException from inside Hibernate. (There is a test case for this in the Appian/Teneo repository on Assembla.) Reproducible: Always Steps to Reproduce: 1. create a data store with the attached XSD 2. convert the supplied XML to an EObject 3. try to save the EObject using a Hibernate session
Created attachment 175860 [details] XSD used to reproduce
Created attachment 175861 [details] EObject to insert into data store
Created attachment 175862 [details] Stack trace from Hibernate
Fix available in cvs, will be in the next build
Fix is available in build of today on interim update site: http://download.eclipse.org/modeling/emf/teneo/updates/1.2.0/interim/