Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2006-10-17 09:42:33 +0000
committermtaal2006-10-17 09:42:33 +0000
commit1aec76cf7795fa6b61e7a8107035f6c9babd6652 (patch)
tree2e809a7e1b040bcc598613b5af5ed2d629df646f /tests/org.eclipse.emf.teneo.hibernate.test
parent00a542edead8ebde9fd48f8e8f2407b531acf23c (diff)
downloadorg.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.tar.gz
org.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.tar.xz
org.eclipse.emf.teneo-1aec76cf7795fa6b61e7a8107035f6c9babd6652.zip
Added test for persisting ecore models itself, rerunned all tests on mssql server.
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_a_o/hibernate.hbm.xml31
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_s_o/hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_a_o/hibernate.hbm.xml25
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_s_o/hibernate.hbm.xml33
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_a_o/hibernate.hbm.xml17
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_s_o/hibernate.hbm.xml16
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_a_o/hibernate.hbm.xml48
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_s_o/hibernate.hbm.xml50
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_a_o/hibernate.hbm.xml41
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_s_o/hibernate.hbm.xml38
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_a_o/hibernate.hbm.xml164
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_s_o/hibernate.hbm.xml163
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_a_o/hibernate.hbm.xml98
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_s_o/hibernate.hbm.xml91
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_a_o/hibernate.hbm.xml71
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_s_o/hibernate.hbm.xml66
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_a_o/hibernate.hbm.xml125
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_s_o/hibernate.hbm.xml125
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_a_o/hibernate.hbm.xml74
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_s_o/hibernate.hbm.xml76
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_a_o/hibernate.hbm.xml27
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_s_o/hibernate.hbm.xml25
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_a_o/hibernate.hbm.xml35
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_s_o/hibernate.hbm.xml32
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_a_o/hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_s_o/hibernate.hbm.xml23
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_a_o/hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_s_o/hibernate.hbm.xml13
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_a_o/hibernate.hbm.xml23
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_s_o/hibernate.hbm.xml22
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_a_o/hibernate.hbm.xml25
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_s_o/hibernate.hbm.xml33
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_a_o/hibernate.hbm.xml29
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_s_o/hibernate.hbm.xml27
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_a_o/hibernate.hbm.xml23
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_s_o/hibernate.hbm.xml22
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_a_o/hibernate.hbm.xml49
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_s_o/hibernate.hbm.xml48
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_a_o/hibernate.hbm.xml15
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_s_o/hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_a_o/hibernate.hbm.xml31
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_s_o/hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_a_o/hibernate.hbm.xml23
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_s_o/hibernate.hbm.xml22
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_a_o/hibernate.hbm.xml66
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_s_o/hibernate.hbm.xml65
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_a_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_s_o/hibernate.hbm.xml18
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_a_o/hibernate.hbm.xml62
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_s_o/hibernate.hbm.xml59
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_a_o/hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_s_o/hibernate.hbm.xml13
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_a_o/hibernate.hbm.xml17
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_s_o/hibernate.hbm.xml15
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_a_o/hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_s_o/hibernate.hbm.xml23
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_a_o/hibernate.hbm.xml49
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_s_o/hibernate.hbm.xml46
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_a_o/hibernate.hbm.xml38
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_s_o/hibernate.hbm.xml36
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_a_o/hibernate.hbm.xml49
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_s_o/hibernate.hbm.xml46
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_a_o/hibernate.hbm.xml34
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_s_o/hibernate.hbm.xml31
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_a_o/hibernate.hbm.xml15
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_s_o/hibernate.hbm.xml14
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_a_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_s_o/hibernate.hbm.xml18
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_a_o/hibernate.hbm.xml42
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_s_o/hibernate.hbm.xml40
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_a_o/hibernate.hbm.xml84
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_s_o/hibernate.hbm.xml80
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_a_o/hibernate.hbm.xml88
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_s_o/hibernate.hbm.xml80
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_a_o/hibernate.hbm.xml146
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_s_o/hibernate.hbm.xml137
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_a_o/hibernate.hbm.xml92
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_s_o/hibernate.hbm.xml88
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_a_o/hibernate.hbm.xml71
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_s_o/hibernate.hbm.xml66
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_a_o/hibernate.hbm.xml31
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_s_o/hibernate.hbm.xml30
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_a_o/hibernate.hbm.xml187
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_s_o/hibernate.hbm.xml234
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_a_o/hibernate.hbm.xml87
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_s_o/hibernate.hbm.xml83
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_a_o/hibernate.hbm.xml39
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_s_o/hibernate.hbm.xml37
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_s_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_a_o/hibernate.hbm.xml154
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_s_o/hibernate.hbm.xml147
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_a_o/hibernate.hbm.xml54
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_s_o/hibernate.hbm.xml51
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_a_o/hibernate.hbm.xml26
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_s_o/hibernate.hbm.xml24
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_a_o/hibernate.hbm.xml77
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_s_o/hibernate.hbm.xml72
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_a_o/hibernate.hbm.xml121
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_s_o/hibernate.hbm.xml166
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_a_o/hibernate.hbm.xml74
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_s_o/hibernate.hbm.xml69
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_a_o/hibernate.hbm.xml92
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_s_o/hibernate.hbm.xml88
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_a_o/hibernate.hbm.xml72
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_s_o/hibernate.hbm.xml77
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml109
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml104
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_a_o/hibernate.hbm.xml29
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_s_o/hibernate.hbm.xml28
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_a_o/hibernate.hbm.xml63
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_s_o/hibernate.hbm.xml61
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_a_o/hibernate.hbm.xml92
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_s_o/hibernate.hbm.xml89
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_a_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_s_o/hibernate.hbm.xml22
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_a_o/hibernate.hbm.xml146
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_s_o/hibernate.hbm.xml143
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_a_o/hibernate.hbm.xml45
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_s_o/hibernate.hbm.xml43
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_a_o/hibernate.hbm.xml85
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_s_o/hibernate.hbm.xml90
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_a_o/hibernate.hbm.xml57
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_s_o/hibernate.hbm.xml63
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_a_o/hibernate.hbm.xml60
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_s_o/hibernate.hbm.xml66
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_a_o/hibernate.hbm.xml21
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_s_o/hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_a_o/hibernate.hbm.xml20
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_s_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_a_o/hibernate.hbm.xml27
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_s_o/hibernate.hbm.xml41
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_a_o/hibernate.hbm.xml17
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_s_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_a_o/hibernate.hbm.xml19
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_s_o/hibernate.hbm.xml17
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_a_o/hibernate.hbm.xml40
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_s_o/hibernate.hbm.xml38
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_a_o/hibernate.hbm.xml62
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_s_o/hibernate.hbm.xml76
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml2
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/dbadapters.properties10
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/local_test.properties6
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java7
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/stores/HibernateTestStore.java6
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/test.ecore855
337 files changed, 10428 insertions, 179 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..37daf0fe3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:04 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="identity"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`">
+ <id name="autoID" type="long">
+ <column not-null="true" unique="false" name="`autod`"/>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="hilo">
+ <param name="table">hilo_table</param>
+ <param name="column">the_hilo_column</param>
+ </generator>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..bd1cafa12
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:00 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="identity"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`">
+ <id name="autoID" type="long">
+ <column not-null="true" unique="false" name="`autod`"/>
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="TableID" abstract="false" lazy="false" table="`tableid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="hilo">
+ <param name="table">hilo_table</param>
+ <param name="column">the_hilo_column</param>
+ </generator>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml
index 18f1aab54..d9b7d38c2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:00 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:58 CEST 2006 -->
<hibernate-mapping>
<class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`">
<id name="myid" type="long" column="`myid`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml
index 8d087f71b..76a778b8d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.HbIdAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:45 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:36 CEST 2006 -->
<hibernate-mapping>
<class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`">
<id name="myid" type="long" column="`myid`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..9694a0c63
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:03 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" discriminator-value="Person" table="`person`">
+ <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
+ <key-property name="firstName" type="java.lang.String" column="`firstname`"/>
+ <key-property name="lastName" type="java.lang.String" column="`lastname`"/>
+ </composite-id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <subclass entity-name="Parent" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ParentImpl" extends="Person" discriminator-value="Parent">
+ <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`myparentfirstname`" not-null="false" unique="false"/>
+ <column name="`myparentlastname`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`parent_children_idx`"/>
+ <one-to-many entity-name="Child"/>
+ </list>
+ </subclass>
+ <subclass entity-name="Child" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ChildImpl" extends="Person" discriminator-value="Child"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..34d20be6a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:19:59 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" table="`person`">
+ <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
+ <key-property name="firstName" type="java.lang.String" column="`firstname`"/>
+ <key-property name="lastName" type="java.lang.String" column="`lastname`"/>
+ </composite-id>
+ <version name="myversion" column="myversion" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <joined-subclass entity-name="Parent" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ParentImpl" extends="Person" table="`parent`">
+ <key>
+ <column name="`person_firstname`"/>
+ <column name="`person_lastname`"/>
+ </key>
+ <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`myparentfirstname`" not-null="false" unique="false"/>
+ <column name="`myparentlastname`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`parent_children_idx`"/>
+ <one-to-many entity-name="Child"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="Child" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.ChildImpl" extends="Person" table="`child`">
+ <key>
+ <column name="`person_firstname`"/>
+ <column name="`person_lastname`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml
index 586a2032b..d6793325c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:00 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:57 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" discriminator-value="Person" table="`person`">
<composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml
index 3ca70e1aa..d37691b73 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.JoinColumnsTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:44 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:35 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.joincolumns.impl.PersonImpl" table="`person`">
<composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..13dc55b67
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`first_name`"/>
+ <column not-null="false" unique="false" name="`last_name`"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..74b29d62b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:10:35 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="org.eclipse.emf.teneo.samples.emf.hibernate.usertype.NameType" lazy="false" not-null="false" insert="true" update="true" unique="false">
+ <column not-null="false" unique="false" name="`first_name`"/>
+ <column not-null="false" unique="false" name="`last_name`"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml
index 00d134e69..8482ba56b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:54 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:49 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml
index ea90f17aa..12c4564ce 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.annotations.UserTypeAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:37 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:27 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..421455aa7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:17 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persons" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`contacts_persons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_persons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="phones" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_phones_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_phones_idx`"/>
+ <one-to-many entity-name="Person_phones"/>
+ </list>
+ </class>
+ <class entity-name="Person_phones" lazy="false" table="`person_phones`">
+ <meta attribute="eclass">Person</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="office" type="java.lang.String" lazy="false" column="`office`" not-null="false"/>
+ <property name="mobile" type="java.lang.String" lazy="false" column="`mobile`" not-null="false"/>
+ <property name="fax" type="java.lang.String" lazy="false" column="`fax`" not-null="false"/>
+ <property name="home" type="java.lang.String" lazy="false" column="`home`" not-null="false"/>
+ </class>
+ <subclass entity-name="SpecialPerson" abstract="false" lazy="false" extends="Person" discriminator-value="SpecialPerson"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f512a5bc2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:14 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persons" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`contacts_persons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_persons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="phones" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_phones_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_phones_idx`"/>
+ <one-to-many entity-name="Person_phones"/>
+ </list>
+ </class>
+ <class entity-name="Person_phones" lazy="false" table="`person_phones`">
+ <meta attribute="eclass">Person</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="office" type="java.lang.String" lazy="false" column="`office`" not-null="false"/>
+ <property name="mobile" type="java.lang.String" lazy="false" column="`mobile`" not-null="false"/>
+ <property name="fax" type="java.lang.String" lazy="false" column="`fax`" not-null="false"/>
+ <property name="home" type="java.lang.String" lazy="false" column="`home`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="SpecialPerson" abstract="false" lazy="false" extends="Person" table="`specialperson`">
+ <key>
+ <column name="`person_id`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml
index 93bc38535..654d97ead 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:09 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:10 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml
index 1a2f5d3fb..b0a9aa3ac 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachFeatureMapTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:08 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:07 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..e38e27281
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:16 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="TestA" abstract="false" lazy="false" discriminator-value="TestA" table="`testa`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ <many-to-one name="testB" entity-name="TestB" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`testb_testb_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TestB" abstract="false" lazy="false" discriminator-value="TestB" table="`testb`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ </class>
+ <class entity-name="TestC" abstract="false" lazy="false" discriminator-value="TestC" table="`testc`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ <property name="myDate" type="serializable" lazy="false" column="`mydate`" not-null="true"/>
+ <list name="testB" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`testc_testb_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`testc_testb_idx`"/>
+ <one-to-many entity-name="TestB"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..ad9e839c3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:14 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="TestA" abstract="false" lazy="false" table="`testa`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ <many-to-one name="testB" entity-name="TestB" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`testb_testb_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TestB" abstract="false" lazy="false" table="`testb`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ </class>
+ <class entity-name="TestC" abstract="false" lazy="false" table="`testc`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="true"/>
+ <property name="myDate" type="serializable" lazy="false" column="`mydate`" not-null="true"/>
+ <list name="testB" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`testc_testb_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`testc_testb_idx`"/>
+ <one-to-many entity-name="TestB"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml
index eff1ec1c6..0449cec45 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:09 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="TestA" abstract="false" lazy="false" discriminator-value="TestA" table="`testa`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml
index 904357872..3a2e74c6e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.detach.DetachTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:07 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:06 CEST 2006 -->
<hibernate-mapping>
<class entity-name="TestA" abstract="false" lazy="false" table="`testa`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..84e09beaa
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:28 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Account" abstract="true" lazy="false" discriminator-value="Account" table="`account`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="AccountGroup" abstract="false" lazy="false" discriminator-value="AccountGroup" table="`accountgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="account" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accountgroup_account_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accountgroup_account_idx`"/>
+ <one-to-many entity-name="Account"/>
+ </list>
+ </class>
+ <class entity-name="Accounting" abstract="false" lazy="false" discriminator-value="Accounting" table="`accounting`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="accountGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_accountgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_accountgroup_idx`"/>
+ <one-to-many entity-name="AccountGroup"/>
+ </list>
+ <list name="vat" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_vat_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_vat_idx`"/>
+ <one-to-many entity-name="Vat"/>
+ </list>
+ <many-to-one name="vatAccount" entity-name="BalanceAccount" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`balanceaccount_vataccount_id`"/>
+ </many-to-one>
+ <many-to-one name="report" entity-name="Report" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`report_report_id`"/>
+ </many-to-one>
+ <list name="journalGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_journalgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_journalgroup_idx`"/>
+ <one-to-many entity-name="JournalGroup"/>
+ </list>
+ </class>
+ <subclass entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" discriminator-value="BalanceAccount">
+ <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="balanceaccount_reportgroup">
+ <key update="true">
+ <column name="`balanceaccount_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`balanceaccount_report_idx`"/>
+ <many-to-many entity-name="ReportGroup" unique="false">
+ <column name="`reportgroup_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </subclass>
+ <class entity-name="JournalGroup" abstract="false" lazy="false" discriminator-value="JournalGroup" table="`journalgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="journalGroups" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`journalgroup_journalgroups_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`journalgroup_journalgroups_idx`"/>
+ <one-to-many entity-name="JournalGroup"/>
+ </list>
+ <list name="journalStatements" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`journalgroup_journalstatements_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`journalgroup_journalstatements_idx`"/>
+ <one-to-many entity-name="JournalStatement"/>
+ </list>
+ </class>
+ <class entity-name="JournalStatement" abstract="false" lazy="false" discriminator-value="JournalStatement" table="`journalstatement`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <property name="date" type="date" lazy="false" column="`date`" not-null="true" unique="false"/>
+ <property name="amount" type="float" lazy="false" column="`amount`" not-null="false"/>
+ <many-to-one name="debitAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`account_debitaccount_id`"/>
+ </many-to-one>
+ <many-to-one name="creditAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`account_creditaccount_id`"/>
+ </many-to-one>
+ <many-to-one name="vat" entity-name="Vat" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`vat_vat_id`"/>
+ </many-to-one>
+ </class>
+ <subclass entity-name="PLAccount" abstract="false" lazy="false" extends="Account" discriminator-value="PLAccount"/>
+ <class entity-name="Report" abstract="false" lazy="false" discriminator-value="Report" table="`report`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="debitReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_id`"/>
+ </many-to-one>
+ <many-to-one name="creditReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`reportgroup_creditreportgroup_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ReportGroup" abstract="false" lazy="false" discriminator-value="ReportGroup" table="`reportgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="reportGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`reportgroup_reportgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`reportgroup_reportgroup_idx`"/>
+ <one-to-many entity-name="ReportGroup"/>
+ </list>
+ <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="reportgroup_balanceaccount">
+ <key update="true">
+ <column name="`reportgroup_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`reportgroup_account_idx`"/>
+ <many-to-many entity-name="BalanceAccount" unique="false">
+ <column name="`balanceaccount_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Vat" abstract="false" lazy="false" discriminator-value="Vat" table="`vat`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="rate" type="float" lazy="false" column="`rate`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..acf1f34a4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:44 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Account" abstract="true" lazy="false" table="`account`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="AccountGroup" abstract="false" lazy="false" table="`accountgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="account" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accountgroup_account_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accountgroup_account_idx`"/>
+ <one-to-many entity-name="Account"/>
+ </list>
+ </class>
+ <class entity-name="Accounting" abstract="false" lazy="false" table="`accounting`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="accountGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_accountgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_accountgroup_idx`"/>
+ <one-to-many entity-name="AccountGroup"/>
+ </list>
+ <list name="vat" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_vat_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_vat_idx`"/>
+ <one-to-many entity-name="Vat"/>
+ </list>
+ <many-to-one name="vatAccount" entity-name="BalanceAccount" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`balanceaccount_vataccount_id`"/>
+ </many-to-one>
+ <many-to-one name="report" entity-name="Report" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`report_report_id`"/>
+ </many-to-one>
+ <list name="journalGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`accounting_journalgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`accounting_journalgroup_idx`"/>
+ <one-to-many entity-name="JournalGroup"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="BalanceAccount" abstract="false" lazy="false" extends="Account" table="`balanceaccount`">
+ <key>
+ <column name="`account_id`"/>
+ </key>
+ <list name="report" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="balanceaccount_reportgroup">
+ <key update="true">
+ <column name="`balanceaccount_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`balanceaccount_report_idx`"/>
+ <many-to-many entity-name="ReportGroup" unique="false">
+ <column name="`reportgroup_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </joined-subclass>
+ <class entity-name="JournalGroup" abstract="false" lazy="false" table="`journalgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="journalGroups" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`journalgroup_journalgroups_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`journalgroup_journalgroups_idx`"/>
+ <one-to-many entity-name="JournalGroup"/>
+ </list>
+ <list name="journalStatements" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`journalgroup_journalstatements_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`journalgroup_journalstatements_idx`"/>
+ <one-to-many entity-name="JournalStatement"/>
+ </list>
+ </class>
+ <class entity-name="JournalStatement" abstract="false" lazy="false" table="`journalstatement`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <property name="date" type="date" lazy="false" column="`date`" not-null="true" unique="false"/>
+ <property name="amount" type="float" lazy="false" column="`amount`" not-null="false"/>
+ <many-to-one name="debitAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`account_debitaccount_id`"/>
+ </many-to-one>
+ <many-to-one name="creditAccount" entity-name="Account" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`account_creditaccount_id`"/>
+ </many-to-one>
+ <many-to-one name="vat" entity-name="Vat" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`vat_vat_id`"/>
+ </many-to-one>
+ </class>
+ <joined-subclass entity-name="PLAccount" abstract="false" lazy="false" extends="Account" table="`placcount`">
+ <key>
+ <column name="`account_id`"/>
+ </key>
+ </joined-subclass>
+ <class entity-name="Report" abstract="false" lazy="false" table="`report`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="debitReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`reportgroup_debitreportgroup_id`"/>
+ </many-to-one>
+ <many-to-one name="creditReportGroup" entity-name="ReportGroup" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`reportgroup_creditreportgroup_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ReportGroup" abstract="false" lazy="false" table="`reportgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="reportGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`reportgroup_reportgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`reportgroup_reportgroup_idx`"/>
+ <one-to-many entity-name="ReportGroup"/>
+ </list>
+ <list name="account" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="reportgroup_balanceaccount">
+ <key update="true">
+ <column name="`reportgroup_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`reportgroup_account_idx`"/>
+ <many-to-many entity-name="BalanceAccount" unique="false">
+ <column name="`balanceaccount_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Vat" abstract="false" lazy="false" table="`vat`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="rate" type="float" lazy="false" column="`rate`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml
index ef5f4add7..a1205b846 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:51 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:12 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Account" abstract="true" lazy="false" discriminator-value="Account" table="`account`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml
index c28ecb087..052120d8a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:26 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:36 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Account" abstract="true" lazy="false" table="`account`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..199ad1df2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:27 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CapacityEntry" abstract="false" lazy="false" discriminator-value="CapacityEntry" table="`capacityentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="capacityEntryId" type="java.lang.String" lazy="false" column="`capacityentryid`" not-null="false"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+ <class entity-name="Machine" abstract="false" lazy="false" discriminator-value="Machine" table="`machine`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="workWeek" entity-name="WorkWeek" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`workweek_workweek_id`"/>
+ </many-to-one>
+ <property name="machineId" type="java.lang.String" lazy="false" column="`machineid`" not-null="false"/>
+ <property name="machineSearchString" type="java.lang.String" lazy="false" column="`machinesearchstring`" not-null="false"/>
+ <property name="multiplicity" type="int" lazy="false" column="`multiplicity`" not-null="false"/>
+ <property name="taskSearchString" type="java.lang.String" lazy="false" column="`tasksearchstring`" not-null="false"/>
+ </class>
+ <class entity-name="MachineList" abstract="false" lazy="false" discriminator-value="MachineList" table="`machinelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="machines" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`machinelist_machines_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`machinelist_machines_idx`"/>
+ <one-to-many entity-name="Machine"/>
+ </list>
+ </class>
+ <class entity-name="Production" abstract="false" lazy="false" discriminator-value="Production" table="`production`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="article" type="java.lang.String" lazy="false" column="`article`" not-null="false"/>
+ <property name="dueTime" type="serializable" lazy="false" column="`duetime`" not-null="false"/>
+ <property name="missingAmount" type="float" lazy="false" column="`missingamount`" not-null="false"/>
+ <property name="productionId" type="java.lang.String" lazy="false" column="`productionid`" not-null="false"/>
+ <property name="startTime" type="serializable" lazy="false" column="`starttime`" not-null="false"/>
+ <property name="totalAmount" type="float" lazy="false" column="`totalamount`" not-null="false"/>
+ </class>
+ <class entity-name="Task" abstract="false" lazy="false" discriminator-value="Task" table="`task`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="capacityEntry" entity-name="CapacityEntry" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`capacityentry_capacityentry_id`"/>
+ </many-to-one>
+ <many-to-one name="production" entity-name="Production" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`production_production_id`"/>
+ </many-to-one>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="taskId" type="java.lang.String" lazy="false" column="`taskid`" not-null="false"/>
+ <property name="timePerPice" type="float" lazy="false" column="`timeperpice`" not-null="false"/>
+ <property name="timePerPreperation" type="float" lazy="false" column="`timeperpreperation`" not-null="false"/>
+ </class>
+ <class entity-name="WorkDay" abstract="false" lazy="false" discriminator-value="WorkDay" table="`workday`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="dayOfWeek" type="int" lazy="false" column="`dayofweek`" not-null="false"/>
+ <property name="duration" type="int" lazy="false" column="`duration`" not-null="false"/>
+ <property name="startTime" type="int" lazy="false" column="`starttime`" not-null="false"/>
+ </class>
+ <class entity-name="WorkWeek" abstract="false" lazy="false" discriminator-value="WorkWeek" table="`workweek`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="days" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`workweek_days_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workweek_days_idx`"/>
+ <one-to-many entity-name="WorkDay"/>
+ </list>
+ <property name="workWeekId" type="java.lang.String" lazy="false" column="`workweekid`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..943ac76cd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:42 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="capacityEntryId" type="java.lang.String" lazy="false" column="`capacityentryid`" not-null="false"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+ <class entity-name="Machine" abstract="false" lazy="false" table="`machine`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="workWeek" entity-name="WorkWeek" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`workweek_workweek_id`"/>
+ </many-to-one>
+ <property name="machineId" type="java.lang.String" lazy="false" column="`machineid`" not-null="false"/>
+ <property name="machineSearchString" type="java.lang.String" lazy="false" column="`machinesearchstring`" not-null="false"/>
+ <property name="multiplicity" type="int" lazy="false" column="`multiplicity`" not-null="false"/>
+ <property name="taskSearchString" type="java.lang.String" lazy="false" column="`tasksearchstring`" not-null="false"/>
+ </class>
+ <class entity-name="MachineList" abstract="false" lazy="false" table="`machinelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="machines" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`machinelist_machines_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`machinelist_machines_idx`"/>
+ <one-to-many entity-name="Machine"/>
+ </list>
+ </class>
+ <class entity-name="Production" abstract="false" lazy="false" table="`production`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="article" type="java.lang.String" lazy="false" column="`article`" not-null="false"/>
+ <property name="dueTime" type="serializable" lazy="false" column="`duetime`" not-null="false"/>
+ <property name="missingAmount" type="float" lazy="false" column="`missingamount`" not-null="false"/>
+ <property name="productionId" type="java.lang.String" lazy="false" column="`productionid`" not-null="false"/>
+ <property name="startTime" type="serializable" lazy="false" column="`starttime`" not-null="false"/>
+ <property name="totalAmount" type="float" lazy="false" column="`totalamount`" not-null="false"/>
+ </class>
+ <class entity-name="Task" abstract="false" lazy="false" table="`task`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="capacityEntry" entity-name="CapacityEntry" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`capacityentry_capacityentry_id`"/>
+ </many-to-one>
+ <many-to-one name="production" entity-name="Production" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`production_production_id`"/>
+ </many-to-one>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="taskId" type="java.lang.String" lazy="false" column="`taskid`" not-null="false"/>
+ <property name="timePerPice" type="float" lazy="false" column="`timeperpice`" not-null="false"/>
+ <property name="timePerPreperation" type="float" lazy="false" column="`timeperpreperation`" not-null="false"/>
+ </class>
+ <class entity-name="WorkDay" abstract="false" lazy="false" table="`workday`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="dayOfWeek" type="int" lazy="false" column="`dayofweek`" not-null="false"/>
+ <property name="duration" type="int" lazy="false" column="`duration`" not-null="false"/>
+ <property name="startTime" type="int" lazy="false" column="`starttime`" not-null="false"/>
+ </class>
+ <class entity-name="WorkWeek" abstract="false" lazy="false" table="`workweek`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="days" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`workweek_days_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workweek_days_idx`"/>
+ <one-to-many entity-name="WorkDay"/>
+ </list>
+ <property name="workWeekId" type="java.lang.String" lazy="false" column="`workweekid`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml
index 1de3cc781..24803ec04 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:49 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CapacityEntry" abstract="false" lazy="false" discriminator-value="CapacityEntry" table="`capacityentry`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml
index 3952f68dc..4baaee460 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:24 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:33 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..708cc2596
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:34 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_subcatalog_idx`"/>
+ <one-to-many entity-name="CatalogType"/>
+ </list>
+ <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_product_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_product_idx`"/>
+ <one-to-many entity-name="ProductType"/>
+ </list>
+ </class>
+ <class entity-name="PriceType" abstract="false" lazy="false" discriminator-value="PriceType" table="`pricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantityTo" type="double" lazy="false" column="`quantityto`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`">
+ <id name="code" type="java.lang.String" column="`code`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <list name="remark" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_remark_code`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_remark_idx`"/>
+ <one-to-many entity-name="StringType"/>
+ </list>
+ <many-to-one name="price" entity-name="PriceType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`pricetype_price_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="StringType" abstract="false" lazy="false" discriminator-value="StringType" table="`stringtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..944974dc5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:52 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_subcatalog_idx`"/>
+ <one-to-many entity-name="CatalogType"/>
+ </list>
+ <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_product_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_product_idx`"/>
+ <one-to-many entity-name="ProductType"/>
+ </list>
+ </class>
+ <class entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantityTo" type="double" lazy="false" column="`quantityto`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`">
+ <id name="code" type="java.lang.String" column="`code`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <list name="remark" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_remark_code`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_remark_idx`"/>
+ <one-to-many entity-name="StringType"/>
+ </list>
+ <many-to-one name="price" entity-name="PriceType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`pricetype_price_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="StringType" abstract="false" lazy="false" table="`stringtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml
index eb923f8ef..cba7aee55 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:58 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:19 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml
index 0aebe469e..4b4a3271b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:31 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:44 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b7b78163e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:27 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..4c98effbc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:43 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml
index e746966b3..cedb54aed 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:50 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml
index 33b0d22f1..423e404e5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:25 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:34 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7f4911791
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:58 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="order" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_order_id`"/>
+ </many-to-one>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="false"/>
+ <property name="quantity" type="int" lazy="false" column="`quantity`" not-null="false"/>
+ <property name="USPrice" type="int" lazy="false" column="`usprice`" not-null="false"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="shipDate" type="date" lazy="false" column="`shipdate`" not-null="false" unique="true"/>
+ <property name="partNum" type="java.lang.String" lazy="false" column="`partnum`" not-null="false"/>
+ </class>
+ <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="false"/>
+ </class>
+ <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress">
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="false"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="false"/>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="false"/>
+ <property name="zip" type="int" lazy="false" column="`zip`" not-null="false"/>
+ </subclass>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="items" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`item_order_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`purchaseorder_items_idx`"/>
+ <one-to-many entity-name="Item"/>
+ </list>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="orderDate" type="date" lazy="false" column="`orderdate`" not-null="false" unique="true"/>
+ <property name="status" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`status`" not-null="false" unique="true">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param>
+ </type>
+ </property>
+ <many-to-one name="customer" entity-name="Customer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_customer_id`"/>
+ </many-to-one>
+ <many-to-one name="previousOrder" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_previousorder_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="customers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_customers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_customers_idx`"/>
+ <one-to-many entity-name="Customer"/>
+ </list>
+ <list name="orders" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_orders_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_orders_idx`"/>
+ <one-to-many entity-name="PurchaseOrder"/>
+ </list>
+ </class>
+ <class entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="customerID" type="int" lazy="false" column="`customerid`" not-null="false"/>
+ <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`purchaseorder_customer_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`customer_orders_idx`"/>
+ <one-to-many entity-name="PurchaseOrder"/>
+ </list>
+ </class>
+ <subclass entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" discriminator-value="GlobalAddress">
+ <property name="countryCode" type="int" lazy="false" column="`countrycode`" not-null="false"/>
+ <list name="location" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`globaladdress_location_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`globaladdress_location_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </subclass>
+ <class entity-name="GlobalLocation" abstract="false" lazy="false" discriminator-value="GlobalLocation" table="`globallocation`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="countryCode" type="int" lazy="false" column="`countrycode`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..53a76c6b5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="order" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_order_id`"/>
+ </many-to-one>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="false"/>
+ <property name="quantity" type="int" lazy="false" column="`quantity`" not-null="false"/>
+ <property name="USPrice" type="int" lazy="false" column="`usprice`" not-null="false"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="shipDate" type="date" lazy="false" column="`shipdate`" not-null="false" unique="true"/>
+ <property name="partNum" type="java.lang.String" lazy="false" column="`partnum`" not-null="false"/>
+ </class>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="false"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="false"/>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="false"/>
+ <property name="zip" type="int" lazy="false" column="`zip`" not-null="false"/>
+ </joined-subclass>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="items" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`item_order_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`purchaseorder_items_idx`"/>
+ <one-to-many entity-name="Item"/>
+ </list>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="orderDate" type="date" lazy="false" column="`orderdate`" not-null="false" unique="true"/>
+ <property name="status" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`status`" not-null="false" unique="true">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param>
+ </type>
+ </property>
+ <many-to-one name="customer" entity-name="Customer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_customer_id`"/>
+ </many-to-one>
+ <many-to-one name="previousOrder" entity-name="PurchaseOrder" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_previousorder_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Supplier" abstract="false" lazy="false" table="`supplier`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="customers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_customers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_customers_idx`"/>
+ <one-to-many entity-name="Customer"/>
+ </list>
+ <list name="orders" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_orders_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_orders_idx`"/>
+ <one-to-many entity-name="PurchaseOrder"/>
+ </list>
+ </class>
+ <class entity-name="Customer" abstract="false" lazy="false" table="`customer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="customerID" type="int" lazy="false" column="`customerid`" not-null="false"/>
+ <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`purchaseorder_customer_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`customer_orders_idx`"/>
+ <one-to-many entity-name="PurchaseOrder"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" table="`globaladdress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="countryCode" type="int" lazy="false" column="`countrycode`" not-null="false"/>
+ <list name="location" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`globaladdress_location_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`globaladdress_location_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </joined-subclass>
+ <class entity-name="GlobalLocation" abstract="false" lazy="false" table="`globallocation`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="countryCode" type="int" lazy="false" column="`countrycode`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml
index 786281055..8e0b7e72f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:05 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:30 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml
index 978fc1248..16b9c2204 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:39 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:57 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" table="`item`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6048f1343
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:24 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f1a18de09
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:39 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml
index 2093a935d..ad76138a8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:46 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:06 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml
index 878814e23..20c43eac3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:21 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:29 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..2569a8ece
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:33 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..a71357350
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:50 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml
index 83432eadc..54d2bbff3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:57 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:18 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml
index 7df682e71..f21443cb7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:30 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7953325a5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:53 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7c08469b6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:17 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml
index 3f0134ec5..db699f3fc 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:01 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:24 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml
index 2a1d25dd7..c399cf9fd 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:34 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:49 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c6ed7457c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:34 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="false"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="true">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Asset" abstract="false" lazy="false" discriminator-value="Asset" table="`asset`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="float" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <subclass entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" discriminator-value="SchoolBook">
+ <property name="value" type="float" lazy="false" column="`value`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" discriminator-value="SchoolLibrary">
+ <property name="location" type="java.lang.String" lazy="false" column="`location`" not-null="false"/>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..593fbcfd0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:51 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="false"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="true">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Asset" abstract="false" lazy="false" table="`asset`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="float" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="SchoolBook" abstract="false" lazy="false" extends="Book" table="`schoolbook`">
+ <key>
+ <column name="`book_id`"/>
+ </key>
+ <property name="value" type="float" lazy="false" column="`value`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="SchoolLibrary" abstract="false" lazy="false" extends="Library" table="`schoollibrary`">
+ <key>
+ <column name="`library_id`"/>
+ </key>
+ <property name="location" type="java.lang.String" lazy="false" column="`location`" not-null="false"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml
index af66ee043..c70f05883 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:58 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:18 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml
index e93387797..16493b625 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:30 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..2af4f1963
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:12 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`">
+ <id name="id" type="java.lang.String" column="`id`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="b" type="long" lazy="false" column="`b`" not-null="false"/>
+ <property name="c" type="java.lang.String" lazy="false" column="`c`" not-null="false"/>
+ <property name="comment" type="double" lazy="false" column="`comment`" not-null="false"/>
+ <property name="d" type="java.lang.String" lazy="false" column="`d`" not-null="true"/>
+ <many-to-one name="myR" entity-name="R" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`r_myr_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="R" abstract="false" lazy="false" discriminator-value="R" table="`r`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..0604ce9ce
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:05 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="A" abstract="false" lazy="false" table="`a`">
+ <id name="id" type="java.lang.String" column="`id`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="b" type="long" lazy="false" column="`b`" not-null="false"/>
+ <property name="c" type="java.lang.String" lazy="false" column="`c`" not-null="false"/>
+ <property name="comment" type="double" lazy="false" column="`comment`" not-null="false"/>
+ <property name="d" type="java.lang.String" lazy="false" column="`d`" not-null="true"/>
+ <many-to-one name="myR" entity-name="R" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`r_myr_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="R" abstract="false" lazy="false" table="`r`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml
index 383af7664..4e1853c90 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:59 CEST 2006 -->
<hibernate-mapping>
<class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`">
<id name="id" type="java.lang.String" column="`id`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml
index e2160c66d..e18f3b839 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs.AttributesTest$1/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:13 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="A" abstract="false" lazy="false" table="`a`">
<id name="id" type="java.lang.String" column="`id`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8f2b739d2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:27:38 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="myid" column="myid">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="postalCode" type="java.lang.String" lazy="false" column="`postalcode`" not-null="true"/>
+ </class>
+ <class entity-name="Employee" abstract="false" lazy="false" discriminator-value="Employee" table="`employee`">
+ <id name="id" type="long" column="`id`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`employee_address_id`"/>
+ </many-to-one>
+ <property name="department" type="java.lang.String" lazy="false" column="`department`" not-null="true"/>
+ </class>
+ <class entity-name="Student" abstract="false" lazy="false" discriminator-value="Student" table="`student`">
+ <id name="id" type="long" column="`id`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_address_id`"/>
+ </many-to-one>
+ <property name="faculty" type="java.lang.String" lazy="false" column="`faculty`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c36d3d520
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:18:55 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" table="`address`">
+ <id type="long" name="myid" column="myid">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="postalCode" type="java.lang.String" lazy="false" column="`postalcode`" not-null="true"/>
+ </class>
+ <class entity-name="Employee" abstract="false" lazy="false" table="`employee`">
+ <id name="id" type="long" column="`id`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`employee_address_id`"/>
+ </many-to-one>
+ <property name="department" type="java.lang.String" lazy="false" column="`department`" not-null="true"/>
+ </class>
+ <class entity-name="Student" abstract="false" lazy="false" table="`student`">
+ <id name="id" type="long" column="`id`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="address" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_address_id`"/>
+ </many-to-one>
+ <property name="faculty" type="java.lang.String" lazy="false" column="`faculty`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml
index 4bf48c5e6..363bc7b60 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:59 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:57 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="myid" column="myid">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml
index 17d670ce7..d6c512e2d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AssociationOverrideAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:43 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:35 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" table="`address`">
<id type="long" name="myid" column="myid">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d41b9ae82
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:11 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <component name="bornIn" class="City">
+ <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`bornnamecolumn`"/>
+ </property>
+ <property name="country" type="java.lang.String" lazy="false" column="`bornin_country`" not-null="false"/>
+ </component>
+ <component name="livesIn" class="City">
+ <property name="name" type="java.lang.String" lazy="false" column="`livesin_name`" not-null="false"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`livesin_country`" not-null="false"/>
+ </component>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..4d717cd2c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <component name="bornIn" class="City">
+ <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`bornnamecolumn`"/>
+ </property>
+ <property name="country" type="java.lang.String" lazy="false" column="`bornin_country`" not-null="false"/>
+ </component>
+ <component name="livesIn" class="City">
+ <property name="name" type="java.lang.String" lazy="false" column="`livesin_name`" not-null="false"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`livesin_country`" not-null="false"/>
+ </component>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml
index aad67383e..27f44ec66 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:06 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:04 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml
index 988f82ffe..4172be349 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.AttributeOverridesAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:50 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:44 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..778315b3f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:07 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Basic" abstract="false" lazy="false" discriminator-value="Basic" table="`basic`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="myVersion" type="long"/>
+ <property name="myOptionalBasic" type="java.lang.String" lazy="false" column="`myoptionalbasic`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6340f5f88
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:03 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Basic" abstract="false" lazy="false" table="`basic`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="myVersion" type="long"/>
+ <property name="myOptionalBasic" type="java.lang.String" lazy="false" column="`myoptionalbasic`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml
index 753ab3413..af0261785 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:02 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Basic" abstract="false" lazy="false" discriminator-value="Basic" table="`basic`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml
index 5ce10e7c4..4b59a043a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BasicAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:46 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:39 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Basic" abstract="false" lazy="false" table="`basic`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5467546e8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:21:12 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="true">
+ <column not-null="false" unique="true" name="`titel`" length="25"/>
+ </property>
+ <property name="pages" type="int" lazy="false" insert="false" update="false" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`pages`"/>
+ </property>
+ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/>
+ </property>
+ <property name="author" type="java.lang.String" lazy="false" column="`author`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..980b0ef78
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:12:00 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="true">
+ <column not-null="false" unique="true" name="`titel`" length="25"/>
+ </property>
+ <property name="pages" type="int" lazy="false" insert="false" update="false" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`pages`"/>
+ </property>
+ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/>
+ </property>
+ <property name="author" type="java.lang.String" lazy="false" column="`author`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml
index 448392377..dd0a9ab73 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:55 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:50 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml
index 3f9788f23..16f8adde4 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.BookAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:39 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:28 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..899f694f0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:08 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..cdc2faf21
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:03 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh,delete">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml
index 537350dde..0e58edbb5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:03 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:01 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml
index 712936641..43264ed68 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CascadeNotallAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:47 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:40 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..447ddf644
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:09 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" discriminator-value="Person" table="`person`">
+ <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
+ <key-property name="firstName" type="java.lang.String" column="`firstname`"/>
+ <key-property name="lastName" type="java.lang.String" column="`lastname`"/>
+ </composite-id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <subclass entity-name="Parent" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" extends="Person" discriminator-value="Parent">
+ <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`parent_children_firstname`" not-null="false" unique="false"/>
+ <column name="`parent_children_lastname`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`parent_children_idx`"/>
+ <one-to-many entity-name="Child"/>
+ </list>
+ </subclass>
+ <subclass entity-name="Child" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ChildImpl" extends="Person" discriminator-value="Child"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d53ac93e5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:04 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" table="`person`">
+ <composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
+ <key-property name="firstName" type="java.lang.String" column="`firstname`"/>
+ <key-property name="lastName" type="java.lang.String" column="`lastname`"/>
+ </composite-id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <joined-subclass entity-name="Parent" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" extends="Person" table="`parent`">
+ <key>
+ <column name="`person_firstname`"/>
+ <column name="`person_lastname`"/>
+ </key>
+ <list name="children" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`parent_children_firstname`" not-null="false" unique="false"/>
+ <column name="`parent_children_lastname`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`parent_children_idx`"/>
+ <one-to-many entity-name="Child"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="Child" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ChildImpl" extends="Person" table="`child`">
+ <key>
+ <column name="`person_firstname`"/>
+ <column name="`person_lastname`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml
index 8478749c9..809d69596 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:04 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:01 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" discriminator-value="Person" table="`person`">
<composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml
index 3720fd2f4..542c2fb6f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.CompositeIdAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:47 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:41 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.PersonImpl" table="`person`">
<composite-id class="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID" mapped="true">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..11153e25a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:08 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ChildItem" abstract="false" lazy="false" discriminator-value="ChildItem" table="`childitem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="childItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`item_childitem_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`item_childitem_idx`"/>
+ <one-to-many entity-name="ChildItem"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6d249ffb7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:10:29 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ChildItem" abstract="false" lazy="false" table="`childitem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="childItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`item_childitem_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`item_childitem_idx`"/>
+ <one-to-many entity-name="ChildItem"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml
index a0694a474..a998798ea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:51 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:45 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ChildItem" abstract="false" lazy="false" discriminator-value="ChildItem" table="`childitem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml
index b6ddcb24e..ff15f12d6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.DuplicatesAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:29 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:18 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ChildItem" abstract="false" lazy="false" table="`childitem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..21c8ccc62
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:21:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="true">
+ <column not-null="false" unique="true" name="`titel`" length="25"/>
+ </property>
+ <property name="pages" type="int" lazy="false" insert="false" update="false" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`pages`"/>
+ </property>
+ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/>
+ </property>
+ <property name="author" type="java.lang.String" lazy="false" column="`author`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..980b0ef78
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:12:00 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="true">
+ <column not-null="false" unique="true" name="`titel`" length="25"/>
+ </property>
+ <property name="pages" type="int" lazy="false" insert="false" update="false" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`pages`"/>
+ </property>
+ <property name="weight" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`gewicht`" precision="5" scale="2"/>
+ </property>
+ <property name="author" type="java.lang.String" lazy="false" column="`author`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml
index 448392377..d58db89a0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:55 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:51 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`mybooktable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml
index 3f9788f23..6f27dd801 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EDataTypeAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:39 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:29 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`mybooktable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..170e604cd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Embedder" abstract="false" lazy="false" discriminator-value="Embedder" table="`embedder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <component name="firstEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring3`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" column="`firstembedded_myinteger`" not-null="false"/>
+ </component>
+ <component name="secondEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring1`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`columninteger1`"/>
+ </property>
+ </component>
+ <component name="thirdEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring2`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`columninteger2`"/>
+ </property>
+ </component>
+ <list name="fourthEmbedded" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`embedder_fourthembedded_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`embedder_fourthembedded_idx`"/>
+ <composite-element class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" column="`mystring`" not-null="true"/>
+ <property name="myInteger" type="int" lazy="false" column="`myinteger`" not-null="false"/>
+ </composite-element>
+ </list>
+ <component name="fifthEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" column="`fifthembedded_mystring`" not-null="true"/>
+ <property name="myInteger" type="int" lazy="false" column="`fifthembedded_myinteger`" not-null="false"/>
+ </component>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..ad93eca21
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:05 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Embedder" abstract="false" lazy="false" table="`embedder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <component name="firstEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring3`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" column="`firstembedded_myinteger`" not-null="false"/>
+ </component>
+ <component name="secondEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring1`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`columninteger1`"/>
+ </property>
+ </component>
+ <component name="thirdEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`columnstring2`"/>
+ </property>
+ <property name="myInteger" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`columninteger2`"/>
+ </property>
+ </component>
+ <list name="fourthEmbedded" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`embedder_fourthembedded_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`embedder_fourthembedded_idx`"/>
+ <composite-element class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" column="`mystring`" not-null="true"/>
+ <property name="myInteger" type="int" lazy="false" column="`myinteger`" not-null="false"/>
+ </composite-element>
+ </list>
+ <component name="fifthEmbedded" class="Embeddable">
+ <property name="myString" type="java.lang.String" lazy="false" column="`fifthembedded_mystring`" not-null="true"/>
+ <property name="myInteger" type="int" lazy="false" column="`fifthembedded_myinteger`" not-null="false"/>
+ </component>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml
index 6a4915bde..91434852e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:05 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:02 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Embedder" abstract="false" lazy="false" discriminator-value="Embedder" table="`embedder`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml
index e594a2d57..1dd984083 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:49 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:42 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Embedder" abstract="false" lazy="false" table="`embedder`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..41e46c98d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" discriminator-value="Person" table="`person`">
+ <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl">
+ <key-property name="firstName" column="`firstname`" type="java.lang.String"/>
+ <key-property name="lastName" column="`lastname`" type="java.lang.String"/>
+ </composite-id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="address" type="text" lazy="false" column="`address`" not-null="false" unique="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..bbd74d969
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:08 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" table="`person`">
+ <composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl">
+ <key-property name="firstName" column="`firstname`" type="java.lang.String"/>
+ <key-property name="lastName" column="`lastname`" type="java.lang.String"/>
+ </composite-id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="address" type="text" lazy="false" column="`address`" not-null="false" unique="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml
index 6361bd566..63871742d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:06 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" discriminator-value="Person" table="`person`">
<composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml
index ccb452e52..2a980b3ac 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.EmbeddedIdAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:51 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:45 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" name="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.PersonImpl" table="`person`">
<composite-id name="name" class="org.eclipse.emf.teneo.samples.emf.annotations.embeddedid.impl.NameImpl">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..408e235c2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="identity"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`">
+ <id name="autoID" type="long">
+ <column not-null="true" unique="false" name="`autod`"/>
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="hilo">
+ <param name="table">uid_table</param>
+ <param name="column">next_hi_value_column</param>
+ </generator>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..ab4a0680c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:01 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="identity"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`">
+ <id name="autoID" type="long">
+ <column not-null="true" unique="false" name="`autod`"/>
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="TableID" abstract="false" lazy="false" table="`tableid`">
+ <id name="myid" type="long" column="`myid`">
+ <generator class="hilo">
+ <param name="table">uid_table</param>
+ <param name="column">next_hi_value_column</param>
+ </generator>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml
index b29a1b31e..2a5f48155 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:01 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:58 CEST 2006 -->
<hibernate-mapping>
<class entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`">
<id name="myid" type="long" column="`myid`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml
index 1336c0b4d..fc47080ea 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:45 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:36 CEST 2006 -->
<hibernate-mapping>
<class entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`">
<id name="myid" type="long" column="`myid`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..3241e8a85
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:22:39 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <idbag name="roles" lazy="true" cascade="all,delete-orphan">
+ <collection-id column="ID" type="long">
+ <generator class="increment"/>
+ </collection-id>
+ <key update="true">
+ <column name="`user_roles_id`" not-null="true" unique="false"/>
+ </key>
+ <element type="java.lang.String"/>
+ </idbag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..bcf3373b7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:13:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="User" abstract="false" lazy="false" table="`user`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <idbag name="roles" lazy="true" cascade="all,delete-orphan">
+ <collection-id column="ID" type="long">
+ <generator class="increment"/>
+ </collection-id>
+ <key update="true">
+ <column name="`user_roles_id`" not-null="true" unique="false"/>
+ </key>
+ <element type="java.lang.String"/>
+ </idbag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml
index 6776b5a61..c4fcbeb87 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:56 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:51 CEST 2006 -->
<hibernate-mapping>
<class entity-name="User" abstract="false" lazy="false" discriminator-value="User" table="`user`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml
index 5f83cf6f6..ade1a3f2e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.IdBagAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:40 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:30 CEST 2006 -->
<hibernate-mapping>
<class entity-name="User" abstract="false" lazy="false" table="`user`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..46b6df9cb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="ContentList" abstract="false" lazy="false" discriminator-value="ContentList" table="`contentlist`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contentlist_address_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contentlist_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contentlist_price_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contentlist_price_idx`"/>
+ <one-to-many entity-name="Price"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`">
+ <key>
+ <column name="`address_name`"/>
+ </key>
+ <property name="postcode" type="java.lang.String" lazy="false" column="`postcode`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`">
+ <key>
+ <column name="`ukaddress_name`"/>
+ </key>
+ <property name="district" type="java.lang.String" lazy="false" column="`district`" not-null="false"/>
+ </joined-subclass>
+ <class entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`discriminator`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="value" type="java.math.BigDecimal" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <subclass entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice">
+ <property name="currency" type="java.lang.String" lazy="false" column="`currency`" not-null="false"/>
+ </subclass>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_name`"/>
+ </key>
+ <property name="state" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`state`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param>
+ </type>
+ </property>
+ <property name="zip" type="java.math.BigInteger" lazy="false" column="`zip`" not-null="false"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..424890b9f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:10:34 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contentlist_address_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contentlist_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ <list name="price" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contentlist_price_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contentlist_price_idx`"/>
+ <one-to-many entity-name="Price"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`">
+ <key>
+ <column name="`address_name`"/>
+ </key>
+ <property name="postcode" type="java.lang.String" lazy="false" column="`postcode`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`">
+ <key>
+ <column name="`ukaddress_name`"/>
+ </key>
+ <property name="district" type="java.lang.String" lazy="false" column="`district`" not-null="false"/>
+ </joined-subclass>
+ <class entity-name="Price" abstract="false" lazy="false" discriminator-value="myPrice" table="`myprice`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`discriminator`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="value" type="java.math.BigDecimal" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <subclass entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice">
+ <property name="currency" type="java.lang.String" lazy="false" column="`currency`" not-null="false"/>
+ </subclass>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_name`"/>
+ </key>
+ <property name="state" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`state`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param>
+ </type>
+ </property>
+ <property name="zip" type="java.math.BigInteger" lazy="false" column="`zip`" not-null="false"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml
index 7523831aa..7626cb666 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:52 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:47 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" table="`address`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
index 4d7556c30..88da91df0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:35 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:25 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" table="`address`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c0a3c2141
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5e35c174a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:10:34 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.lazy.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml
index 8c4ee6032..0f5e7681a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:53 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:48 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml
index 1a1b0b1b4..903cd439d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LazyLibraryAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:36 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:26 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..564ea7da2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:11 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="id" type="long" lazy="false" column="`id`" not-null="false"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="address" type="text" lazy="false" column="`address`" not-null="false" unique="false"/>
+ <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`photo`" length="1000000"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c48b0a44b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:07 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="id" type="long" lazy="false" column="`id`" not-null="false"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="address" type="text" lazy="false" column="`address`" not-null="false" unique="false"/>
+ <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`photo`" length="1000000"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml
index 1aedbb21e..ebd5a5914 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:06 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml
index ac53eb31c..0fb64d10c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.LobAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:50 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:45 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c5548f153
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:26:20 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Cntr" abstract="false" lazy="false" discriminator-value="Cntr" table="`cntr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" inverse="true" table="RightCenter">
+ <key update="true">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="Rght" unique="false">
+ <column name="`rght_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ <list name="lft" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="cntr_lft">
+ <key update="true">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`cntr_lft_idx`"/>
+ <many-to-many entity-name="Lft" unique="false">
+ <column name="`lft_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Lft" abstract="false" lazy="false" discriminator-value="Lft" table="`lft`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="lft_cntr">
+ <key update="true">
+ <column name="`lft_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`lft_cntr_idx`"/>
+ <many-to-many entity-name="Cntr" unique="false">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Rght" abstract="false" lazy="false" discriminator-value="Rght" table="`rght`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="rght_cntr">
+ <key update="true">
+ <column name="`rght_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`rght_cntr_idx`"/>
+ <many-to-many entity-name="Cntr" unique="false">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f4febdd28
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:17:30 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Cntr" abstract="false" lazy="false" table="`cntr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <bag name="rght" lazy="false" cascade="merge,persist,save-update,lock" inverse="true" table="RightCenter">
+ <key update="true">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="Rght" unique="false">
+ <column name="`rght_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ <list name="lft" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="cntr_lft">
+ <key update="true">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`cntr_lft_idx`"/>
+ <many-to-many entity-name="Lft" unique="false">
+ <column name="`lft_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Lft" abstract="false" lazy="false" table="`lft`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock" table="lft_cntr">
+ <key update="true">
+ <column name="`lft_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`lft_cntr_idx`"/>
+ <many-to-many entity-name="Cntr" unique="false">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="Rght" abstract="false" lazy="false" table="`rght`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="cntr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="rght_cntr">
+ <key update="true">
+ <column name="`rght_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`rght_cntr_idx`"/>
+ <many-to-many entity-name="Cntr" unique="false">
+ <column name="`cntr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml
index 65a085413..e4f4e7c65 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:57 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:53 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Cntr" abstract="false" lazy="false" discriminator-value="Cntr" table="`cntr`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml
index 877b49d5a..e8dd86e71 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ManyToManyAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:42 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:32 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Cntr" abstract="false" lazy="false" table="`cntr`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6d0cc5f7a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="SpecificDocument" abstract="false" lazy="false" discriminator-value="SpecificDocument" table="`specificdocument`">
+ <id name="myId" type="long" column="`myid`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="myName" type="java.lang.String" lazy="false" column="`myname`" not-null="false"/>
+ <property name="myGenericInfo" type="java.lang.String" lazy="false" column="`mygenericinfo`" not-null="false"/>
+ <property name="mySpecificInfo" type="java.lang.String" lazy="false" column="`myspecificinfo`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7627e7483
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:01 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="SpecificDocument" abstract="false" lazy="false" table="`specificdocument`">
+ <id name="myId" type="long" column="`myid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="myName" type="java.lang.String" lazy="false" column="`myname`" not-null="true"/>
+ <property name="myGenericInfo" type="java.lang.String" lazy="false" column="`mygenericinfo`" not-null="true"/>
+ <property name="mySpecificInfo" type="java.lang.String" lazy="false" column="`myspecificinfo`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml
index b7a61d907..8d922bbd6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:01 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:58 CEST 2006 -->
<hibernate-mapping>
<class entity-name="SpecificDocument" abstract="false" lazy="false" discriminator-value="SpecificDocument" table="`specificdocument`">
<id name="myId" type="long" column="`myid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml
index 4ed34e2f1..d64d1106a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.MappedSuperClassAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:45 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:37 CEST 2006 -->
<hibernate-mapping>
<class entity-name="SpecificDocument" abstract="false" lazy="false" table="`specificdocument`">
<id name="myId" type="long" column="`myid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b528f72aa
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:09 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`">
+ <id name="theID" type="long" column="`theid`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <one-to-one name="head" entity-name="Head" cascade="all" lazy="false" constrained="true"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`">
+ <id name="myID" type="long" column="`myid`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..fe1bb9709
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:04 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Body" abstract="false" lazy="false" table="`body`">
+ <id name="theID" type="long" column="`theid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <one-to-one name="head" entity-name="Head" cascade="all" lazy="false" constrained="true"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" table="`head`">
+ <id name="myID" type="long" column="`myid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml
index cd00edfd7..14ceb2340 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:04 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:02 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`">
<id name="theID" type="long" column="`theid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml
index b3629fecf..60d60408c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.PKeyJoinAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:48 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:42 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Body" abstract="false" lazy="false" table="`body`">
<id name="theID" type="long" column="`theid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..2add813e8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:25:28 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`">
+ <id name="id" type="long" column="`ID`"/>
+ <discriminator column="`DTYPE`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`NAME`" not-null="true"/>
+ <join table="`PERSON_ADDRESS`">
+ <key column="`ID`"/>
+ <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`ADDRESS`"/>
+ </property>
+ </join>
+ <join table="`PERSON_PHOTO`">
+ <key column="`ID`"/>
+ <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/>
+ </property>
+ </join>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f430ad257
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:16:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`PERSON`">
+ <id name="id" type="long" column="`ID`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`NAME`" not-null="true"/>
+ <join table="`PERSON_ADDRESS`">
+ <key column="`ID`"/>
+ <property name="address" type="text" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`ADDRESS`"/>
+ </property>
+ </join>
+ <join table="`PERSON_PHOTO`">
+ <key column="`ID`"/>
+ <property name="photo" type="binary" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`PHOTO`" length="1000000"/>
+ </property>
+ </join>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml
index fb5e37444..c4b359429 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:57 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:52 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`PERSON`">
<id name="id" type="long" column="`ID`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml
index e9c98f0fc..821735c7f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SecondarytableHibernateAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:41 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:31 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`PERSON`">
<id name="id" type="long" column="`ID`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8bf361dab
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_itemlist_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ItemList" abstract="false" lazy="false" discriminator-value="ItemList" table="`itemlist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="containedItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`itemlist_containeditem_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="ContainedItem"/>
+ </bag>
+ <bag name="item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`item_itemlist_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="Item"/>
+ </bag>
+ <bag name="joinedItem" table="itemlist_item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Item" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..4c32039ba
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:02 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_itemlist_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ItemList" abstract="false" lazy="false" table="`itemlist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="containedItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`itemlist_containeditem_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="ContainedItem"/>
+ </bag>
+ <bag name="item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`item_itemlist_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="Item"/>
+ </bag>
+ <bag name="joinedItem" table="itemlist_item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Item" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml
index 8fd6b5a0c..2746193af 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:01 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:58 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml
index 0bbdeb5b9..7c4a2909f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:45 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:37 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..dd071996a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="MyItem" abstract="false" lazy="false" discriminator-value="MyItem" table="`myitem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="youritem_myitem">
+ <key update="true">
+ <column name="`myitem_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="YourItem" unique="false">
+ <column name="`youritem_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ </class>
+ <class entity-name="YourItem" abstract="false" lazy="false" discriminator-value="YourItem" table="`youritem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="youritem_myitem">
+ <key update="true">
+ <column name="`youritem_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="MyItem" unique="false">
+ <column name="`myitem_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b008d73a5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="MyItem" abstract="false" lazy="false" table="`myitem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="yourItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="youritem_myitem">
+ <key update="true">
+ <column name="`myitem_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="YourItem" unique="false">
+ <column name="`youritem_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ </class>
+ <class entity-name="YourItem" abstract="false" lazy="false" table="`youritem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="myItem" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="youritem_myitem">
+ <key update="true">
+ <column name="`youritem_id`" not-null="true" unique="false"/>
+ </key>
+ <many-to-many entity-name="MyItem" unique="false">
+ <column name="`myitem_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml
index f41ef900c..08f6b704b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:05 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:04 CEST 2006 -->
<hibernate-mapping>
<class entity-name="MyItem" abstract="false" lazy="false" discriminator-value="MyItem" table="`myitem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml
index 3803451f1..dc6d60175 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetNMAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:50 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="MyItem" abstract="false" lazy="false" table="`myitem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d7bb4bdea
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_itemlist_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ItemList" abstract="false" lazy="false" discriminator-value="ItemList" table="`itemlist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="containedItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`itemlist_containeditem_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="ContainedItem"/>
+ </bag>
+ <bag name="item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`item_itemlist_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="Item"/>
+ </bag>
+ <bag name="joinedItem" table="itemlist_item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Item" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..15e06c9dd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:05 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="itemList" entity-name="ItemList" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`item_itemlist_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ItemList" abstract="false" lazy="false" table="`itemlist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <bag name="containedItem" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`itemlist_containeditem_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="ContainedItem"/>
+ </bag>
+ <bag name="item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`item_itemlist_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="Item"/>
+ </bag>
+ <bag name="joinedItem" table="itemlist_item" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Item" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml
index bfa45479c..fe4fe1efd 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:05 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:03 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedItem" abstract="false" lazy="false" discriminator-value="ContainedItem" table="`containeditem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml
index c75b08b49..22eb1a877 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.SetResourceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:49 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedItem" abstract="false" lazy="false" table="`containeditem`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..483d4136c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:21:12 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="hairColor" type="java.lang.String" lazy="false" column="`haircolor`" not-null="true"/>
+ <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="address" entity-name="Address" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_address_id`"/>
+ </many-to-one>
+ <one-to-one name="head" entity-name="Head" cascade="all" lazy="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8e6b07bdb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:11:59 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" table="`head`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="hairColor" type="java.lang.String" lazy="false" column="`haircolor`" not-null="true"/>
+ <many-to-one name="person" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="address" entity-name="Address" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_address_id`"/>
+ </many-to-one>
+ <one-to-one name="head" entity-name="Head" cascade="all" lazy="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml
index 8417c58ac..9fa3a2cf0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:54 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:49 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml
index b14d9fdfc..7d5480e8e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.ToOneAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:38 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:28 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8f68451c4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:07 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`">
+ <id name="theID" type="long" column="`theid`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head">
+ <id name="myID" type="long" column="`myid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5a17046f1
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:02 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Body" abstract="false" lazy="false" table="`body`">
+ <id name="theID" type="long" column="`theid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="Head" abstract="false" lazy="false" table="`head`">
+ <id name="myID" type="long" column="`myid`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml
index dab9b5526..039aa9d0b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:02 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:59 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Body" abstract="false" lazy="false" discriminator-value="Body" table="`body`">
<id name="theID" type="long" column="`theid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml
index 39944caf1..bd846e518 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.TransientAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:46 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:39 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Body" abstract="false" lazy="false" table="`body`">
<id name="theID" type="long" column="`theid`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d27277740
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:20:09 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`myitemtable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`mystr`" unique-key="c0"/>
+ </property>
+ <property name="age" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`myint`" unique-key="c0"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..49a1fc07b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:10:32 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" table="`myitemtable`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="false" unique="false" name="`mystr`" unique-key="c0"/>
+ </property>
+ <property name="age" type="int" lazy="false" insert="true" update="true" not-null="false" unique="false">
+ <column not-null="false" unique="false" name="`myint`" unique-key="c0"/>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml
index 24f4b5aaa..ccde0b04d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:51 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:46 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`myitemtable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml
index 30a676f21..00f268611 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.UniqueConstraintsAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:56:33 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:46:22 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" table="`myitemtable`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..56cafded9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:16 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persons" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contacts_persons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_persons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ <list name="containedPersons" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`contacts_containedpersons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_containedpersons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="children" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_children_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_children_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..08198818d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persons" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`contacts_persons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_persons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ <list name="containedPersons" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`contacts_containedpersons_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`contacts_containedpersons_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="children" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_children_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_children_idx`"/>
+ <one-to-many entity-name="Person"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml
index 86ca12ca5..0fdaf8572 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:08 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:08 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Contacts" abstract="false" lazy="false" discriminator-value="Contacts" table="`contacts`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml
index 97c5bf249..5e41072c8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.detach.DetachEListAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:07 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Contacts" abstract="false" lazy="false" table="`contacts`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d3b31f230
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PriceByQuantityType" abstract="false" lazy="false" discriminator-value="PriceByQuantityType" table="`pricebyquantitytype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantity" type="double" lazy="false" column="`quantity`" not-null="false"/>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_group_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_group_idx`"/>
+ <one-to-many entity-name="ProductType_group"/>
+ </list>
+ <property name="productClassification" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`productclassification`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param>
+ </type>
+ </property>
+ <list name="group1" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_group1_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_group1_idx`"/>
+ <one-to-many entity-name="ProductType_group1"/>
+ </list>
+ </class>
+ <class entity-name="ProductType_group" lazy="false" table="`producttype_group`">
+ <meta attribute="eclass">ProductType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`translateddescriptiontype_translateddescription_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`">
+ <meta attribute="eclass">ProductType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`pricebyquantitytype_pricebyquantity_id`"/>
+ </many-to-one>
+ <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`supplierpricetype_pricefromsupplier_id`"/>
+ </many-to-one>
+ <property name="simplePrice" type="double" lazy="false" column="`simpleprice`" not-null="false"/>
+ </class>
+ <class entity-name="SupplierPriceType" abstract="false" lazy="false" discriminator-value="SupplierPriceType" table="`supplierpricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ </class>
+ <class entity-name="TranslatedDescriptionType" abstract="false" lazy="false" discriminator-value="TranslatedDescriptionType" table="`translateddescriptiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <property name="language" type="java.lang.String" lazy="false" column="`language`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..63f49e794
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:18 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantity" type="double" lazy="false" column="`quantity`" not-null="false"/>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_group_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_group_idx`"/>
+ <one-to-many entity-name="ProductType_group"/>
+ </list>
+ <property name="productClassification" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`productclassification`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.elist.featuremap.ProductClassification</param>
+ </type>
+ </property>
+ <list name="group1" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_group1_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_group1_idx`"/>
+ <one-to-many entity-name="ProductType_group1"/>
+ </list>
+ </class>
+ <class entity-name="ProductType_group" lazy="false" table="`producttype_group`">
+ <meta attribute="eclass">ProductType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <many-to-one name="translatedDescription" entity-name="TranslatedDescriptionType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`translateddescriptiontype_translateddescription_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType_group1" lazy="false" table="`producttype_group1`">
+ <meta attribute="eclass">ProductType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="priceByQuantity" entity-name="PriceByQuantityType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`pricebyquantitytype_pricebyquantity_id`"/>
+ </many-to-one>
+ <many-to-one name="priceFromSupplier" entity-name="SupplierPriceType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`supplierpricetype_pricefromsupplier_id`"/>
+ </many-to-one>
+ <property name="simplePrice" type="double" lazy="false" column="`simpleprice`" not-null="false"/>
+ </class>
+ <class entity-name="SupplierPriceType" abstract="false" lazy="false" table="`supplierpricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ </class>
+ <class entity-name="TranslatedDescriptionType" abstract="false" lazy="false" table="`translateddescriptiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <property name="language" type="java.lang.String" lazy="false" column="`language`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml
index fd680631e..1a7a8895d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:11 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:13 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PriceByQuantityType" abstract="false" lazy="false" discriminator-value="PriceByQuantityType" table="`pricebyquantitytype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml
index 923720205..cb6193ce7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.elist.FeatureMapAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:10 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PriceByQuantityType" abstract="false" lazy="false" table="`pricebyquantitytype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..9940d0a77
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:23 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedChildNR" abstract="false" lazy="false" discriminator-value="ContainedChildNR" table="`containedchildnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="ContainedChildR" abstract="false" lazy="false" discriminator-value="ContainedChildR" table="`containedchildr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`containedchildr_containedonewayrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="containedoneWaynotrequired" entity-name="ContainedChildNR" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`containedchildnr_containedonewaynotrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedonewayrequired" entity-name="NotContainedChildR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`notcontainedchildr_notcontainedonewayrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedonewaynotrequired" entity-name="NotContainedChildNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`notcontainedchildnr_notcontainedonewaynotrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedtwowaynotrequired" entity-name="NotContainedChildNRT" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ <many-to-one name="notcontainedtwowayrequirednr" entity-name="NotContainedChildRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ <many-to-one name="notcontainedtwowaynotrequirednr" entity-name="NotContainedChildNRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </class>
+ <class entity-name="NotContainedChildNR" abstract="false" lazy="false" discriminator-value="NotContainedChildNR" table="`notcontainedchildnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="NotContainedChildNRT" abstract="false" lazy="false" discriminator-value="NotContainedChildNRT" table="`notcontainedchildnrt`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+ <class entity-name="NotContainedChildNRTNR" abstract="false" lazy="false" discriminator-value="NotContainedChildNRTNR" table="`notcontainedchildnrtnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+ <class entity-name="NotContainedChildR" abstract="false" lazy="false" discriminator-value="NotContainedChildR" table="`notcontainedchildr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="NotContainedChildRTNR" abstract="false" lazy="false" discriminator-value="NotContainedChildRTNR" table="`notcontainedchildrtnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..864fae467
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:20 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ContainedChildNR" abstract="false" lazy="false" table="`containedchildnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="ContainedChildR" abstract="false" lazy="false" table="`containedchildr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Main" abstract="false" lazy="false" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="containedonewayrequired" entity-name="ContainedChildR" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`containedchildr_containedonewayrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="containedoneWaynotrequired" entity-name="ContainedChildNR" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`containedchildnr_containedonewaynotrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedonewayrequired" entity-name="NotContainedChildR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`notcontainedchildr_notcontainedonewayrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedonewaynotrequired" entity-name="NotContainedChildNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`notcontainedchildnr_notcontainedonewaynotrequired_id`"/>
+ </many-to-one>
+ <many-to-one name="notcontainedtwowaynotrequired" entity-name="NotContainedChildNRT" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ <many-to-one name="notcontainedtwowayrequirednr" entity-name="NotContainedChildRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ <many-to-one name="notcontainedtwowaynotrequirednr" entity-name="NotContainedChildNRTNR" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </class>
+ <class entity-name="NotContainedChildNR" abstract="false" lazy="false" table="`notcontainedchildnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="NotContainedChildNRT" abstract="false" lazy="false" table="`notcontainedchildnrt`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+ <class entity-name="NotContainedChildNRTNR" abstract="false" lazy="false" table="`notcontainedchildnrtnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+ <class entity-name="NotContainedChildR" abstract="false" lazy="false" table="`notcontainedchildr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="NotContainedChildRTNR" abstract="false" lazy="false" table="`notcontainedchildrtnr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <one-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml
index 39506a68e..0b0fb7c6a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:16 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:23 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedChildNR" abstract="false" lazy="false" discriminator-value="ContainedChildNR" table="`containedchildnr`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml
index 0638f0344..69d709c84 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1to1Action/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:12 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:14 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ContainedChildNR" abstract="false" lazy="false" table="`containedchildnr`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..31d10c323
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:25 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="onecr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecr_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecr_idx`"/>
+ <one-to-many entity-name="OneCR"/>
+ </list>
+ <list name="onecn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecn_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecn_idx`"/>
+ <one-to-many entity-name="OneCN"/>
+ </list>
+ <list name="onenr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenr_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenr_idx`"/>
+ <one-to-many entity-name="OneNR"/>
+ </list>
+ <list name="onenn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenn_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenn_idx`"/>
+ <one-to-many entity-name="OneNN"/>
+ </list>
+ <list name="twocr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocr_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocr_idx`"/>
+ <one-to-many entity-name="TwoCR"/>
+ </list>
+ <list name="twocn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocn_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocn_idx`"/>
+ <one-to-many entity-name="TwoCN"/>
+ </list>
+ <list name="twonr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonr_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonr_idx`"/>
+ <one-to-many entity-name="TwoNR"/>
+ </list>
+ <list name="twonn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonn_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonn_idx`"/>
+ <one-to-many entity-name="TwoNN"/>
+ </list>
+ </class>
+ <class entity-name="OneCN" abstract="false" lazy="false" discriminator-value="OneCN" table="`onecn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneCR" abstract="false" lazy="false" discriminator-value="OneCR" table="`onecr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneNN" abstract="false" lazy="false" discriminator-value="OneNN" table="`onenn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneNR" abstract="false" lazy="false" discriminator-value="OneNR" table="`onenr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="TwoCN" abstract="false" lazy="false" discriminator-value="TwoCN" table="`twocn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocn_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoCR" abstract="false" lazy="false" discriminator-value="TwoCR" table="`twocr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocr_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNN" abstract="false" lazy="false" discriminator-value="TwoNN" table="`twonn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonn_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNR" abstract="false" lazy="false" discriminator-value="TwoNR" table="`twonr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonr_main_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f76746268
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Main" abstract="false" lazy="false" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="onecr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecr_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecr_idx`"/>
+ <one-to-many entity-name="OneCR"/>
+ </list>
+ <list name="onecn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`main_onecn_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onecn_idx`"/>
+ <one-to-many entity-name="OneCN"/>
+ </list>
+ <list name="onenr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenr_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenr_idx`"/>
+ <one-to-many entity-name="OneNR"/>
+ </list>
+ <list name="onenn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`main_onenn_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_onenn_idx`"/>
+ <one-to-many entity-name="OneNN"/>
+ </list>
+ <list name="twocr" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocr_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocr_idx`"/>
+ <one-to-many entity-name="TwoCR"/>
+ </list>
+ <list name="twocn" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`twocn_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twocn_idx`"/>
+ <one-to-many entity-name="TwoCN"/>
+ </list>
+ <list name="twonr" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonr_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonr_idx`"/>
+ <one-to-many entity-name="TwoNR"/>
+ </list>
+ <list name="twonn" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`twonn_main_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`main_twonn_idx`"/>
+ <one-to-many entity-name="TwoNN"/>
+ </list>
+ </class>
+ <class entity-name="OneCN" abstract="false" lazy="false" table="`onecn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneCR" abstract="false" lazy="false" table="`onecr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneNN" abstract="false" lazy="false" table="`onenn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="OneNR" abstract="false" lazy="false" table="`onenr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="TwoCN" abstract="false" lazy="false" table="`twocn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocn_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoCR" abstract="false" lazy="false" table="`twocr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twocr_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNN" abstract="false" lazy="false" table="`twonn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonn_main_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="TwoNR" abstract="false" lazy="false" table="`twonr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="main" entity-name="Main" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`twonr_main_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml
index 7d6b6acdc..15c5ac32d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:18 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:25 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml
index 545937eb6..0feec6825 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.Relation1tonAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:14 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:18 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Main" abstract="false" lazy="false" table="`main`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..434b51760
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:27 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinr">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multinr_idx`"/>
+ <many-to-many entity-name="MultiNR" unique="false">
+ <column name="`multinr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ <list name="multirn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multirn">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multirn_idx`"/>
+ <many-to-many entity-name="MultiRN" unique="false">
+ <column name="`multirn_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ <list name="multinn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinn">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multinn_idx`"/>
+ <many-to-many entity-name="MultiNN" unique="false">
+ <column name="`multinn_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiNN" abstract="false" lazy="false" discriminator-value="MultiNN" table="`multinn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinn_main">
+ <key update="true">
+ <column name="`multinn_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multinn_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiNR" abstract="false" lazy="false" discriminator-value="MultiNR" table="`multinr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinr_main">
+ <key update="true">
+ <column name="`multinr_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multinr_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiRN" abstract="false" lazy="false" discriminator-value="MultiRN" table="`multirn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multirn_main">
+ <key update="true">
+ <column name="`multirn_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multirn_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..524453332
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Main" abstract="false" lazy="false" table="`main`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinr">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multinr_idx`"/>
+ <many-to-many entity-name="MultiNR" unique="false">
+ <column name="`multinr_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ <list name="multirn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multirn">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multirn_idx`"/>
+ <many-to-many entity-name="MultiRN" unique="false">
+ <column name="`multirn_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ <list name="multinn" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="main_multinn">
+ <key update="true">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`main_multinn_idx`"/>
+ <many-to-many entity-name="MultiNN" unique="false">
+ <column name="`multinn_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiNN" abstract="false" lazy="false" table="`multinn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinn_main">
+ <key update="true">
+ <column name="`multinn_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multinn_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiNR" abstract="false" lazy="false" table="`multinr`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multinr_main">
+ <key update="true">
+ <column name="`multinr_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multinr_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="MultiRN" abstract="false" lazy="false" table="`multirn`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="multirn_main">
+ <key update="true">
+ <column name="`multirn_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`multirn_main_idx`"/>
+ <many-to-many entity-name="Main" unique="false">
+ <column name="`main_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml
index a5c123b7f..941b5fb49 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:19 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:27 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`main`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml
index b35078a5a..71821f95c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.relation.RelationntomAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:15 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:20 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Main" abstract="false" lazy="false" table="`main`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..28d5505ab
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:54 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_subcatalog_idx`"/>
+ <one-to-many entity-name="CatalogType"/>
+ </list>
+ <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_product_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_product_idx`"/>
+ <one-to-many entity-name="ProductType"/>
+ </list>
+ </class>
+ <class entity-name="PriceType" abstract="false" lazy="false" discriminator-value="PriceType" table="`pricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantityTo" type="double" lazy="false" column="`quantityto`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`">
+ <id name="code" type="java.lang.String" column="`code`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <list name="remark" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_remark_code`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_remark_idx`"/>
+ <one-to-many entity-name="StringType"/>
+ </list>
+ <many-to-one name="price" entity-name="PriceType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`pricetype_price_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="StringType" abstract="false" lazy="false" discriminator-value="StringType" table="`stringtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d8945f628
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:18 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="true"/>
+ <list name="subCatalog" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_subcatalog_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_subcatalog_idx`"/>
+ <one-to-many entity-name="CatalogType"/>
+ </list>
+ <list name="product" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`catalogtype_product_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`catalogtype_product_idx`"/>
+ <one-to-many entity-name="ProductType"/>
+ </list>
+ </class>
+ <class entity-name="PriceType" abstract="false" lazy="false" table="`pricetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="quantityTo" type="double" lazy="false" column="`quantityto`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`">
+ <id name="code" type="java.lang.String" column="`code`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <list name="remark" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`producttype_remark_code`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`producttype_remark_idx`"/>
+ <one-to-many entity-name="StringType"/>
+ </list>
+ <many-to-one name="price" entity-name="PriceType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`pricetype_price_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="StringType" abstract="false" lazy="false" table="`stringtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml
index 0acc4028c..6ca6d92cb 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:01 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:24 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml
index cd189d9f3..3687a422c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:34 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:49 CEST 2006 -->
<hibernate-mapping>
<class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..94a5102e8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:24 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_group_idx`"/>
+ <one-to-many entity-name="Person_group"/>
+ </list>
+ </class>
+ <class entity-name="Person_group" lazy="false" table="`person_group`">
+ <meta attribute="eclass">Person</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="age" type="int" lazy="false" column="`age`" not-null="false"/>
+ <property name="length" type="int" lazy="false" column="`length`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5390c0d2a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:40 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_group_idx`"/>
+ <one-to-many entity-name="Person_group"/>
+ </list>
+ </class>
+ <class entity-name="Person_group" lazy="false" table="`person_group`">
+ <meta attribute="eclass">Person</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="age" type="int" lazy="false" column="`age`" not-null="false"/>
+ <property name="length" type="int" lazy="false" column="`length`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml
index 9029e1f52..beb42fc4e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:46 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:07 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml
index ff42220d3..9366e9193 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:21 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:30 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6e1a43d25
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:23 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="EObject" abstract="false" lazy="false" discriminator-value="EObject" table="`eobject`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <subclass entity-name="EModelElement" abstract="true" lazy="false" extends="EObject" discriminator-value="EModelElement">
+ <list name="eAnnotations" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_emodelelement_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`emodelelement_eannotations_idx`"/>
+ <one-to-many entity-name="EAnnotation"/>
+ </list>
+ </subclass>
+ <subclass entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" discriminator-value="ENamedElement">
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="ETypedElement">
+ <property name="ordered" type="boolean" lazy="false" column="`ordered`" not-null="false"/>
+ <property name="unique" type="boolean" lazy="false" column="`unique`" not-null="false"/>
+ <property name="lowerBound" type="int" lazy="false" column="`lowerbound`" not-null="false"/>
+ <property name="upperBound" type="int" lazy="false" column="`upperbound`" not-null="false"/>
+ <many-to-one name="eType" entity-name="EClassifier" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`eclassifier_etype_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" discriminator-value="EStructuralFeature">
+ <property name="changeable" type="boolean" lazy="false" column="`changeable`" not-null="false"/>
+ <property name="volatile" type="boolean" lazy="false" column="`volatile`" not-null="false"/>
+ <property name="transient" type="boolean" lazy="false" column="`transient`" not-null="false"/>
+ <property name="defaultValueLiteral" type="java.lang.String" lazy="false" column="`defaultvalueliteral`" not-null="false"/>
+ <property name="unsettable" type="boolean" lazy="false" column="`unsettable`" not-null="false"/>
+ <property name="derived" type="boolean" lazy="false" column="`derived`" not-null="false"/>
+ <many-to-one name="eContainingClass" entity-name="EClass" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`estructuralfeature_econtainingclass_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EAttribute">
+ <property name="iD" type="boolean" lazy="false" column="`id`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EAnnotation">
+ <property name="source" type="java.lang.String" lazy="false" column="`source`" not-null="false"/>
+ <list name="details" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_details_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_details_idx`"/>
+ <one-to-many entity-name="EStringToStringMapEntry"/>
+ </list>
+ <many-to-one name="eModelElement" entity-name="EModelElement" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eannotation_emodelelement_id`"/>
+ </many-to-one>
+ <list name="contents" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_contents_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_contents_idx`"/>
+ <one-to-many entity-name="EObject"/>
+ </list>
+ <list name="references" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eannotation_references_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_references_idx`"/>
+ <one-to-many entity-name="EObject"/>
+ </list>
+ </subclass>
+ <subclass entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" discriminator-value="EClassifier">
+ <property name="instanceClassName" type="java.lang.String" lazy="false" column="`instanceclassname`" not-null="false"/>
+ <many-to-one name="ePackage" entity-name="EPackage" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eclassifier_epackage_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EClass">
+ <property name="abstract" type="boolean" lazy="false" column="`abstract`" not-null="false"/>
+ <property name="interface" type="boolean" lazy="false" column="`interface`" not-null="false"/>
+ <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eclass_esupertypes_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_esupertypes_idx`"/>
+ <one-to-many entity-name="EClass"/>
+ </list>
+ <list name="eOperations" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eoperation_econtainingclass_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_eoperations_idx`"/>
+ <one-to-many entity-name="EOperation"/>
+ </list>
+ <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`estructuralfeature_econtainingclass_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_estructuralfeatures_idx`"/>
+ <one-to-many entity-name="EStructuralFeature"/>
+ </list>
+ </subclass>
+ <subclass entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" discriminator-value="EDataType">
+ <property name="serializable" type="boolean" lazy="false" column="`serializable`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" discriminator-value="EEnum">
+ <list name="eLiterals" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eenumliteral_eenum_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eenum_eliterals_idx`"/>
+ <one-to-many entity-name="EEnumLiteral"/>
+ </list>
+ </subclass>
+ <subclass entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EEnumLiteral">
+ <property name="value" type="int" lazy="false" column="`value`" not-null="false"/>
+ <property name="literal" type="java.lang.String" lazy="false" column="`literal`" not-null="false"/>
+ <many-to-one name="eEnum" entity-name="EEnum" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eenumliteral_eenum_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" discriminator-value="EFactory"/>
+ <subclass entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EOperation">
+ <many-to-one name="eContainingClass" entity-name="EClass" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eoperation_econtainingclass_id`"/>
+ </many-to-one>
+ <list name="eParameters" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eparameter_eoperation_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eoperation_eparameters_idx`"/>
+ <one-to-many entity-name="EParameter"/>
+ </list>
+ <list name="eExceptions" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eoperation_eexceptions_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eoperation_eexceptions_idx`"/>
+ <one-to-many entity-name="EClassifier"/>
+ </list>
+ </subclass>
+ <subclass entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" discriminator-value="EPackage">
+ <property name="nsURI" type="java.lang.String" lazy="false" column="`nsuri`" not-null="false"/>
+ <property name="nsPrefix" type="java.lang.String" lazy="false" column="`nsprefix`" not-null="false"/>
+ <list name="eClassifiers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eclassifier_epackage_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`epackage_eclassifiers_idx`"/>
+ <one-to-many entity-name="EClassifier"/>
+ </list>
+ <list name="eSubpackages" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`epackage_esuperpackage_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`epackage_esubpackages_idx`"/>
+ <one-to-many entity-name="EPackage"/>
+ </list>
+ <many-to-one name="eSuperPackage" entity-name="EPackage" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`epackage_esuperpackage_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" discriminator-value="EParameter">
+ <many-to-one name="eOperation" entity-name="EOperation" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eparameter_eoperation_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" discriminator-value="EReference">
+ <property name="containment" type="boolean" lazy="false" column="`containment`" not-null="false"/>
+ <property name="resolveProxies" type="boolean" lazy="false" column="`resolveproxies`" not-null="false"/>
+ <many-to-one name="eOpposite" entity-name="EReference" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ereference_eopposite_id`"/>
+ </many-to-one>
+ </subclass>
+ <class entity-name="EStringToStringMapEntry" abstract="false" lazy="false" discriminator-value="EStringToStringMapEntry" table="`estringtostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..db8f097e6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:28 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="EObject" abstract="false" lazy="false" table="`eobject`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <joined-subclass entity-name="EModelElement" abstract="true" lazy="false" extends="EObject" table="`emodelelement`">
+ <key>
+ <column name="`eobject_id`"/>
+ </key>
+ <list name="eAnnotations" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_emodelelement_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`emodelelement_eannotations_idx`"/>
+ <one-to-many entity-name="EAnnotation"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="ENamedElement" abstract="true" lazy="false" extends="EModelElement" table="`enamedelement`">
+ <key>
+ <column name="`emodelelement_id`"/>
+ </key>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="ETypedElement" abstract="true" lazy="false" extends="ENamedElement" table="`etypedelement`">
+ <key>
+ <column name="`enamedelement_id`"/>
+ </key>
+ <property name="ordered" type="boolean" lazy="false" column="`ordered`" not-null="false"/>
+ <property name="unique" type="boolean" lazy="false" column="`unique`" not-null="false"/>
+ <property name="lowerBound" type="int" lazy="false" column="`lowerbound`" not-null="false"/>
+ <property name="upperBound" type="int" lazy="false" column="`upperbound`" not-null="false"/>
+ <many-to-one name="eType" entity-name="EClassifier" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`eclassifier_etype_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EStructuralFeature" abstract="true" lazy="false" extends="ETypedElement" table="`estructuralfeature`">
+ <key>
+ <column name="`etypedelement_id`"/>
+ </key>
+ <property name="changeable" type="boolean" lazy="false" column="`changeable`" not-null="false"/>
+ <property name="volatile" type="boolean" lazy="false" column="`volatile`" not-null="false"/>
+ <property name="transient" type="boolean" lazy="false" column="`transient`" not-null="false"/>
+ <property name="defaultValueLiteral" type="java.lang.String" lazy="false" column="`defaultvalueliteral`" not-null="false"/>
+ <property name="unsettable" type="boolean" lazy="false" column="`unsettable`" not-null="false"/>
+ <property name="derived" type="boolean" lazy="false" column="`derived`" not-null="false"/>
+ <many-to-one name="eContainingClass" entity-name="EClass" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`estructuralfeature_econtainingclass_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EAttribute" abstract="false" lazy="false" extends="EStructuralFeature" table="`eattribute`">
+ <key>
+ <column name="`estructuralfeature_id`"/>
+ </key>
+ <property name="iD" type="boolean" lazy="false" column="`id`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="EAnnotation" abstract="false" lazy="false" extends="EModelElement" table="`eannotation`">
+ <key>
+ <column name="`emodelelement_id`"/>
+ </key>
+ <property name="source" type="java.lang.String" lazy="false" column="`source`" not-null="false"/>
+ <list name="details" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_details_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_details_idx`"/>
+ <one-to-many entity-name="EStringToStringMapEntry"/>
+ </list>
+ <many-to-one name="eModelElement" entity-name="EModelElement" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eannotation_emodelelement_id`"/>
+ </many-to-one>
+ <list name="contents" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eannotation_contents_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_contents_idx`"/>
+ <one-to-many entity-name="EObject"/>
+ </list>
+ <list name="references" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eannotation_references_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eannotation_references_idx`"/>
+ <one-to-many entity-name="EObject"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="EClassifier" abstract="true" lazy="false" extends="ENamedElement" table="`eclassifier`">
+ <key>
+ <column name="`enamedelement_id`"/>
+ </key>
+ <property name="instanceClassName" type="java.lang.String" lazy="false" column="`instanceclassname`" not-null="false"/>
+ <many-to-one name="ePackage" entity-name="EPackage" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eclassifier_epackage_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EClass" abstract="false" lazy="false" extends="EClassifier" table="`eclass`">
+ <key>
+ <column name="`eclassifier_id`"/>
+ </key>
+ <property name="abstract" type="boolean" lazy="false" column="`abstract`" not-null="false"/>
+ <property name="interface" type="boolean" lazy="false" column="`interface`" not-null="false"/>
+ <list name="eSuperTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eclass_esupertypes_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_esupertypes_idx`"/>
+ <one-to-many entity-name="EClass"/>
+ </list>
+ <list name="eOperations" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eoperation_econtainingclass_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_eoperations_idx`"/>
+ <one-to-many entity-name="EOperation"/>
+ </list>
+ <list name="eStructuralFeatures" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`estructuralfeature_econtainingclass_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eclass_estructuralfeatures_idx`"/>
+ <one-to-many entity-name="EStructuralFeature"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="EDataType" abstract="false" lazy="false" extends="EClassifier" table="`edatatype`">
+ <key>
+ <column name="`eclassifier_id`"/>
+ </key>
+ <property name="serializable" type="boolean" lazy="false" column="`serializable`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="EEnum" abstract="false" lazy="false" extends="EDataType" table="`eenum`">
+ <key>
+ <column name="`edatatype_id`"/>
+ </key>
+ <list name="eLiterals" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eenumliteral_eenum_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eenum_eliterals_idx`"/>
+ <one-to-many entity-name="EEnumLiteral"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="EEnumLiteral" abstract="false" lazy="false" extends="ENamedElement" table="`eenumliteral`">
+ <key>
+ <column name="`enamedelement_id`"/>
+ </key>
+ <property name="value" type="int" lazy="false" column="`value`" not-null="false"/>
+ <property name="literal" type="java.lang.String" lazy="false" column="`literal`" not-null="false"/>
+ <many-to-one name="eEnum" entity-name="EEnum" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eenumliteral_eenum_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EFactory" abstract="false" lazy="false" extends="EModelElement" table="`efactory`">
+ <key>
+ <column name="`emodelelement_id`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="EOperation" abstract="false" lazy="false" extends="ETypedElement" table="`eoperation`">
+ <key>
+ <column name="`etypedelement_id`"/>
+ </key>
+ <many-to-one name="eContainingClass" entity-name="EClass" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eoperation_econtainingclass_id`"/>
+ </many-to-one>
+ <list name="eParameters" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eparameter_eoperation_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eoperation_eparameters_idx`"/>
+ <one-to-many entity-name="EParameter"/>
+ </list>
+ <list name="eExceptions" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`eoperation_eexceptions_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`eoperation_eexceptions_idx`"/>
+ <one-to-many entity-name="EClassifier"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="EPackage" abstract="false" lazy="false" extends="ENamedElement" table="`epackage`">
+ <key>
+ <column name="`enamedelement_id`"/>
+ </key>
+ <property name="nsURI" type="java.lang.String" lazy="false" column="`nsuri`" not-null="false"/>
+ <property name="nsPrefix" type="java.lang.String" lazy="false" column="`nsprefix`" not-null="false"/>
+ <list name="eClassifiers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`eclassifier_epackage_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`epackage_eclassifiers_idx`"/>
+ <one-to-many entity-name="EClassifier"/>
+ </list>
+ <list name="eSubpackages" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`epackage_esuperpackage_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`epackage_esubpackages_idx`"/>
+ <one-to-many entity-name="EPackage"/>
+ </list>
+ <many-to-one name="eSuperPackage" entity-name="EPackage" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`epackage_esuperpackage_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EParameter" abstract="false" lazy="false" extends="ETypedElement" table="`eparameter`">
+ <key>
+ <column name="`etypedelement_id`"/>
+ </key>
+ <many-to-one name="eOperation" entity-name="EOperation" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`eparameter_eoperation_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="EReference" abstract="false" lazy="false" extends="EStructuralFeature" table="`ereference`">
+ <key>
+ <column name="`estructuralfeature_id`"/>
+ </key>
+ <property name="containment" type="boolean" lazy="false" column="`containment`" not-null="false"/>
+ <property name="resolveProxies" type="boolean" lazy="false" column="`resolveproxies`" not-null="false"/>
+ <many-to-one name="eOpposite" entity-name="EReference" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ereference_eopposite_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <class entity-name="EStringToStringMapEntry" abstract="false" lazy="false" table="`estringtostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_a_o/hibernate.hbm.xml
index 37be34540..9b403a203 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Fri Sep 29 11:01:35 CEST 2006 -->
+<!-- Generated by Teneo on Tue Oct 17 09:20:58 CEST 2006 -->
<hibernate-mapping>
<class entity-name="EObject" abstract="false" lazy="false" discriminator-value="EObject" table="`eobject`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_s_o/hibernate.hbm.xml
index 6c19ca93e..7a892f73c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.EcoreAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Fri Sep 29 11:00:58 CEST 2006 -->
+<!-- Generated by Teneo on Tue Oct 17 09:20:47 CEST 2006 -->
<hibernate-mapping>
<class entity-name="EObject" abstract="false" lazy="false" table="`eobject`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..82904746c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:01 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`forum`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <list name="members" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`forum_members_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`forum_members_idx`"/>
+ <one-to-many entity-name="Member"/>
+ </list>
+ <list name="topics" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`forum_topics_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`forum_topics_idx`"/>
+ <one-to-many entity-name="Topic"/>
+ </list>
+ </class>
+ <class entity-name="Member" abstract="false" lazy="false" discriminator-value="Member" table="`member`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="nickname" type="java.lang.String" lazy="false" column="`nickname`" not-null="true"/>
+ <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`post_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`member_posts_idx`"/>
+ <one-to-many entity-name="Post"/>
+ </list>
+ <list name="created" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`topic_creator_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`member_created_idx`"/>
+ <one-to-many entity-name="Topic"/>
+ </list>
+ </class>
+ <class entity-name="Post" abstract="false" lazy="false" discriminator-value="Post" table="`post`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="true"/>
+ <many-to-one name="author" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`post_author_id`"/>
+ </many-to-one>
+ <many-to-one name="topic" entity-name="Topic" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`post_topic_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Topic" abstract="false" lazy="false" discriminator-value="Topic" table="`topic`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
+ </type>
+ </property>
+ <many-to-one name="creator" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`topic_creator_id`"/>
+ </many-to-one>
+ <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`post_topic_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`topic_posts_idx`"/>
+ <one-to-many entity-name="Post"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..833a6c851
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:23 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Forum" abstract="false" lazy="false" table="`forum`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <list name="members" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`forum_members_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`forum_members_idx`"/>
+ <one-to-many entity-name="Member"/>
+ </list>
+ <list name="topics" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`forum_topics_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`forum_topics_idx`"/>
+ <one-to-many entity-name="Topic"/>
+ </list>
+ </class>
+ <class entity-name="Member" abstract="false" lazy="false" table="`member`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="nickname" type="java.lang.String" lazy="false" column="`nickname`" not-null="true"/>
+ <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`post_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`member_posts_idx`"/>
+ <one-to-many entity-name="Post"/>
+ </list>
+ <list name="created" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`topic_creator_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`member_created_idx`"/>
+ <one-to-many entity-name="Topic"/>
+ </list>
+ </class>
+ <class entity-name="Post" abstract="false" lazy="false" table="`post`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="true"/>
+ <many-to-one name="author" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`post_author_id`"/>
+ </many-to-one>
+ <many-to-one name="topic" entity-name="Topic" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`post_topic_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Topic" abstract="false" lazy="false" table="`topic`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
+ </type>
+ </property>
+ <many-to-one name="creator" entity-name="Member" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`topic_creator_id`"/>
+ </many-to-one>
+ <list name="posts" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`post_topic_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`topic_posts_idx`"/>
+ <one-to-many entity-name="Post"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml
index c0cab9fb9..aa11a660f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:07 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:34 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`forum`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml
index a7250feca..de6a6967f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:45 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Forum" abstract="false" lazy="false" table="`forum`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c56e6bfa9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:35 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PType" abstract="false" lazy="false" discriminator-value="PType" table="`ptype`">
+ <id name="id" type="long" column="`id`">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`ptype_base_id`"/>
+ </many-to-one>
+ <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`ptype_base_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="PType"/>
+ </bag>
+ <bag name="subNOTypes" table="ptype_ptype" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="PType" unique="false"/>
+ </bag>
+ <bag name="infoReferences" table="ptype_pdeclaration" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="PDeclaration" unique="false"/>
+ </bag>
+ </class>
+ <class entity-name="PDeclaration" abstract="false" lazy="false" discriminator-value="PDeclaration" table="`pdeclaration`">
+ <id name="id" type="long" column="`id`">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..85e06413c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:52 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PType" abstract="false" lazy="false" table="`ptype`">
+ <id name="id" type="long" column="`id`">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <many-to-one name="base" entity-name="PType" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`ptype_base_id`"/>
+ </many-to-one>
+ <bag name="subTypes" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`ptype_base_id`" not-null="false" unique="false"/>
+ </key>
+ <one-to-many entity-name="PType"/>
+ </bag>
+ <bag name="subNOTypes" table="ptype_ptype" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="PType" unique="false"/>
+ </bag>
+ <bag name="infoReferences" table="ptype_pdeclaration" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="PDeclaration" unique="false"/>
+ </bag>
+ </class>
+ <class entity-name="PDeclaration" abstract="false" lazy="false" table="`pdeclaration`">
+ <id name="id" type="long" column="`id`">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml
index 1cbf52f9e..39111ed66 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:59 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:21 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PType" abstract="false" lazy="false" discriminator-value="PType" table="`ptype`">
<id name="id" type="long" column="`id`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml
index c7d5ce68c..9966aed89 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:32 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:46 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PType" abstract="false" lazy="false" table="`ptype`">
<id name="id" type="long" column="`id`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b7b78163e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:27 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d96e955d8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:42 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml
index 08f5b27af..544e726c7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:48 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml
index 7e0f09377..f7b775ea6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:32 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8f562f5ee
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:35 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`categ`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`bo_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`libra`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`li_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`l_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`li_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`l_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`write`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`bo_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`w_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..ffd0e6518
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:53 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`categ`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`bo_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`libra`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`li_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`l_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`li_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`l_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`write`">
+ <id type="long" name="myID" column="myID">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`bo_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`w_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml
index 6eafc95c3..8c38584a1 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:00 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:21 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="myID" column="myID">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml
index 5559040dc..396ea48c5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:33 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:47 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="myID" column="myID">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..34858d28c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:55 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..58706dd95
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="false" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
index 301d733c8..aba471937 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:02 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:27 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml
index a576ae76f..d934a9c7b 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:36 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:52 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..81ecf4c02
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:28 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..4c98effbc
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:43 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml
index e746966b3..cedb54aed 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:50 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml
index 33b0d22f1..6e6723f4a 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:25 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:35 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..be5f56833
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:55 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="library.Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="library.Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="library.Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="library.Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="library.Book"/>
+ </list>
+ </class>
+ <class entity-name="library.Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="library.Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..66e09175c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="library.Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="library.Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="library.Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="library.Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="library.Book"/>
+ </list>
+ </class>
+ <class entity-name="library.Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="library.Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
index f0a7cfea6..a5b327c2c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:02 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:26 CEST 2006 -->
<hibernate-mapping>
<class entity-name="library.Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml
index 3364d4ba8..bf758b76e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:35 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:51 CEST 2006 -->
<hibernate-mapping>
<class entity-name="library.Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..de00dcbaa
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:56 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6fa685682
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml
index 37e2ffecc..8771f2760 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:03 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:27 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml
index 5b576c7b9..f16d39980 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:36 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:53 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f8178f583
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:51 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6de0cbfab
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:16 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="delete,merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml
index d66a3712e..93e19a842 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:00 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:23 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml
index e71a21b0a..6173410eb 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:34 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:48 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..10ed763ba
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:25 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" discriminator-value="Library" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..c6d4dcb9c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:41 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <property name="pages" type="int" lazy="false" column="`pages`" not-null="false"/>
+ <property name="category" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`category`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserIntegerType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.library.BookCategory</param>
+ </type>
+ </property>
+ <many-to-one name="author" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`book_author_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Library" abstract="false" lazy="false" table="`library`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_writers_idx`"/>
+ <one-to-many entity-name="Writer"/>
+ </list>
+ <list name="books" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`library_books_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`library_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="books" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`book_author_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`writer_books_idx`"/>
+ <one-to-many entity-name="Book"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml
index 18c9d70d9..1bcd5a990 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:47 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:08 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml
index 7e0f09377..933e25203 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:31 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..9d682b855
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:57 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="scene" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`acttype_scene_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`acttype_scene_idx`"/>
+ <one-to-many entity-name="SceneType"/>
+ </list>
+ <property name="pindex" type="byte" lazy="false" column="`pindex`" not-null="false"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ </class>
+ <class entity-name="FmType" abstract="false" lazy="false" discriminator-value="FmType" table="`fmtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="p" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`fmtype_p_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`fmtype_p_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+ <class entity-name="PersonaeType" abstract="false" lazy="false" discriminator-value="PersonaeType" table="`personaetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`personaetype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`personaetype_group_idx`"/>
+ <one-to-many entity-name="PersonaeType_group"/>
+ </list>
+ </class>
+ <class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`">
+ <meta attribute="eclass">PersonaeType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="false"/>
+ <property name="persona" type="java.lang.String" lazy="false" column="`persona`" not-null="false"/>
+ <many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`personagrouptype_personagroup_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="PersonaGroupType" abstract="false" lazy="false" discriminator-value="PersonaGroupType" table="`personagrouptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persona" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`personagrouptype_persona_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`personagrouptype_persona_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <property name="groupDescription" type="java.lang.String" lazy="false" column="`groupdescription`" not-null="true"/>
+ </class>
+ <class entity-name="PlayType" abstract="false" lazy="false" discriminator-value="PlayType" table="`playtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`fmtype_fm_id`"/>
+ </many-to-one>
+ <many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`personaetype_personae_id`"/>
+ </many-to-one>
+ <property name="sceneDescription" type="java.lang.String" lazy="false" column="`scenedescription`" not-null="true"/>
+ <property name="playSubTitle" type="java.lang.String" lazy="false" column="`playsubtitle`" not-null="true"/>
+ <list name="act" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`playtype_act_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`playtype_act_idx`"/>
+ <one-to-many entity-name="ActType"/>
+ </list>
+ </class>
+ <class entity-name="SceneType" abstract="false" lazy="false" discriminator-value="SceneType" table="`scenetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`scenetype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`scenetype_group_idx`"/>
+ <one-to-many entity-name="SceneType_group"/>
+ </list>
+ <property name="pindex" type="java.lang.String" lazy="false" column="`pindex`" not-null="true"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ </class>
+ <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`">
+ <meta attribute="eclass">SceneType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
+ <many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`speechtype_speech_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SpeechType" abstract="false" lazy="false" discriminator-value="SpeechType" table="`speechtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`speechtype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`speechtype_group_idx`"/>
+ <one-to-many entity-name="SpeechType_group"/>
+ </list>
+ </class>
+ <class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`">
+ <meta attribute="eclass">SpeechType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="speaker" type="java.lang.String" lazy="false" column="`speaker`" not-null="false"/>
+ <property name="line" type="java.lang.String" lazy="false" column="`line`" not-null="false"/>
+ <property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..75985d9a8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:20 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ActType" abstract="false" lazy="false" table="`acttype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="scene" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`acttype_scene_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`acttype_scene_idx`"/>
+ <one-to-many entity-name="SceneType"/>
+ </list>
+ <property name="pindex" type="byte" lazy="false" column="`pindex`" not-null="false"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ </class>
+ <class entity-name="FmType" abstract="false" lazy="false" table="`fmtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="p" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`fmtype_p_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`fmtype_p_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+ <class entity-name="PersonaeType" abstract="false" lazy="false" table="`personaetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`personaetype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`personaetype_group_idx`"/>
+ <one-to-many entity-name="PersonaeType_group"/>
+ </list>
+ </class>
+ <class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`">
+ <meta attribute="eclass">PersonaeType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="false"/>
+ <property name="persona" type="java.lang.String" lazy="false" column="`persona`" not-null="false"/>
+ <many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`personagrouptype_personagroup_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="PersonaGroupType" abstract="false" lazy="false" table="`personagrouptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="persona" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`personagrouptype_persona_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`personagrouptype_persona_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <property name="groupDescription" type="java.lang.String" lazy="false" column="`groupdescription`" not-null="true"/>
+ </class>
+ <class entity-name="PlayType" abstract="false" lazy="false" table="`playtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`fmtype_fm_id`"/>
+ </many-to-one>
+ <many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`personaetype_personae_id`"/>
+ </many-to-one>
+ <property name="sceneDescription" type="java.lang.String" lazy="false" column="`scenedescription`" not-null="true"/>
+ <property name="playSubTitle" type="java.lang.String" lazy="false" column="`playsubtitle`" not-null="true"/>
+ <list name="act" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`playtype_act_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`playtype_act_idx`"/>
+ <one-to-many entity-name="ActType"/>
+ </list>
+ </class>
+ <class entity-name="SceneType" abstract="false" lazy="false" table="`scenetype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`scenetype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`scenetype_group_idx`"/>
+ <one-to-many entity-name="SceneType_group"/>
+ </list>
+ <property name="pindex" type="java.lang.String" lazy="false" column="`pindex`" not-null="true"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ </class>
+ <class entity-name="SceneType_group" lazy="false" table="`scenetype_group`">
+ <meta attribute="eclass">SceneType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
+ <many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`speechtype_speech_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SpeechType" abstract="false" lazy="false" table="`speechtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`speechtype_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`speechtype_group_idx`"/>
+ <one-to-many entity-name="SpeechType_group"/>
+ </list>
+ </class>
+ <class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`">
+ <meta attribute="eclass">SpeechType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="speaker" type="java.lang.String" lazy="false" column="`speaker`" not-null="false"/>
+ <property name="line" type="java.lang.String" lazy="false" column="`line`" not-null="false"/>
+ <property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml
index 4017a43e3..f3798043d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:03 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:28 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml
index 7848086a8..812892b63 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:37 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:54 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ActType" abstract="false" lazy="false" table="`acttype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8b1bcb849
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:32:59 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="true"/>
+ <property name="quantity" type="java.math.BigInteger" lazy="false" column="`quantity`" not-null="true"/>
+ <property name="uSPrice" type="java.math.BigDecimal" lazy="false" column="`usprice`" not-null="true"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="shipDate" type="serializable" lazy="false" column="`shipdate`" not-null="false"/>
+ <property name="partNum" type="java.lang.String" lazy="false" column="`partnum`" not-null="true"/>
+ </class>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="shipTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`usaddress_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`usaddress_billto_id`"/>
+ </many-to-one>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <list name="items" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`purchaseorder_items_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`purchaseorder_items_idx`"/>
+ <one-to-many entity-name="Item"/>
+ </list>
+ <property name="orderDate" type="serializable" lazy="false" column="`orderdate`" not-null="false"/>
+ </class>
+ <class entity-name="USAddress" abstract="false" lazy="false" discriminator-value="USAddress" table="`usaddress`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
+ <property name="zip" type="java.math.BigDecimal" lazy="false" column="`zip`" not-null="true"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..cbde605c3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="true"/>
+ <property name="quantity" type="java.math.BigInteger" lazy="false" column="`quantity`" not-null="true"/>
+ <property name="uSPrice" type="java.math.BigDecimal" lazy="false" column="`usprice`" not-null="true"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="shipDate" type="serializable" lazy="false" column="`shipdate`" not-null="false"/>
+ <property name="partNum" type="java.lang.String" lazy="false" column="`partnum`" not-null="true"/>
+ </class>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="shipTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`usaddress_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`usaddress_billto_id`"/>
+ </many-to-one>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <list name="items" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`purchaseorder_items_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`purchaseorder_items_idx`"/>
+ <one-to-many entity-name="Item"/>
+ </list>
+ <property name="orderDate" type="serializable" lazy="false" column="`orderdate`" not-null="false"/>
+ </class>
+ <class entity-name="USAddress" abstract="false" lazy="false" table="`usaddress`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
+ <property name="zip" type="java.math.BigDecimal" lazy="false" column="`zip`" not-null="true"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml
index bc07e8789..56566b5c7 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:06 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:32 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml
index dfa6f8d73..49384f54f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:40 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:59 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" table="`item`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..e80142cc7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:00 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`">
+ <id name="id" type="java.lang.String" column="`id`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="createdOn" type="serializable" lazy="false" column="`createdon`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" discriminator-value="SupplierType" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..a9e7341e4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`">
+ <id name="id" type="java.lang.String" column="`id`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <many-to-one name="supplier" entity-name="SupplierType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`suppliertype_supplier_id`"/>
+ </many-to-one>
+ <property name="price" type="double" lazy="false" column="`price`" not-null="false"/>
+ <property name="createdOn" type="serializable" lazy="false" column="`createdon`" not-null="true"/>
+ </class>
+ <class entity-name="SupplierType" abstract="false" lazy="false" table="`suppliertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="noOfEmployees" type="int" lazy="false" column="`noofemployees`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml
index 1c2b314c9..0b9adf8ef 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:06 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:32 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`">
<id name="id" type="java.lang.String" column="`id`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml
index 1bec772c6..6b32928b6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:40 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`">
<id name="id" type="java.lang.String" column="`id`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6e7003cd6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:33 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="AuthorsType" abstract="false" lazy="false" discriminator-value="AuthorsType" table="`authorstype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="authorName" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`authorstype_authorname_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`authorstype_authorname_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+ <class entity-name="BooksType" abstract="false" lazy="false" discriminator-value="BooksType" table="`bookstype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="book" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`bookstype_book_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`bookstype_book_idx`"/>
+ <one-to-many entity-name="BookType"/>
+ </list>
+ </class>
+ <class entity-name="BookType" abstract="false" lazy="false" discriminator-value="BookType" table="`booktype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="iSBN" type="long" lazy="false" column="`isbn`" not-null="false"/>
+ <property name="price" type="java.lang.String" lazy="false" column="`price`" not-null="true"/>
+ <many-to-one name="authors" entity-name="AuthorsType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`authorstype_authors_id`"/>
+ </many-to-one>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <many-to-one name="promotion" entity-name="PromotionType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`promotiontype_promotion_id`"/>
+ </many-to-one>
+ <property name="publicationDate" type="serializable" lazy="false" column="`publicationdate`" not-null="true"/>
+ <property name="bookCategory" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`bookcategory`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param>
+ </type>
+ </property>
+ <property name="itemId" type="java.lang.String" lazy="false" column="`itemid`" not-null="false"/>
+ </class>
+ <class entity-name="CollectionType" abstract="false" lazy="false" discriminator-value="CollectionType" table="`collectiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="books" entity-name="BooksType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`bookstype_books_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="PromotionType" abstract="false" lazy="false" discriminator-value="PromotionType" table="`promotiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="discount" type="java.lang.String" lazy="false" column="`discount`" not-null="false"/>
+ <property name="none" type="java.lang.String" lazy="false" column="`none`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..f907970c6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:29:49 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="authorName" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`authorstype_authorname_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`authorstype_authorname_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+ <class entity-name="BooksType" abstract="false" lazy="false" table="`bookstype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="book" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`bookstype_book_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`bookstype_book_idx`"/>
+ <one-to-many entity-name="BookType"/>
+ </list>
+ </class>
+ <class entity-name="BookType" abstract="false" lazy="false" table="`booktype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="iSBN" type="long" lazy="false" column="`isbn`" not-null="false"/>
+ <property name="price" type="java.lang.String" lazy="false" column="`price`" not-null="true"/>
+ <many-to-one name="authors" entity-name="AuthorsType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`authorstype_authors_id`"/>
+ </many-to-one>
+ <property name="description" type="java.lang.String" lazy="false" column="`description`" not-null="false"/>
+ <many-to-one name="promotion" entity-name="PromotionType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`promotiontype_promotion_id`"/>
+ </many-to-one>
+ <property name="publicationDate" type="serializable" lazy="false" column="`publicationdate`" not-null="true"/>
+ <property name="bookCategory" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`bookcategory`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookCategoryType1</param>
+ </type>
+ </property>
+ <property name="itemId" type="java.lang.String" lazy="false" column="`itemid`" not-null="false"/>
+ </class>
+ <class entity-name="CollectionType" abstract="false" lazy="false" table="`collectiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="books" entity-name="BooksType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`bookstype_books_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="PromotionType" abstract="false" lazy="false" table="`promotiontype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="discount" type="java.lang.String" lazy="false" column="`discount`" not-null="false"/>
+ <property name="none" type="java.lang.String" lazy="false" column="`none`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml
index 2c495c751..5b9ea75c4 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:54 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:16 CEST 2006 -->
<hibernate-mapping>
<class entity-name="AuthorsType" abstract="false" lazy="false" discriminator-value="AuthorsType" table="`authorstype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml
index f8710d132..f62b65e76 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:29 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:47:41 CEST 2006 -->
<hibernate-mapping>
<class entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..e76cd8ee8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:00 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="WorkflowElement" abstract="true" lazy="false" discriminator-value="WorkflowElement" table="`workflowelement`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="x" type="int" lazy="false" column="`x`" not-null="false"/>
+ <property name="y" type="int" lazy="false" column="`y`" not-null="false"/>
+ <property name="width" type="int" lazy="false" column="`width`" not-null="false"/>
+ <property name="height" type="int" lazy="false" column="`height`" not-null="false"/>
+ </class>
+ <subclass entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Workflow">
+ <list name="nodes" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`workflownode_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_nodes_idx`"/>
+ <one-to-many entity-name="WorkflowNode"/>
+ </list>
+ <list name="edges" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`edge_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ <list name="comments" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`comment_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_comments_idx`"/>
+ <one-to-many entity-name="Comment"/>
+ </list>
+ </subclass>
+ <subclass entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" discriminator-value="WorkflowNode">
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`workflownode_workflow_id`"/>
+ </many-to-one>
+ <list name="outputs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`outputport_node_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflownode_outputs_idx`"/>
+ <one-to-many entity-name="OutputPort"/>
+ </list>
+ <list name="inputs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`inputport_node_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflownode_inputs_idx`"/>
+ <one-to-many entity-name="InputPort"/>
+ </list>
+ <property name="isStart" type="boolean" lazy="false" column="`isstart`" not-null="false"/>
+ <property name="isFinish" type="boolean" lazy="false" column="`isfinish`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Edge">
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_workflow_id`"/>
+ </many-to-one>
+ <many-to-one name="target" entity-name="InputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_target_id`"/>
+ </many-to-one>
+ <many-to-one name="source" entity-name="OutputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_source_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" discriminator-value="Port"/>
+ <subclass entity-name="InputPort" abstract="false" lazy="false" extends="Port" discriminator-value="InputPort">
+ <many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`inputport_node_id`"/>
+ </many-to-one>
+ <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`edge_target_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`inputport_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ </subclass>
+ <subclass entity-name="OutputPort" abstract="false" lazy="false" extends="Port" discriminator-value="OutputPort">
+ <many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`outputport_node_id`"/>
+ </many-to-one>
+ <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`edge_source_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`outputport_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ </subclass>
+ <subclass entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" discriminator-value="Fault"/>
+ <subclass entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="CompoundTask">
+ <many-to-one name="subworkflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`workflow_subworkflow_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="TransformationTask">
+ <property name="transformExpression" type="java.lang.String" lazy="false" column="`transformexpression`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="ConditionalTask"/>
+ <subclass entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" discriminator-value="LoopTask">
+ <property name="whileCondition" type="java.lang.String" lazy="false" column="`whilecondition`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" discriminator-value="ConditionalOutputPort">
+ <property name="condition" type="java.lang.String" lazy="false" column="`condition`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" discriminator-value="Comment">
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`comment_workflow_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" discriminator-value="Task"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6c1892286
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:31:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="x" type="int" lazy="false" column="`x`" not-null="false"/>
+ <property name="y" type="int" lazy="false" column="`y`" not-null="false"/>
+ <property name="width" type="int" lazy="false" column="`width`" not-null="false"/>
+ <property name="height" type="int" lazy="false" column="`height`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" table="`workflow`">
+ <key>
+ <column name="`workflowelement_id`"/>
+ </key>
+ <list name="nodes" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`workflownode_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_nodes_idx`"/>
+ <one-to-many entity-name="WorkflowNode"/>
+ </list>
+ <list name="edges" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`edge_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ <list name="comments" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`comment_workflow_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflow_comments_idx`"/>
+ <one-to-many entity-name="Comment"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" table="`workflownode`">
+ <key>
+ <column name="`workflowelement_id`"/>
+ </key>
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`workflownode_workflow_id`"/>
+ </many-to-one>
+ <list name="outputs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`outputport_node_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflownode_outputs_idx`"/>
+ <one-to-many entity-name="OutputPort"/>
+ </list>
+ <list name="inputs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`inputport_node_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`workflownode_inputs_idx`"/>
+ <one-to-many entity-name="InputPort"/>
+ </list>
+ <property name="isStart" type="boolean" lazy="false" column="`isstart`" not-null="true"/>
+ <property name="isFinish" type="boolean" lazy="false" column="`isfinish`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" table="`edge`">
+ <key>
+ <column name="`workflowelement_id`"/>
+ </key>
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_workflow_id`"/>
+ </many-to-one>
+ <many-to-one name="target" entity-name="InputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_target_id`"/>
+ </many-to-one>
+ <many-to-one name="source" entity-name="OutputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`edge_source_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" table="`port`">
+ <key>
+ <column name="`workflowelement_id`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="InputPort" abstract="false" lazy="false" extends="Port" table="`inputport`">
+ <key>
+ <column name="`port_id`"/>
+ </key>
+ <many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`inputport_node_id`"/>
+ </many-to-one>
+ <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`edge_target_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`inputport_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="OutputPort" abstract="false" lazy="false" extends="Port" table="`outputport`">
+ <key>
+ <column name="`port_id`"/>
+ </key>
+ <many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`outputport_node_id`"/>
+ </many-to-one>
+ <list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`edge_source_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`outputport_edges_idx`"/>
+ <one-to-many entity-name="Edge"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" table="`fault`">
+ <key>
+ <column name="`outputport_id`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" table="`compoundtask`">
+ <key>
+ <column name="`workflownode_id`"/>
+ </key>
+ <many-to-one name="subworkflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`workflow_subworkflow_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" table="`transformationtask`">
+ <key>
+ <column name="`workflownode_id`"/>
+ </key>
+ <property name="transformExpression" type="java.lang.String" lazy="false" column="`transformexpression`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" table="`conditionaltask`">
+ <key>
+ <column name="`workflownode_id`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" table="`looptask`">
+ <key>
+ <column name="`compoundtask_id`"/>
+ </key>
+ <property name="whileCondition" type="java.lang.String" lazy="false" column="`whilecondition`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" table="`conditionaloutputport`">
+ <key>
+ <column name="`outputport_id`"/>
+ </key>
+ <property name="condition" type="java.lang.String" lazy="false" column="`condition`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" table="`comment`">
+ <key>
+ <column name="`workflowelement_id`"/>
+ </key>
+ <many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`comment_workflow_id`"/>
+ </many-to-one>
+ </joined-subclass>
+ <joined-subclass entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" table="`task`">
+ <key>
+ <column name="`workflownode_id`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml
index 72d017ef4..d032d048d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:07 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:33 CEST 2006 -->
<hibernate-mapping>
<class entity-name="WorkflowElement" abstract="true" lazy="false" discriminator-value="WorkflowElement" table="`workflowelement`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml
index c346eae89..1b1a01344 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:57:41 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..27e2d9fc7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:08 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_writers_idx`"/>
+ <one-to-many entity-name="StringToWriterMapEntry"/>
+ </list>
+ <list name="keyWords" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_keywords_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_keywords_idx`"/>
+ <one-to-many entity-name="StringToStringMapEntry"/>
+ </list>
+ <list name="cityByWriter" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_citybywriter_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_citybywriter_idx`"/>
+ <one-to-many entity-name="WriterToStringMapEntry"/>
+ </list>
+ </class>
+ <class entity-name="StringToStringMapEntry" abstract="false" lazy="false" discriminator-value="StringToStringMapEntry" table="`stringtostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <class entity-name="StringToWriterMapEntry" abstract="false" lazy="false" discriminator-value="StringToWriterMapEntry" table="`stringtowritermapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <many-to-one name="value" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`writer_value_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" discriminator-value="Writer" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="WriterToStringMapEntry" abstract="false" lazy="false" discriminator-value="WriterToStringMapEntry" table="`writertostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="key" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`writer_key_id`"/>
+ </many-to-one>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..780cfd18b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:01 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Book" abstract="false" lazy="false" table="`book`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
+ <list name="writers" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_writers_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_writers_idx`"/>
+ <one-to-many entity-name="StringToWriterMapEntry"/>
+ </list>
+ <list name="keyWords" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_keywords_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_keywords_idx`"/>
+ <one-to-many entity-name="StringToStringMapEntry"/>
+ </list>
+ <list name="cityByWriter" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`book_citybywriter_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`book_citybywriter_idx`"/>
+ <one-to-many entity-name="WriterToStringMapEntry"/>
+ </list>
+ </class>
+ <class entity-name="StringToStringMapEntry" abstract="false" lazy="false" table="`stringtostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <class entity-name="StringToWriterMapEntry" abstract="false" lazy="false" table="`stringtowritermapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="key" type="java.lang.String" lazy="false" column="`key`" not-null="false"/>
+ <many-to-one name="value" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`writer_value_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Writer" abstract="false" lazy="false" table="`writer`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="WriterToStringMapEntry" abstract="false" lazy="false" table="`writertostringmapentry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="key" entity-name="Writer" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`writer_key_id`"/>
+ </many-to-one>
+ <property name="value" type="java.lang.String" lazy="false" column="`value`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml
index 097f57300..dd657cff0 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:18 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:52 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml
index 83692353e..5bf14ae66 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:08 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:35 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Book" abstract="false" lazy="false" table="`book`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..112d08f47
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="nameMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_namemap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_namemap_idx`"/>
+ <one-to-many entity-name="Element_nameMap"/>
+ </list>
+ </class>
+ <class entity-name="Element_nameMap" lazy="false" table="`element_namemap`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="names" entity-name="NameList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`namelist_names_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Feature" abstract="false" lazy="false" discriminator-value="Feature" table="`feature`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="aMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`feature_amap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`feature_amap_idx`"/>
+ <one-to-many entity-name="Feature_aMap"/>
+ </list>
+ </class>
+ <class entity-name="Feature_aMap" lazy="false" table="`feature_amap`">
+ <meta attribute="eclass">Feature</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="value" type="double" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <class entity-name="Mixed" abstract="false" lazy="false" discriminator-value="Mixed" table="`mixed`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`mixed_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`mixed_mixed_idx`"/>
+ <one-to-many entity-name="Mixed_mixed"/>
+ </list>
+ </class>
+ <class entity-name="Mixed_mixed" lazy="false" table="`mixed_mixed`">
+ <meta attribute="eclass">Mixed</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="value" type="double" lazy="false" column="`value`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="NameList" abstract="false" lazy="false" discriminator-value="NameList" table="`namelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="firstName" type="java.lang.String" lazy="false" column="`firstname`" not-null="true"/>
+ <property name="middleName" type="java.lang.String" lazy="false" column="`middlename`" not-null="true"/>
+ <property name="lastName" type="java.lang.String" lazy="false" column="`lastname`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6161a941f
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:03 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Element" abstract="false" lazy="false" table="`element`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="nameMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_namemap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_namemap_idx`"/>
+ <one-to-many entity-name="Element_nameMap"/>
+ </list>
+ </class>
+ <class entity-name="Element_nameMap" lazy="false" table="`element_namemap`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="names" entity-name="NameList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`namelist_names_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="Feature" abstract="false" lazy="false" table="`feature`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="aMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`feature_amap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`feature_amap_idx`"/>
+ <one-to-many entity-name="Feature_aMap"/>
+ </list>
+ </class>
+ <class entity-name="Feature_aMap" lazy="false" table="`feature_amap`">
+ <meta attribute="eclass">Feature</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="value" type="double" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <class entity-name="Mixed" abstract="false" lazy="false" table="`mixed`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`mixed_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`mixed_mixed_idx`"/>
+ <one-to-many entity-name="Mixed_mixed"/>
+ </list>
+ </class>
+ <class entity-name="Mixed_mixed" lazy="false" table="`mixed_mixed`">
+ <meta attribute="eclass">Mixed</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="value" type="double" lazy="false" column="`value`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="NameList" abstract="false" lazy="false" table="`namelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="firstName" type="java.lang.String" lazy="false" column="`firstname`" not-null="true"/>
+ <property name="middleName" type="java.lang.String" lazy="false" column="`middlename`" not-null="true"/>
+ <property name="lastName" type="java.lang.String" lazy="false" column="`lastname`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml
index c8756b249..6113f3485 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:21 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:56 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml
index aeba68a7a..675e5c84d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:11 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:40 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Element" abstract="false" lazy="false" table="`element`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..a250ab057
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="firstAddress" entity-name="FirstAddressHolder" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_id`"/>
+ </many-to-one>
+ <list name="secondAddress" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`addresslist_secondaddress_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_secondaddress_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <subclass entity-name="UKAddress" abstract="false" lazy="false" extends="Address" discriminator-value="UKAddress">
+ <property name="postcode" type="java.lang.String" lazy="false" column="`postcode`" not-null="false"/>
+ <property name="exportCode" type="java.math.BigInteger" lazy="false" column="`exportcode`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" discriminator-value="DistrictUKAddress">
+ <property name="district" type="java.lang.String" lazy="false" column="`district`" not-null="false"/>
+ </subclass>
+ <class entity-name="FirstAddressHolder" abstract="false" lazy="false" discriminator-value="FirstAddressHolder" table="`firstaddressholder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="value" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`firstaddressholder_value_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`firstaddressholder_value_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <class entity-name="InternationalPrice" abstract="false" lazy="false" discriminator-value="InternationalPrice" table="`internationalprice`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.math.BigDecimal" lazy="false" column="`value`" not-null="false"/>
+ <property name="currency" type="java.lang.String" lazy="false" column="`currency`" not-null="false"/>
+ </class>
+ <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress">
+ <property name="state" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`state`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param>
+ </type>
+ </property>
+ <property name="zip" type="java.math.BigInteger" lazy="false" column="`zip`" not-null="false"/>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7031329f3
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:05 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
+ <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <many-to-one name="firstAddress" entity-name="FirstAddressHolder" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`firstaddressholder_firstaddress_id`"/>
+ </many-to-one>
+ <list name="secondAddress" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`addresslist_secondaddress_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_secondaddress_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="UKAddress" abstract="false" lazy="false" extends="Address" table="`ukaddress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="postcode" type="java.lang.String" lazy="false" column="`postcode`" not-null="true"/>
+ <property name="exportCode" type="java.math.BigInteger" lazy="false" column="`exportcode`" not-null="false"/>
+ </joined-subclass>
+ <joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`">
+ <key>
+ <column name="`ukaddress_id`"/>
+ </key>
+ <property name="district" type="java.lang.String" lazy="false" column="`district`" not-null="false"/>
+ </joined-subclass>
+ <class entity-name="FirstAddressHolder" abstract="false" lazy="false" table="`firstaddressholder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="value" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`firstaddressholder_value_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`firstaddressholder_value_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <class entity-name="InternationalPrice" abstract="false" lazy="false" table="`internationalprice`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.math.BigDecimal" lazy="false" column="`value`" not-null="false"/>
+ <property name="currency" type="java.lang.String" lazy="false" column="`currency`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="state" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`state`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.USState</param>
+ </type>
+ </property>
+ <property name="zip" type="java.math.BigInteger" lazy="false" column="`zip`" not-null="false"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml
index d60b4a766..e4b37f5b6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml
index deb290498..01626062e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:14 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:44 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b3b0232ac
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:13 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`address_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_group_idx`"/>
+ <one-to-many entity-name="Address_group"/>
+ </list>
+ </class>
+ <class entity-name="Address_group" lazy="false" table="`address_group`">
+ <meta attribute="eclass">Address</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="longName" type="java.lang.String" lazy="false" column="`longname`" not-null="false"/>
+ </class>
+ <class entity-name="AddressGroup" abstract="false" lazy="false" discriminator-value="AddressGroup" table="`addressgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <property name="simpleAddress" type="java.lang.String" lazy="false" column="`simpleaddress`" not-null="false"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <list name="addrs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`addresslist_addrs_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_addrs_idx`"/>
+ <one-to-many entity-name="AddressList_addrs"/>
+ </list>
+ </class>
+ <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`">
+ <meta attribute="eclass">AddressList</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SimpleAllMapType" abstract="false" lazy="false" discriminator-value="SimpleAllMapType" table="`simpleallmaptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="allMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simpleallmaptype_allmap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`simpleallmaptype_allmap_idx`"/>
+ <one-to-many entity-name="SimpleAllMapType_allMap"/>
+ </list>
+ </class>
+ <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`">
+ <meta attribute="eclass">SimpleAllMapType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="false"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="false"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="false"/>
+ </class>
+ <class entity-name="SimpleAllType" abstract="false" lazy="false" discriminator-value="SimpleAllType" table="`simplealltype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="true"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="true"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..e95282442
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:06 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="false" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`address_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_group_idx`"/>
+ <one-to-many entity-name="Address_group"/>
+ </list>
+ </class>
+ <class entity-name="Address_group" lazy="false" table="`address_group`">
+ <meta attribute="eclass">Address</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="longName" type="java.lang.String" lazy="false" column="`longname`" not-null="false"/>
+ </class>
+ <class entity-name="AddressGroup" abstract="false" lazy="false" table="`addressgroup`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ <property name="simpleAddress" type="java.lang.String" lazy="false" column="`simpleaddress`" not-null="false"/>
+ </class>
+ <class entity-name="AddressList" abstract="false" lazy="false" table="`addresslist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="groupName" type="java.lang.String" lazy="false" column="`groupname`" not-null="true"/>
+ <list name="addrs" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`addresslist_addrs_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`addresslist_addrs_idx`"/>
+ <one-to-many entity-name="AddressList_addrs"/>
+ </list>
+ </class>
+ <class entity-name="AddressList_addrs" lazy="false" table="`addresslist_addrs`">
+ <meta attribute="eclass">AddressList</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="shipTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_shipto_id`"/>
+ </many-to-one>
+ <many-to-one name="billTo" entity-name="Address" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`address_billto_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="SimpleAllMapType" abstract="false" lazy="false" table="`simpleallmaptype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="allMap" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simpleallmaptype_allmap_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`simpleallmaptype_allmap_idx`"/>
+ <one-to-many entity-name="SimpleAllMapType_allMap"/>
+ </list>
+ </class>
+ <class entity-name="SimpleAllMapType_allMap" lazy="false" table="`simpleallmaptype_allmap`">
+ <meta attribute="eclass">SimpleAllMapType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="false"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="false"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="false"/>
+ </class>
+ <class entity-name="SimpleAllType" abstract="false" lazy="false" table="`simplealltype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="aaa" type="java.lang.String" lazy="false" column="`aaa`" not-null="true"/>
+ <property name="bbb" type="java.lang.String" lazy="false" column="`bbb`" not-null="true"/>
+ <property name="ccc" type="java.lang.String" lazy="false" column="`ccc`" not-null="true"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml
index 11705a5d7..53fd8f898 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:23 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:00 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml
index 41d46785b..e755fd0e4 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:14 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:45 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="false" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..747ed6d13
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:10 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="statesByCountry" abstract="false" lazy="false" discriminator-value="statesByCountry" table="`statesbycountry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="true"/>
+ <property name="index" type="int" lazy="false" column="`index`" not-null="false"/>
+ <list name="allStates" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`statesbycountry_allstates_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`statesbycountry_allstates_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <list name="sixImportantStates" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`statesbycountry_siximportantstates_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`statesbycountry_siximportantstates_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..15ccd0777
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:02 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="statesByCountry" abstract="false" lazy="false" table="`statesbycountry`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="true"/>
+ <property name="index" type="int" lazy="false" column="`index`" not-null="false"/>
+ <list name="allStates" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`statesbycountry_allstates_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`statesbycountry_allstates_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <list name="sixImportantStates" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`statesbycountry_siximportantstates_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`statesbycountry_siximportantstates_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml
index b3f6deaf2..9ab94a3bf 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:21 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:55 CEST 2006 -->
<hibernate-mapping>
<class entity-name="statesByCountry" abstract="false" lazy="false" discriminator-value="statesByCountry" table="`statesbycountry`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml
index b179777f9..e53d32cfb 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:11 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:40 CEST 2006 -->
<hibernate-mapping>
<class entity-name="statesByCountry" abstract="false" lazy="false" table="`statesbycountry`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..1eda2bc2e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:11 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="LetterBodyType" abstract="false" lazy="false" discriminator-value="LetterBodyType" table="`letterbodytype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`letterbodytype_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`letterbodytype_mixed_idx`"/>
+ <one-to-many entity-name="LetterBodyType_mixed"/>
+ </list>
+ </class>
+ <class entity-name="LetterBodyType_mixed" lazy="false" table="`letterbodytype_mixed`">
+ <meta attribute="eclass">LetterBodyType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="salutation" entity-name="SalutationType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`salutationtype_salutation_id`"/>
+ </many-to-one>
+ <property name="quantity" type="java.math.BigInteger" lazy="false" column="`quantity`" not-null="false"/>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="false"/>
+ <property name="shipDate" type="serializable" lazy="false" column="`shipdate`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="SalutationType" abstract="false" lazy="false" discriminator-value="SalutationType" table="`salutationtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`salutationtype_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`salutationtype_mixed_idx`"/>
+ <one-to-many entity-name="SalutationType_mixed"/>
+ </list>
+ </class>
+ <class entity-name="SalutationType_mixed" lazy="false" table="`salutationtype_mixed`">
+ <meta attribute="eclass">SalutationType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..05b56df67
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:03 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="LetterBodyType" abstract="false" lazy="false" table="`letterbodytype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`letterbodytype_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`letterbodytype_mixed_idx`"/>
+ <one-to-many entity-name="LetterBodyType_mixed"/>
+ </list>
+ </class>
+ <class entity-name="LetterBodyType_mixed" lazy="false" table="`letterbodytype_mixed`">
+ <meta attribute="eclass">LetterBodyType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="salutation" entity-name="SalutationType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`salutationtype_salutation_id`"/>
+ </many-to-one>
+ <property name="quantity" type="java.math.BigInteger" lazy="false" column="`quantity`" not-null="false"/>
+ <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="false"/>
+ <property name="shipDate" type="serializable" lazy="false" column="`shipdate`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="SalutationType" abstract="false" lazy="false" table="`salutationtype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`salutationtype_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`salutationtype_mixed_idx`"/>
+ <one-to-many entity-name="SalutationType_mixed"/>
+ </list>
+ </class>
+ <class entity-name="SalutationType_mixed" lazy="false" table="`salutationtype_mixed`">
+ <meta attribute="eclass">SalutationType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml
index b2fc91290..435a3a591 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:22 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:57 CEST 2006 -->
<hibernate-mapping>
<class entity-name="LetterBodyType" abstract="false" lazy="false" discriminator-value="LetterBodyType" table="`letterbodytype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml
index a260099a4..c18838140 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:12 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:41 CEST 2006 -->
<hibernate-mapping>
<class entity-name="LetterBodyType" abstract="false" lazy="false" table="`letterbodytype`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..ce877ab89
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:14 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`a_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`a_group_idx`"/>
+ <one-to-many entity-name="A_group"/>
+ </list>
+ </class>
+ <class entity-name="A_group" lazy="false" table="`a_group`">
+ <meta attribute="eclass">A</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="b" type="java.lang.String" lazy="false" column="`b`" not-null="false"/>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="CType" abstract="false" lazy="false" discriminator-value="CType" table="`ctype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="cname" type="java.lang.String" lazy="false" column="`cname`" not-null="true"/>
+ <property name="cvalue" type="double" lazy="false" column="`cvalue`" not-null="false"/>
+ </class>
+ <class entity-name="Element" abstract="false" lazy="false" discriminator-value="Element" table="`element`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_mixed_idx`"/>
+ <one-to-many entity-name="Element_mixed"/>
+ </list>
+ </class>
+ <class entity-name="Element_mixed" lazy="false" table="`element_mixed`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="true" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_true_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_true_idx`"/>
+ <one-to-many entity-name="Element_true"/>
+ </list>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ <many-to-one name="recursive" entity-name="Element" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`element_recursive_id`"/>
+ </many-to-one>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="Element_true" lazy="false" table="`element_true`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..0456e1324
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:07 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="A" abstract="false" lazy="false" table="`a`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="group" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`a_group_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`a_group_idx`"/>
+ <one-to-many entity-name="A_group"/>
+ </list>
+ </class>
+ <class entity-name="A_group" lazy="false" table="`a_group`">
+ <meta attribute="eclass">A</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="b" type="java.lang.String" lazy="false" column="`b`" not-null="false"/>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="CType" abstract="false" lazy="false" table="`ctype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="cname" type="java.lang.String" lazy="false" column="`cname`" not-null="true"/>
+ <property name="cvalue" type="double" lazy="false" column="`cvalue`" not-null="false"/>
+ </class>
+ <class entity-name="Element" abstract="false" lazy="false" table="`element`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="mixed" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_mixed_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_mixed_idx`"/>
+ <one-to-many entity-name="Element_mixed"/>
+ </list>
+ </class>
+ <class entity-name="Element_mixed" lazy="false" table="`element_mixed`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ <list name="true" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`element_true_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`element_true_idx`"/>
+ <one-to-many entity-name="Element_true"/>
+ </list>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ <many-to-one name="recursive" entity-name="Element" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`element_recursive_id`"/>
+ </many-to-one>
+ <property name="fme_mixed_text" type="java.lang.String"/>
+ <property name="fme_mixed_cdata" type="java.lang.String"/>
+ <property name="fme_mixed_comment" type="java.lang.String"/>
+ </class>
+ <class entity-name="Element_true" lazy="false" table="`element_true`">
+ <meta attribute="eclass">Element</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="c" entity-name="CType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`ctype_c_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml
index 9be81558b..9e2004f12 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:24 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:01 CEST 2006 -->
<hibernate-mapping>
<class entity-name="A" abstract="false" lazy="false" discriminator-value="A" table="`a`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml
index b61c6f6d4..2d38b69f2 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:16 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:48 CEST 2006 -->
<hibernate-mapping>
<class entity-name="A" abstract="false" lazy="false" table="`a`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..35f654610
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:12 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="XMLDeviant" abstract="false" lazy="false" discriminator-value="XMLDeviant" table="`xmldeviant`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="numPosts" type="java.math.BigInteger" lazy="false" column="`numposts`" not-null="false"/>
+ <property name="signature" type="java.lang.String" lazy="false" column="`signature`" not-null="false"/>
+ <property name="email" type="java.lang.String" lazy="false" column="`email`" not-null="false"/>
+ <property name="firstSubscribed" type="serializable" lazy="false" column="`firstsubscribed`" not-null="false"/>
+ <property name="mailReader" type="java.lang.String" lazy="false" column="`mailreader`" not-null="false"/>
+ </class>
+ <subclass entity-name="Member" abstract="false" lazy="false" extends="XMLDeviant" discriminator-value="Member"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..92eab0625
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:04 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="XMLDeviant" abstract="false" lazy="false" table="`xmldeviant`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="numPosts" type="java.math.BigInteger" lazy="false" column="`numposts`" not-null="false"/>
+ <property name="signature" type="java.lang.String" lazy="false" column="`signature`" not-null="false"/>
+ <property name="email" type="java.lang.String" lazy="false" column="`email`" not-null="false"/>
+ <property name="firstSubscribed" type="serializable" lazy="false" column="`firstsubscribed`" not-null="false"/>
+ <property name="mailReader" type="java.lang.String" lazy="false" column="`mailreader`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="Member" abstract="false" lazy="false" extends="XMLDeviant" table="`member`">
+ <key>
+ <column name="`xmldeviant_id`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml
index cb758878a..f122aec91 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:22 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:59 CEST 2006 -->
<hibernate-mapping>
<class entity-name="XMLDeviant" abstract="false" lazy="false" discriminator-value="XMLDeviant" table="`xmldeviant`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml
index 7fdd8c418..d8bd787c3 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:13 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:43 CEST 2006 -->
<hibernate-mapping>
<class entity-name="XMLDeviant" abstract="false" lazy="false" table="`xmldeviant`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..6ac3569c8
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:09 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="SimpleList" abstract="false" lazy="false" discriminator-value="SimpleList" table="`simplelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <list name="boo" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_boo_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_boo_idx`"/>
+ <element type="boolean"/>
+ </list>
+ <list name="byt" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_byt_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_byt_idx`"/>
+ <element type="java.lang.Byte"/>
+ </list>
+ <list name="doubl" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_doubl_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_doubl_idx`"/>
+ <element type="java.lang.Double"/>
+ </list>
+ <list name="floa" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_floa_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_floa_idx`"/>
+ <element type="java.lang.Float"/>
+ </list>
+ <list name="inte" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_inte_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_inte_idx`"/>
+ <element type="java.lang.Integer"/>
+ </list>
+ <list name="long" table="longNum" lazy="true" cascade="all,delete-orphan">
+ <key/>
+ <list-index column="`simplelist_long_idx`"/>
+ <element type="java.lang.Long"/>
+ </list>
+ <list name="shor" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_shor_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_shor_idx`"/>
+ <element type="short"/>
+ </list>
+ <list name="dat" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_dat_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_dat_idx`"/>
+ <element type="java.util.Date"/>
+ </list>
+ <list name="limitedstring" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_limitedstring_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_limitedstring_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <array name="intArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_intarray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_intarray_idx`"/>
+ <element type="int"/>
+ </array>
+ <array name="doubleArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_doublearray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_doublearray_idx`"/>
+ <element type="double"/>
+ </array>
+ <array name="stringArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_stringarray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_stringarray_idx`"/>
+ <element type="java.lang.String"/>
+ </array>
+ <array name="byteArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_bytearray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_bytearray_idx`"/>
+ <element type="byte"/>
+ </array>
+ </class>
+ <class entity-name="SimpleType" abstract="false" lazy="false" discriminator-value="SimpleType" table="`simpletype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <property name="boo" type="boolean" lazy="false" column="`boo`" not-null="false"/>
+ <property name="byt" type="byte" lazy="false" column="`byt`" not-null="false"/>
+ <property name="doubl" type="double" lazy="false" column="`doubl`" not-null="false"/>
+ <property name="float" type="float" lazy="false" column="`float`" not-null="false"/>
+ <property name="inte" type="int" lazy="false" column="`inte`" not-null="false"/>
+ <property name="lon" type="long" lazy="false" column="`lon`" not-null="false"/>
+ <property name="shor" type="short" lazy="false" column="`shor`" not-null="false"/>
+ <property name="enu" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`enu`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param>
+ </type>
+ </property>
+ <property name="dat" type="date" lazy="false" column="`dat`" not-null="true" unique="false"/>
+ <property name="limitedstring" type="java.lang.String" lazy="false" column="`limitedstring`" not-null="true"/>
+ </class>
+ <class entity-name="SimpleTypeObject" abstract="false" lazy="false" discriminator-value="SimpleTypeObject" table="`simpletypeobject`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <property name="boo" type="java.lang.Boolean" lazy="false" column="`boo`" not-null="false"/>
+ <property name="byt" type="java.lang.Byte" lazy="false" column="`byt`" not-null="false"/>
+ <property name="doubl" type="java.lang.Double" lazy="false" column="`doubl`" not-null="false"/>
+ <property name="float" type="java.lang.Float" lazy="false" column="`float`" not-null="false"/>
+ <property name="inte" type="java.lang.Integer" lazy="false" column="`inte`" not-null="false"/>
+ <property name="lon" type="java.lang.Long" lazy="false" column="`lon`" not-null="false"/>
+ <property name="shor" type="java.lang.Short" lazy="false" column="`shor`" not-null="false"/>
+ <property name="enu" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`enu`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param>
+ </type>
+ </property>
+ <property name="dat" type="date" lazy="false" column="`dat`" not-null="false" unique="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5062803b2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:02 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="SimpleList" abstract="false" lazy="false" table="`simplelist`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <list name="boo" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_boo_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_boo_idx`"/>
+ <element type="boolean"/>
+ </list>
+ <list name="byt" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_byt_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_byt_idx`"/>
+ <element type="java.lang.Byte"/>
+ </list>
+ <list name="doubl" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_doubl_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_doubl_idx`"/>
+ <element type="java.lang.Double"/>
+ </list>
+ <list name="floa" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_floa_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_floa_idx`"/>
+ <element type="java.lang.Float"/>
+ </list>
+ <list name="inte" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_inte_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_inte_idx`"/>
+ <element type="java.lang.Integer"/>
+ </list>
+ <list name="long" table="longNum" lazy="true" cascade="all,delete-orphan">
+ <key/>
+ <list-index column="`simplelist_long_idx`"/>
+ <element type="java.lang.Long"/>
+ </list>
+ <list name="shor" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_shor_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_shor_idx`"/>
+ <element type="short"/>
+ </list>
+ <list name="dat" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_dat_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_dat_idx`"/>
+ <element type="java.util.Date"/>
+ </list>
+ <list name="limitedstring" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_limitedstring_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_limitedstring_idx`"/>
+ <element type="java.lang.String"/>
+ </list>
+ <array name="intArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_intarray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_intarray_idx`"/>
+ <element type="int"/>
+ </array>
+ <array name="doubleArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_doublearray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_doublearray_idx`"/>
+ <element type="double"/>
+ </array>
+ <array name="stringArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_stringarray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_stringarray_idx`"/>
+ <element type="java.lang.String"/>
+ </array>
+ <array name="byteArray" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`simplelist_bytearray_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`simplelist_bytearray_idx`"/>
+ <element type="byte"/>
+ </array>
+ </class>
+ <class entity-name="SimpleType" abstract="false" lazy="false" table="`simpletype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <property name="boo" type="boolean" lazy="false" column="`boo`" not-null="false"/>
+ <property name="byt" type="byte" lazy="false" column="`byt`" not-null="false"/>
+ <property name="doubl" type="double" lazy="false" column="`doubl`" not-null="false"/>
+ <property name="float" type="float" lazy="false" column="`float`" not-null="false"/>
+ <property name="inte" type="int" lazy="false" column="`inte`" not-null="false"/>
+ <property name="lon" type="long" lazy="false" column="`lon`" not-null="false"/>
+ <property name="shor" type="short" lazy="false" column="`shor`" not-null="false"/>
+ <property name="enu" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`enu`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param>
+ </type>
+ </property>
+ <property name="dat" type="date" lazy="false" column="`dat`" not-null="true" unique="false"/>
+ <property name="limitedstring" type="java.lang.String" lazy="false" column="`limitedstring`" not-null="true"/>
+ </class>
+ <class entity-name="SimpleTypeObject" abstract="false" lazy="false" table="`simpletypeobject`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="code" type="java.lang.String" lazy="false" column="`code`" not-null="false"/>
+ <property name="boo" type="java.lang.Boolean" lazy="false" column="`boo`" not-null="false"/>
+ <property name="byt" type="java.lang.Byte" lazy="false" column="`byt`" not-null="false"/>
+ <property name="doubl" type="java.lang.Double" lazy="false" column="`doubl`" not-null="false"/>
+ <property name="float" type="java.lang.Float" lazy="false" column="`float`" not-null="false"/>
+ <property name="inte" type="java.lang.Integer" lazy="false" column="`inte`" not-null="false"/>
+ <property name="lon" type="java.lang.Long" lazy="false" column="`lon`" not-null="false"/>
+ <property name="shor" type="java.lang.Short" lazy="false" column="`shor`" not-null="false"/>
+ <property name="enu" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`enu`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleEnum</param>
+ </type>
+ </property>
+ <property name="dat" type="date" lazy="false" column="`dat`" not-null="false" unique="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml
index 0214f0c9b..afd572d7f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:19 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:53 CEST 2006 -->
<hibernate-mapping>
<class entity-name="SimpleList" abstract="false" lazy="false" discriminator-value="SimpleList" table="`simplelist`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml
index 350b96366..c0600f18c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:09 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:36 CEST 2006 -->
<hibernate-mapping>
<class entity-name="SimpleList" abstract="false" lazy="false" table="`simplelist`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..a443ce5f6
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:11 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="orders" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_orders_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_orders_idx`"/>
+ <one-to-many entity-name="Supplier_orders"/>
+ </list>
+ </class>
+ <class entity-name="Supplier_orders" lazy="false" table="`supplier_orders`">
+ <meta attribute="eclass">Supplier</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="preferredOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_preferredorders_id`"/>
+ </many-to-one>
+ <many-to-one name="standardOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_standardorders_id`"/>
+ </many-to-one>
+ <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" column="`hardcopyorderreference`" not-null="false"/>
+ <property name="hardCopyOrderNumber" type="long" lazy="false" column="`hardcopyordernumber`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..5ae9653f5
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:04 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <class entity-name="Supplier" abstract="false" lazy="false" table="`supplier`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="orders" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`supplier_orders_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`supplier_orders_idx`"/>
+ <one-to-many entity-name="Supplier_orders"/>
+ </list>
+ </class>
+ <class entity-name="Supplier_orders" lazy="false" table="`supplier_orders`">
+ <meta attribute="eclass">Supplier</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="preferredOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_preferredorders_id`"/>
+ </many-to-one>
+ <many-to-one name="standardOrders" entity-name="PurchaseOrder" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`purchaseorder_standardorders_id`"/>
+ </many-to-one>
+ <property name="hardCopyOrderReference" type="java.lang.String" lazy="false" column="`hardcopyorderreference`" not-null="false"/>
+ <property name="hardCopyOrderNumber" type="long" lazy="false" column="`hardcopyordernumber`" not-null="false"/>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml
index defdea453..ebdcd394c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:22 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:57 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml
index cc6cf69ed..4db70b215 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:12 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:42 CEST 2006 -->
<hibernate-mapping>
<class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..3abe1a82a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:15 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ComplexNumber" abstract="false" lazy="false" discriminator-value="ComplexNumber" table="`complexnumber`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.math.BigInteger" lazy="false" column="`value`" not-null="true"/>
+ <property name="unit" type="java.lang.String" lazy="false" column="`unit`" not-null="true"/>
+ </class>
+ <subclass entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="EvenComplexNumberType"/>
+ <class entity-name="MultiNumberType" abstract="false" lazy="false" discriminator-value="MultiNumberType" table="`multinumbertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`multinumbertype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`multinumbertype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="MultiNumberType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="MultiNumberType_myComplexAbstractGroup" lazy="false" table="`multinumbertype_mycomplexabstractgroup`">
+ <meta attribute="eclass">MultiNumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexnumber_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="NumberType" abstract="false" lazy="false" discriminator-value="NumberType" table="`numbertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="mySimpleAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`numbertype_mysimpleabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`numbertype_mysimpleabstractgroup_idx`"/>
+ <one-to-many entity-name="NumberType_mySimpleAbstractGroup"/>
+ </list>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`numbertype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`numbertype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="NumberType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="NumberType_mySimpleAbstractGroup" lazy="false" table="`numbertype_mysimpleabstractgroup`">
+ <meta attribute="eclass">NumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" column="`mysimpleabstract`" not-null="false"/>
+ </class>
+ <class entity-name="NumberType_myComplexAbstractGroup" lazy="false" table="`numbertype_mycomplexabstractgroup`">
+ <meta attribute="eclass">NumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexnumber_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+ <subclass entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" discriminator-value="OddComplexNumberType"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..88ad92dd2
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:08 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ComplexNumber" abstract="false" lazy="false" table="`complexnumber`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="java.math.BigInteger" lazy="false" column="`value`" not-null="true"/>
+ <property name="unit" type="java.lang.String" lazy="false" column="`unit`" not-null="true"/>
+ </class>
+ <joined-subclass entity-name="EvenComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`evencomplexnumbertype`">
+ <key>
+ <column name="`complexnumber_id`"/>
+ </key>
+ </joined-subclass>
+ <class entity-name="MultiNumberType" abstract="false" lazy="false" table="`multinumbertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`multinumbertype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`multinumbertype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="MultiNumberType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="MultiNumberType_myComplexAbstractGroup" lazy="false" table="`multinumbertype_mycomplexabstractgroup`">
+ <meta attribute="eclass">MultiNumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexnumber_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+ <class entity-name="NumberType" abstract="false" lazy="false" table="`numbertype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="mySimpleAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`numbertype_mysimpleabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`numbertype_mysimpleabstractgroup_idx`"/>
+ <one-to-many entity-name="NumberType_mySimpleAbstractGroup"/>
+ </list>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`numbertype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`numbertype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="NumberType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="NumberType_mySimpleAbstractGroup" lazy="false" table="`numbertype_mysimpleabstractgroup`">
+ <meta attribute="eclass">NumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="mySimpleAbstract" type="java.math.BigInteger" lazy="false" column="`mysimpleabstract`" not-null="false"/>
+ </class>
+ <class entity-name="NumberType_myComplexAbstractGroup" lazy="false" table="`numbertype_mycomplexabstractgroup`">
+ <meta attribute="eclass">NumberType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexNumber" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexnumber_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+ <joined-subclass entity-name="OddComplexNumberType" abstract="false" lazy="false" extends="ComplexNumber" table="`oddcomplexnumbertype`">
+ <key>
+ <column name="`complexnumber_id`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml
index 8f1e7146e..e7eb5ac4c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:26 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:03 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ComplexNumber" abstract="false" lazy="false" discriminator-value="ComplexNumber" table="`complexnumber`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml
index 44993a952..a5bd0c502 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:17 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:50 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ComplexNumber" abstract="false" lazy="false" table="`complexnumber`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..52ec7eb1b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:15 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ComplexAAA" abstract="false" lazy="false" discriminator-value="ComplexAAA" table="`complexaaa`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="long" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <subclass entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexEvenType"/>
+ <subclass entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" discriminator-value="ComplexOddType"/>
+ <class entity-name="RootType" abstract="false" lazy="false" discriminator-value="RootType" table="`roottype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="myAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`roottype_myabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`roottype_myabstractgroup_idx`"/>
+ <one-to-many entity-name="RootType_myAbstractGroup"/>
+ </list>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`roottype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`roottype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="RootType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="RootType_myAbstractGroup" lazy="false" table="`roottype_myabstractgroup`">
+ <meta attribute="eclass">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="myAbstract" type="java.math.BigInteger" lazy="false" column="`myabstract`" not-null="false"/>
+ </class>
+ <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`">
+ <meta attribute="eclass">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexaaa_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..8ce29205d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:07 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="value" type="long" lazy="false" column="`value`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="ComplexEvenType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexeventype`">
+ <key>
+ <column name="`complexaaa_id`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="ComplexOddType" abstract="false" lazy="false" extends="ComplexAAA" table="`complexoddtype`">
+ <key>
+ <column name="`complexaaa_id`"/>
+ </key>
+ </joined-subclass>
+ <class entity-name="RootType" abstract="false" lazy="false" table="`roottype`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="myAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`roottype_myabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`roottype_myabstractgroup_idx`"/>
+ <one-to-many entity-name="RootType_myAbstractGroup"/>
+ </list>
+ <list name="myComplexAbstractGroup" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`roottype_mycomplexabstractgroup_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`roottype_mycomplexabstractgroup_idx`"/>
+ <one-to-many entity-name="RootType_myComplexAbstractGroup"/>
+ </list>
+ </class>
+ <class entity-name="RootType_myAbstractGroup" lazy="false" table="`roottype_myabstractgroup`">
+ <meta attribute="eclass">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <property name="myAbstract" type="java.math.BigInteger" lazy="false" column="`myabstract`" not-null="false"/>
+ </class>
+ <class entity-name="RootType_myComplexAbstractGroup" lazy="false" table="`roottype_mycomplexabstractgroup`">
+ <meta attribute="eclass">RootType</meta>
+ <id type="long">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="fme_feature" type="java.lang.String"/>
+ <many-to-one name="myComplexAbstract" entity-name="ComplexAAA" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`complexaaa_mycomplexabstract_id`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml
index 8984fc54a..85c3ec3e5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:25 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:02 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ComplexAAA" abstract="false" lazy="false" discriminator-value="ComplexAAA" table="`complexaaa`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml
index ed9f400de..f397beade 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:16 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:48:49 CEST 2006 -->
<hibernate-mapping>
<class entity-name="ComplexAAA" abstract="false" lazy="false" table="`complexaaa`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..0e62ee48a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="country" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`address_country_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_country_idx`"/>
+ <one-to-many entity-name="City"/>
+ </list>
+ </class>
+ <class entity-name="City" abstract="true" lazy="false" discriminator-value="City" table="`city`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`city_address_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`city_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="address" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_address_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress">
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="USCity" abstract="false" lazy="false" extends="City" discriminator-value="USCity">
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="false"/>
+ </subclass>
+ <subclass entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" discriminator-value="USOfficeAddress">
+ <property name="location" type="java.lang.String" lazy="false" column="`location`" not-null="false"/>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..408721d2b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="country" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`address_country_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`address_country_idx`"/>
+ <one-to-many entity-name="City"/>
+ </list>
+ </class>
+ <class entity-name="City" abstract="true" lazy="false" table="`city`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="address" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`city_address_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`city_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="address" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`person_address_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`person_address_idx`"/>
+ <one-to-many entity-name="Address"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="USCity" abstract="false" lazy="false" extends="City" table="`uscity`">
+ <key>
+ <column name="`city_id`"/>
+ </key>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
+ </joined-subclass>
+ <joined-subclass entity-name="USOfficeAddress" abstract="false" lazy="false" extends="USAddress" table="`usofficeaddress`">
+ <key>
+ <column name="`usaddress_id`"/>
+ </key>
+ <property name="location" type="java.lang.String" lazy="false" column="`location`" not-null="true"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml
index 7dd6f9ce1..cbcfdf1c1 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:32 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:10 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml
index d7fa92b07..086c26987 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.AbstractReferenceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:28 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..b3affea1e
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="father" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`person_father_name`"/>
+ </many-to-one>
+ <many-to-one name="mother" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`person_mother_name`"/>
+ </many-to-one>
+ <bag name="children" table="person_person" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Person" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..fa8cf715a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:17 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="father" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`person_father_name`"/>
+ </many-to-one>
+ <many-to-one name="mother" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`person_mother_name`"/>
+ </many-to-one>
+ <bag name="children" table="person_person" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key/>
+ <many-to-many entity-name="Person" unique="false"/>
+ </bag>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml
index 9da091d1b..4b39f5e85 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:31 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml
index a3efd53dc..1ad03a01e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.BagDuplicateAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:27 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:04 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..09010f039
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:22 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
+ <id name="itemType" column="`itemtype`">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param>
+ </type>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="nullableItemType" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`nullableitemtype`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param>
+ </type>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..2d4d62a3b
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:18 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Item" abstract="false" lazy="false" table="`item`">
+ <id name="itemType" column="`itemtype`">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param>
+ </type>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="nullableItemType" lazy="false" access="org.eclipse.emf.teneo.hibernate.mapping.EFeatureAccessor" column="`nullableitemtype`" not-null="false" unique="false">
+ <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
+ <param name="enumClass">org.eclipse.emf.teneo.samples.issues.enumtest.ItemType</param>
+ </type>
+ </property>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml
index b12d8be44..dbd5988c8 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:32 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:10 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
<id name="itemType" column="`itemtype`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml
index 9a55cb44f..d03509f81 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.EnumTestAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:28 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:05 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" table="`item`">
<id name="itemType" column="`itemtype`">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..4c6ebdcf4
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Thing" abstract="false" lazy="false" discriminator-value="Thing" table="`thing`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`thing_things_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`thing_things_idx`"/>
+ <one-to-many entity-name="SubThing"/>
+ </list>
+ </class>
+ <subclass entity-name="Annotation" abstract="false" lazy="false" extends="Thing" discriminator-value="Annotation"/>
+ <subclass entity-name="Interest" abstract="false" lazy="false" extends="Thing" discriminator-value="Interest"/>
+ <subclass entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" discriminator-value="SubOne"/>
+ <class entity-name="SubThing" abstract="false" lazy="false" discriminator-value="SubThing" table="`subthing`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <subclass entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" discriminator-value="SubTwo"/>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..d5fd8e7f7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:16 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Thing" abstract="false" lazy="false" table="`thing`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <list name="things" lazy="true" cascade="merge,persist,save-update,lock,refresh">
+ <key update="true">
+ <column name="`thing_things_name`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`thing_things_idx`"/>
+ <one-to-many entity-name="SubThing"/>
+ </list>
+ </class>
+ <joined-subclass entity-name="Annotation" abstract="false" lazy="false" extends="Thing" table="`annotation`">
+ <key>
+ <column name="`thing_name`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="Interest" abstract="false" lazy="false" extends="Thing" table="`interest`">
+ <key>
+ <column name="`thing_name`"/>
+ </key>
+ </joined-subclass>
+ <joined-subclass entity-name="SubOne" abstract="false" lazy="false" extends="Annotation" table="`subone`">
+ <key>
+ <column name="`annotation_name`"/>
+ </key>
+ </joined-subclass>
+ <class entity-name="SubThing" abstract="false" lazy="false" table="`subthing`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <joined-subclass entity-name="SubTwo" abstract="false" lazy="false" extends="Annotation" table="`subtwo`">
+ <key>
+ <column name="`annotation_name`"/>
+ </key>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml
index 225eb8f8d..3e8591a47 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:31 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Thing" abstract="false" lazy="false" discriminator-value="Thing" table="`thing`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml
index b9b244e29..7dfba923c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InheritanceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:26 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:03 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Thing" abstract="false" lazy="false" table="`thing`">
<id name="name" type="java.lang.String" column="`name`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7a5d8da69
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:23 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress">
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="false"/>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..09d055bb0
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:19 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Address" abstract="true" lazy="false" table="`address`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ </class>
+ <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`">
+ <key>
+ <column name="`address_id`"/>
+ </key>
+ <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml
index eee0b52de..7d9b699b5 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:33 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml
index 61e561e82..399325c8d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.InterfaceTrueAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:29 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:06 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Address" abstract="true" lazy="false" table="`address`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..93c99416d
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:21 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`">
+ <id name="hair" type="java.lang.String" column="`hair`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="head" entity-name="Head" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`head_head_hair`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..9a2f08cdd
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:17 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Head" abstract="false" lazy="false" table="`head`">
+ <id name="hair" type="java.lang.String" column="`hair`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ </class>
+ <class entity-name="Person" abstract="false" lazy="false" table="`person`">
+ <id name="name" type="java.lang.String" column="`name`"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <many-to-one name="head" entity-name="Head" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`head_head_hair`"/>
+ </many-to-one>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml
index ab85978c3..1f27fbe74 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:31 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:09 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Head" abstract="false" lazy="false" discriminator-value="Head" table="`head`">
<id name="hair" type="java.lang.String" column="`hair`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml
index ec4823bd0..a75c0948f 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.ResourceAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:27 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:04 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Head" abstract="false" lazy="false" table="`head`">
<id name="hair" type="java.lang.String" column="`hair`"/>
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..7668d2e08
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:23 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Me" abstract="false" lazy="false" discriminator-value="Me" table="`me`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="me_you">
+ <key update="true">
+ <column name="`me_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`me_you_idx`"/>
+ <many-to-many entity-name="You" unique="false">
+ <column name="`you_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="You" abstract="false" lazy="false" discriminator-value="You" table="`you`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="you_me">
+ <key update="true">
+ <column name="`you_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`you_me_idx`"/>
+ <many-to-many entity-name="Me" unique="false">
+ <column name="`me_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..532b89adb
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:20 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="Me" abstract="false" lazy="false" table="`me`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="you" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="me_you">
+ <key update="true">
+ <column name="`me_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`me_you_idx`"/>
+ <many-to-many entity-name="You" unique="false">
+ <column name="`you_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+ <class entity-name="You" abstract="false" lazy="false" table="`you`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="true"/>
+ <list name="me" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="you_me">
+ <key update="true">
+ <column name="`you_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`you_me_idx`"/>
+ <many-to-many entity-name="Me" unique="false">
+ <column name="`me_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </class>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml
index 3e847faf1..5751e2f4e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:33 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Me" abstract="false" lazy="false" discriminator-value="Me" table="`me`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml
index ff88c7652..d94880b80 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.SimplenmAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:29 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:06 CEST 2006 -->
<hibernate-mapping>
<class entity-name="Me" abstract="false" lazy="false" table="`me`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_a_o/hibernate.hbm.xml
new file mode 100644
index 000000000..eb5637b31
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_a_o/hibernate.hbm.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:24 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="AbstractSuper" abstract="false" lazy="false" discriminator-value="AbstractSuper" table="`abstractsuper`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <discriminator column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+ <subclass entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="M">
+ <list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="m_p">
+ <key update="true">
+ <column name="`m_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`m_p_idx`"/>
+ <many-to-many entity-name="P" unique="false">
+ <column name="`p_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </subclass>
+ <subclass entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="MList">
+ <list name="m" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`mlist_m_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`mlist_m_idx`"/>
+ <one-to-many entity-name="M"/>
+ </list>
+ </subclass>
+ <subclass entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="P">
+ <list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="p_m">
+ <key update="true">
+ <column name="`p_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`p_m_idx`"/>
+ <many-to-many entity-name="M" unique="false">
+ <column name="`m_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </subclass>
+ <subclass entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="PList">
+ <list name="p" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`plist_p_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`plist_p_idx`"/>
+ <one-to-many entity-name="P"/>
+ </list>
+ </subclass>
+ <subclass entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" discriminator-value="R">
+ <many-to-one name="plist" entity-name="PList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`plist_plist_id`"/>
+ </many-to-one>
+ <many-to-one name="mlist" entity-name="MList" cascade="all" lazy="false" insert="true" update="true" not-null="false">
+ <column not-null="false" unique="false" name="`mlist_mlist_id`"/>
+ </many-to-one>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_s_o/hibernate.hbm.xml
new file mode 100644
index 000000000..74a8ec1bf
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mssql_s_o/hibernate.hbm.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<!-- Generated by Teneo on Tue Oct 17 11:33:20 CEST 2006 -->
+<hibernate-mapping>
+ <class entity-name="AbstractSuper" abstract="false" lazy="false" table="`abstractsuper`">
+ <id type="long" name="e_id" column="e_id">
+ <generator class="native"/>
+ </id>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
+ <property name="name" type="java.lang.String" lazy="false" column="`name`" not-null="false"/>
+ </class>
+ <joined-subclass entity-name="M" abstract="false" lazy="false" extends="AbstractSuper" table="`m`">
+ <key>
+ <column name="`abstractsuper_id`"/>
+ </key>
+ <list name="p" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="m_p">
+ <key update="true">
+ <column name="`m_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`m_p_idx`"/>
+ <many-to-many entity-name="P" unique="false">
+ <column name="`p_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="MList" abstract="false" lazy="false" extends="AbstractSuper" table="`mlist`">
+ <key>
+ <column name="`abstractsuper_id`"/>
+ </key>
+ <list name="m" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`mlist_m_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`mlist_m_idx`"/>
+ <one-to-many entity-name="M"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="P" abstract="false" lazy="false" extends="AbstractSuper" table="`p`">
+ <key>
+ <column name="`abstractsuper_id`"/>
+ </key>
+ <list name="m" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="p_m">
+ <key update="true">
+ <column name="`p_id`" not-null="true" unique="false"/>
+ </key>
+ <list-index column="`p_m_idx`"/>
+ <many-to-many entity-name="M" unique="false">
+ <column name="`m_id`" not-null="true" unique="false"/>
+ </many-to-many>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="PList" abstract="false" lazy="false" extends="AbstractSuper" table="`plist`">
+ <key>
+ <column name="`abstractsuper_id`"/>
+ </key>
+ <list name="p" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`plist_p_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`plist_p_idx`"/>
+ <one-to-many entity-name="P"/>
+ </list>
+ </joined-subclass>
+ <joined-subclass entity-name="R" abstract="false" lazy="false" extends="AbstractSuper" table="`r`">
+ <key>
+ <column name="`abstractsuper_id`"/>
+ </key>
+ <many-to-one name="plist" entity-name="PList" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`plist_plist_id`"/>
+ </many-to-one>
+ <many-to-one name="mlist" entity-name="MList" cascade="all" lazy="false" insert="true" update="true" not-null="true">
+ <column not-null="true" unique="false" name="`mlist_mlist_id`"/>
+ </many-to-one>
+ </joined-subclass>
+</hibernate-mapping> \ No newline at end of file
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml
index 6e64e93dd..6f39d0816 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_a_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:34 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:11 CEST 2006 -->
<hibernate-mapping>
<class entity-name="AbstractSuper" abstract="false" lazy="false" discriminator-value="AbstractSuper" table="`abstractsuper`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml
index c2f902c60..fca0654a6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.issues.TopClassesAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Wed Oct 04 15:58:30 CEST 2006 -->
+<!-- Generated by Teneo on Mon Oct 16 21:49:07 CEST 2006 -->
<hibernate-mapping>
<class entity-name="AbstractSuper" abstract="false" lazy="false" table="`abstractsuper`">
<id type="long" name="e_id" column="e_id">
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/dbadapters.properties b/tests/org.eclipse.emf.teneo.hibernate.test/src/dbadapters.properties
index 44fcd7a37..e13e06ead 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/dbadapters.properties
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/dbadapters.properties
@@ -10,7 +10,7 @@
# Martin Taal
# </copyright>
#
-# $Id: dbadapters.properties,v 1.4 2006/08/28 18:25:15 mtaal Exp $
+# $Id: dbadapters.properties,v 1.5 2006/10/17 09:42:34 mtaal Exp $
# used to set database connection props in the test classes
@@ -37,15 +37,15 @@ pgsql.dbpassword=rt
pgsql.dbdriver=org.postgresql.Driver
pgsql.dbadapter=org.eclipse.emf.teneo.hibernate.test.stores.adapters.HibernatePgsqlDBAdapter
-mssql.dburl=jdbc:jtds:sqlserver://192.168.32.130:1435/
+mssql.dburl=jdbc:jtds:sqlserver://192.168.189.128:1433/
mssql.dbuser=sa
-mssql.dbpassword=s1men
+mssql.dbpassword=
mssql.dbdriver=net.sourceforge.jtds.jdbc.Driver
mssql.dbadapter=org.eclipse.emf.teneo.hibernate.test.stores.adapters.HibernateMssqlDBAdapter
-mcssql.dburl=jdbc:jtds:sqlserver://192.168.32.130:1435/
+mcssql.dburl=jdbc:jtds:sqlserver://192.168.189.128:1433/
mcssql.dbuser=sa
-mcssql.dbpassword=s1men
+mcssql.dbpassword=
mcssql.dbdriver=net.sourceforge.jtds.jdbc.Driver
mcssql.dbadapter=org.eclipse.emf.teneo.hibernate.test.stores.adapters.HibernateMssqlDBAdapter
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/local_test.properties b/tests/org.eclipse.emf.teneo.hibernate.test/src/local_test.properties
index 19146786e..b019eedb6 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/local_test.properties
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/local_test.properties
@@ -10,7 +10,7 @@
# Martin Taal
# </copyright>
#
-# $Id: local_test.properties,v 1.1 2006/09/29 05:14:23 mtaal Exp $
+# $Id: local_test.properties,v 1.2 2006/10/17 09:42:34 mtaal Exp $
# <cfgname>.dbadapter= name of a dbadapter (see dbadapters.properties)
@@ -34,11 +34,11 @@ mysql_s_o.optimistic=true
#pgsql_s_o.mapstrategy=JOINED
#pgsql_s_o.optimistic=true
-#mssql_a_o.dbadapter=mcssql
+#mssql_a_o.dbadapter=mssql
#mssql_a_o.mapstrategy=SINGLE_TABLE
#mssql_a_o.optimistic=true
-#mssql_s_o.dbadapter=mcssql
+#mssql_s_o.dbadapter=mssql
#mssql_s_o.mapstrategy=JOINED
#mssql_s_o.optimistic=true
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java
index 0a82628d5..0debf995e 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java
@@ -11,7 +11,7 @@
* Martin Taal
* </copyright>
*
- * $Id: AllTests.java,v 1.13 2006/10/04 14:09:51 mtaal Exp $
+ * $Id: AllTests.java,v 1.14 2006/10/17 09:42:33 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.test.emf.sample;
@@ -23,6 +23,7 @@ import org.eclipse.emf.teneo.hibernate.test.HibernateTestbed;
import org.eclipse.emf.teneo.test.conf.MultiCfgTestSuite;
import org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction;
import org.eclipse.emf.teneo.test.emf.sample.DynamicAction;
+import org.eclipse.emf.teneo.test.emf.sample.EcoreAction;
import org.eclipse.emf.teneo.test.emf.sample.ForumAction;
import org.eclipse.emf.teneo.test.emf.sample.InventoryAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryAction;
@@ -43,13 +44,15 @@ import org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction;
* All sample tests
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class AllTests {
public static Test suite() {
TestSuite suite = new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.hibernate.test.emf.sample", HibernateTestbed.instance()
.getConfigurations());
+ suite.addTestSuite(EcoreAction.class);
+
suite.addTestSuite(LibrarySessionControllerAction.class);
suite.addTestSuite(DynamicAction.class);
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/stores/HibernateTestStore.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/stores/HibernateTestStore.java
index bc5c10e43..6bc87b08d 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/stores/HibernateTestStore.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/stores/HibernateTestStore.java
@@ -11,7 +11,7 @@
* Martin Taal
* </copyright>
*
- * $Id: HibernateTestStore.java,v 1.6 2006/09/29 12:30:23 mtaal Exp $
+ * $Id: HibernateTestStore.java,v 1.7 2006/10/17 09:42:35 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.test.stores;
@@ -54,7 +54,7 @@ import org.hibernate.persister.entity.SingleTableEntityPersister;
* The hibernate test store encapsulates the datastore actions to a hibernate store.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class HibernateTestStore extends AbstractTestStore {
/** The logger */
@@ -306,7 +306,7 @@ public class HibernateTestStore extends AbstractTestStore {
public void doTearDown() {
AssertUtil.assertTrue("Transaction is still active at end of test", !((SessionImpl) session).isTransactionInProgress());
- if (tx.isActive()) {
+ if (tx.isActive() || ((SessionImpl) session).isTransactionInProgress()) {
tx.rollback();
}
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/test.ecore b/tests/org.eclipse.emf.teneo.hibernate.test/test.ecore
new file mode 100644
index 000000000..b7929a0df
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/test.ecore
@@ -0,0 +1,855 @@
+<?xml version="1.0" encoding="ASCII"?>
+<xmi:XMI 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">
+ <ecore:EPackage name="library" nsURI="http://www.eclipse.org/emf/teneo/samples/emf/sample/Library" nsPrefix="library">
+ <eClassifiers xsi:type="ecore:EClass" name="Book">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Book"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" unique="false" lowerBound="1" eType="/1/String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="title"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pages" unique="false" lowerBound="1" eType="/1/Int" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="pages"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" unique="false" lowerBound="1" eType="/0/BookCategory" defaultValueLiteral="Mystery" unsettable="true">
+ <eAnnotations source="teneo.jpa">
+ <details key="appinfo" value="@Enumerated(ORDINAL)"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="category"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="author" lowerBound="1" eType="/0/Writer" eOpposite="/0/Writer/books">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="author"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="BookCategory">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="BookCategory"/>
+ </eAnnotations>
+ <eLiterals name="Mystery"/>
+ <eLiterals name="ScienceFiction" value="1"/>
+ <eLiterals name="Biography" value="2"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="BookCategoryObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="BookCategory:Object"/>
+ <details key="baseType" value="BookCategory"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Library">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Library"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" eType="/1/String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="writers" upperBound="-1" eType="/0/Writer" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="writers"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1" eType="/0/Book" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="books"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Writer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Writer"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" eType="/1/String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1" eType="/0/Book" eOpposite="/0/Book/author">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="books"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ </ecore:EPackage>
+ <ecore:EPackage name="type" nsURI="http://www.eclipse.org/emf/2003/XMLType" nsPrefix="xml.type">
+ <eClassifiers xsi:type="ecore:EClass" name="AnyType" instanceClassName="org.eclipse.emf.ecore.xml.type.AnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="anyType"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1" eType="/2/EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="any" unique="false" upperBound="-1" eType="/2/EFeatureMapEntry" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":1"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="anyAttribute" unique="false" upperBound="-1" eType="/2/EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attributeWildcard"/>
+ <details key="wildcards" value="##any"/>
+ <details key="name" value=":2"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SimpleAnyType" instanceClassName="org.eclipse.emf.ecore.xml.type.SimpleAnyType" eSuperTypes="/1/AnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="simpleAnyType"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="rawValue" unique="false" eType="/1/String" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":3"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="/1/AnySimpleType" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":4"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="instanceType" lowerBound="1" eType="/2/EDataType" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":5"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XMLTypeDocumentRoot" instanceClassName="org.eclipse.emf.ecore.xml.type.XMLTypeDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1" eType="/2/EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1" eType="/2/EStringToStringMapEntry" transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1" eType="/2/EStringToStringMapEntry" transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cDATA" unique="false" upperBound="-2" eType="/1/String" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="cDATA"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" unique="false" upperBound="-2" eType="/1/String" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="comment"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" unique="false" upperBound="-2" eType="/1/String" volatile="true" transient="true" derived="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="text"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="AnySimpleType" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="anySimpleType"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="AnyURI" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="anyURI"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Base64Binary" instanceClassName="byte[]">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="base64Binary"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Boolean" instanceClassName="boolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="boolean"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="BooleanObject" instanceClassName="java.lang.Boolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="boolean:Object"/>
+ <details key="baseType" value="boolean"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Byte" instanceClassName="byte">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="byte"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ByteObject" instanceClassName="java.lang.Byte">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="byte:Object"/>
+ <details key="baseType" value="byte"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Date" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="date"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="DateTime" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="dateTime"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Decimal" instanceClassName="java.math.BigDecimal">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="decimal"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Double" instanceClassName="double">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="double"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="DoubleObject" instanceClassName="java.lang.Double">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="double:Object"/>
+ <details key="baseType" value="double"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Duration" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="duration"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ENTITIES" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="ENTITIES"/>
+ <details key="baseType" value="ENTITIES_._base"/>
+ <details key="minLength" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ENTITIESBase" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="ENTITIES_._base"/>
+ <details key="itemType" value="ENTITY"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ENTITY" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="ENTITY"/>
+ <details key="baseType" value="NCName"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Float" instanceClassName="float">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="float"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="FloatObject" instanceClassName="java.lang.Float">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="float:Object"/>
+ <details key="baseType" value="float"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GDay" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="gDay"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GMonth" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="gMonth"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GMonthDay" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="gMonthDay"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GYear" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="gYear"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GYearMonth" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="gYearMonth"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="HexBinary" instanceClassName="byte[]">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="hexBinary"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ID" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="ID"/>
+ <details key="baseType" value="NCName"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="IDREF" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="IDREF"/>
+ <details key="baseType" value="NCName"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="IDREFS" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="IDREFS"/>
+ <details key="baseType" value="IDREFS_._base"/>
+ <details key="minLength" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="IDREFSBase" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="IDREFS_._base"/>
+ <details key="itemType" value="IDREF"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Int" instanceClassName="int">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="int"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Integer" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="integer"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="IntObject" instanceClassName="java.lang.Integer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="int:Object"/>
+ <details key="baseType" value="int"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Language" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="language"/>
+ <details key="baseType" value="token"/>
+ <details key="pattern" value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Long" instanceClassName="long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="long"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="LongObject" instanceClassName="java.lang.Long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="long:Object"/>
+ <details key="baseType" value="long"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Name" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Name"/>
+ <details key="baseType" value="token"/>
+ <details key="pattern" value="\i\c*"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NCName" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="NCName"/>
+ <details key="baseType" value="Name"/>
+ <details key="pattern" value="[\i-[:]][\c-[:]]*"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NegativeInteger" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="negativeInteger"/>
+ <details key="baseType" value="nonPositiveInteger"/>
+ <details key="maxInclusive" value="-1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NMTOKEN" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="NMTOKEN"/>
+ <details key="baseType" value="token"/>
+ <details key="pattern" value="\c+"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NMTOKENS" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="NMTOKENS"/>
+ <details key="baseType" value="NMTOKENS_._base"/>
+ <details key="minLength" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NMTOKENSBase" instanceClassName="java.util.List">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="NMTOKENS_._base"/>
+ <details key="itemType" value="NMTOKEN"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NonNegativeInteger" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="nonNegativeInteger"/>
+ <details key="baseType" value="integer"/>
+ <details key="minInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NonPositiveInteger" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="nonPositiveInteger"/>
+ <details key="baseType" value="integer"/>
+ <details key="maxInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NormalizedString" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="normalizedString"/>
+ <details key="baseType" value="string"/>
+ <details key="whiteSpace" value="replace"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="NOTATION" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="NOTATION"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="PositiveInteger" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="positiveInteger"/>
+ <details key="baseType" value="nonNegativeInteger"/>
+ <details key="minInclusive" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="QName" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="QName"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Short" instanceClassName="short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="short"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ShortObject" instanceClassName="java.lang.Short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="short:Object"/>
+ <details key="baseType" value="short"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="String" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="string"/>
+ <details key="whiteSpace" value="preserve"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Time" instanceClassName="java.lang.Object">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="time"/>
+ <details key="baseType" value="anySimpleType"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="Token" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="token"/>
+ <details key="baseType" value="normalizedString"/>
+ <details key="whiteSpace" value="collapse"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedByte" instanceClassName="short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedByte"/>
+ <details key="maxInclusive" value="255"/>
+ <details key="minInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedByteObject" instanceClassName="java.lang.Short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedByte:Object"/>
+ <details key="baseType" value="unsignedByte"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedInt" instanceClassName="long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedInt"/>
+ <details key="maxInclusive" value="4294967295"/>
+ <details key="minInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedIntObject" instanceClassName="java.lang.Long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedInt:Object"/>
+ <details key="baseType" value="unsignedInt"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedLong" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedLong"/>
+ <details key="baseType" value="nonNegativeInteger"/>
+ <details key="maxInclusive" value="18446744073709551615"/>
+ <details key="minInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedShort" instanceClassName="int">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedShort"/>
+ <details key="maxInclusive" value="65535"/>
+ <details key="minInclusive" value="0"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="UnsignedShortObject" instanceClassName="java.lang.Integer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="unsignedShort:Object"/>
+ <details key="baseType" value="unsignedShort"/>
+ </eAnnotations>
+ </eClassifiers>
+ </ecore:EPackage>
+ <ecore:EPackage name="ecore" nsURI="http://www.eclipse.org/emf/2002/Ecore" nsPrefix="ecore">
+ <eClassifiers xsi:type="ecore:EClass" name="EAttribute" instanceClassName="org.eclipse.emf.ecore.EAttribute">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="iD" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAttributeType" lowerBound="1" eType="/2/EDataType" changeable="false" volatile="true" transient="true" derived="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EAnnotation" instanceClassName="org.eclipse.emf.ecore.EAnnotation" eSuperTypes="/2/EModelElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="source" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="details" upperBound="-1" eType="/2/EStringToStringMapEntry" containment="true" resolveProxies="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eModelElement" eType="/2/EModelElement" transient="true" resolveProxies="false" eOpposite="/2/EModelElement/eAnnotations"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="contents" upperBound="-1" eType="/2/EObject" containment="true" resolveProxies="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="references" upperBound="-1" eType="/2/EObject"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EClass" instanceClassName="org.eclipse.emf.ecore.EClass">
+ <eOperations name="isSuperTypeOf" eType="/2/EBoolean">
+ <eParameters name="someClass" eType="/2/EClass"/>
+ </eOperations>
+ <eOperations name="getFeatureCount" eType="/2/EInt"/>
+ <eOperations name="getEStructuralFeature" eType="/2/EStructuralFeature">
+ <eParameters name="featureID" eType="/2/EInt"/>
+ </eOperations>
+ <eOperations name="getFeatureID" eType="/2/EInt">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ </eOperations>
+ <eOperations name="getEStructuralFeature" eType="/2/EStructuralFeature">
+ <eParameters name="featureName" eType="/2/EString"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eSuperTypes" upperBound="-1" eType="/2/EClass"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eOperations" upperBound="-1" eType="/2/EOperation" containment="true" resolveProxies="false" eOpposite="/2/EOperation/eContainingClass"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllAttributes" upperBound="-1" eType="/2/EAttribute" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllReferences" upperBound="-1" eType="/2/EReference" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eReferences" upperBound="-1" eType="/2/EReference" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAttributes" upperBound="-1" eType="/2/EAttribute" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllContainments" upperBound="-1" eType="/2/EReference" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllOperations" upperBound="-1" eType="/2/EOperation" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllStructuralFeatures" upperBound="-1" eType="/2/EStructuralFeature" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAllSuperTypes" upperBound="-1" eType="/2/EClass" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eIDAttribute" eType="/2/EAttribute" changeable="false" volatile="true" transient="true" derived="true" resolveProxies="false"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eStructuralFeatures" upperBound="-1" eType="/2/EStructuralFeature" containment="true" resolveProxies="false" eOpposite="/2/EStructuralFeature/eContainingClass"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EClassifier" instanceClassName="org.eclipse.emf.ecore.EClassifier" abstract="true">
+ <eOperations name="isInstance" eType="/2/EBoolean">
+ <eParameters name="object" eType="/2/EJavaObject"/>
+ </eOperations>
+ <eOperations name="getClassifierID" eType="/2/EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceClassName" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceClass" eType="/2/EJavaClass" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="/2/EJavaObject" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ePackage" eType="/2/EPackage" changeable="false" transient="true" eOpposite="/2/EPackage/eClassifiers"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EDataType" instanceClassName="org.eclipse.emf.ecore.EDataType" eSuperTypes="/2/EClassifier">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="serializable" eType="/2/EBoolean" defaultValueLiteral="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EEnum" instanceClassName="org.eclipse.emf.ecore.EEnum" eSuperTypes="/2/EDataType">
+ <eOperations name="getEEnumLiteral" eType="/2/EEnumLiteral">
+ <eParameters name="name" eType="/2/EString"/>
+ </eOperations>
+ <eOperations name="getEEnumLiteral" eType="/2/EEnumLiteral">
+ <eParameters name="value" eType="/2/EInt"/>
+ </eOperations>
+ <eOperations name="getEEnumLiteralByLiteral" eType="/2/EEnumLiteral">
+ <eParameters name="literal" eType="/2/EString"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eLiterals" upperBound="-1" eType="/2/EEnumLiteral" containment="true" resolveProxies="false" eOpposite="/2/EEnumLiteral/eEnum"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EEnumLiteral" instanceClassName="org.eclipse.emf.ecore.EEnumLiteral" eSuperTypes="/2/ENamedElement">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="/2/EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="instance" eType="/2/EEnumerator" transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="literal" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eEnum" eType="/2/EEnum" changeable="false" transient="true" resolveProxies="false" eOpposite="/2/EEnum/eLiterals"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EFactory" instanceClassName="org.eclipse.emf.ecore.EFactory">
+ <eOperations name="create" eType="/2/EObject">
+ <eParameters name="eClass" eType="/2/EClass"/>
+ </eOperations>
+ <eOperations name="createFromString" eType="/2/EJavaObject">
+ <eParameters name="eDataType" eType="/2/EDataType"/>
+ <eParameters name="literalValue" eType="/2/EString"/>
+ </eOperations>
+ <eOperations name="convertToString" eType="/2/EString">
+ <eParameters name="eDataType" eType="/2/EDataType"/>
+ <eParameters name="instanceValue" eType="/2/EJavaObject"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ePackage" lowerBound="1" eType="/2/EPackage" transient="true" resolveProxies="false" eOpposite="/2/EPackage/eFactoryInstance"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EModelElement" instanceClassName="org.eclipse.emf.ecore.EModelElement" abstract="true" eSuperTypes="/2/EObject">
+ <eOperations name="getEAnnotation" eType="/2/EAnnotation">
+ <eParameters name="source" eType="/2/EString"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eAnnotations" upperBound="-1" eType="/2/EAnnotation" containment="true" resolveProxies="false" eOpposite="/2/EAnnotation/eModelElement"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ENamedElement" instanceClassName="org.eclipse.emf.ecore.ENamedElement" abstract="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="/2/EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EObject" instanceClassName="org.eclipse.emf.ecore.EObject">
+ <eOperations name="eClass" eType="/2/EClass"/>
+ <eOperations name="eIsProxy" eType="/2/EBoolean"/>
+ <eOperations name="eResource" eType="/2/EResource"/>
+ <eOperations name="eContainer" eType="/2/EObject"/>
+ <eOperations name="eContainingFeature" eType="/2/EStructuralFeature"/>
+ <eOperations name="eContainmentFeature" eType="/2/EReference"/>
+ <eOperations name="eContents" eType="/2/EEList"/>
+ <eOperations name="eAllContents" eType="/2/ETreeIterator"/>
+ <eOperations name="eCrossReferences" eType="/2/EEList"/>
+ <eOperations name="eGet" eType="/2/EJavaObject">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ </eOperations>
+ <eOperations name="eGet" eType="/2/EJavaObject">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ <eParameters name="resolve" eType="/2/EBoolean"/>
+ </eOperations>
+ <eOperations name="eSet">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ <eParameters name="newValue" eType="/2/EJavaObject"/>
+ </eOperations>
+ <eOperations name="eIsSet" eType="/2/EBoolean">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ </eOperations>
+ <eOperations name="eUnset">
+ <eParameters name="feature" eType="/2/EStructuralFeature"/>
+ </eOperations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EOperation" instanceClassName="org.eclipse.emf.ecore.EOperation">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="/2/EClass" changeable="false" transient="true" resolveProxies="false" eOpposite="/2/EClass/eOperations"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eParameters" upperBound="-1" eType="/2/EParameter" containment="true" resolveProxies="false" eOpposite="/2/EParameter/eOperation"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eExceptions" upperBound="-1" eType="/2/EClassifier"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EPackage" instanceClassName="org.eclipse.emf.ecore.EPackage">
+ <eOperations name="getEClassifier" eType="/2/EClassifier">
+ <eParameters name="name" eType="/2/EString"/>
+ </eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nsURI" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nsPrefix" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eFactoryInstance" lowerBound="1" eType="/2/EFactory" transient="true" resolveProxies="false" eOpposite="/2/EFactory/ePackage"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eClassifiers" upperBound="-1" eType="/2/EClassifier" containment="true" eOpposite="/2/EClassifier/ePackage"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eSubpackages" upperBound="-1" eType="/2/EPackage" containment="true" eOpposite="/2/EPackage/eSuperPackage"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eSuperPackage" eType="/2/EPackage" changeable="false" transient="true" eOpposite="/2/EPackage/eSubpackages"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EParameter" instanceClassName="org.eclipse.emf.ecore.EParameter" eSuperTypes="/2/ETypedElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eOperation" eType="/2/EOperation" changeable="false" transient="true" resolveProxies="false" eOpposite="/2/EOperation/eParameters"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EReference" instanceClassName="org.eclipse.emf.ecore.EReference" eSuperTypes="/2/EStructuralFeature">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="containment" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="container" eType="/2/EBoolean" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resolveProxies" eType="/2/EBoolean" defaultValueLiteral="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eOpposite" eType="/2/EReference"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eReferenceType" lowerBound="1" eType="/2/EClass" changeable="false" volatile="true" transient="true" derived="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EStructuralFeature" instanceClassName="org.eclipse.emf.ecore.EStructuralFeature" abstract="true">
+ <eOperations name="getFeatureID" eType="/2/EInt"/>
+ <eOperations name="getContainerClass" eType="/2/EJavaClass"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="changeable" eType="/2/EBoolean" defaultValueLiteral="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="volatile" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValueLiteral" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="/2/EJavaObject" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettable" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="derived" eType="/2/EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="/2/EClass" changeable="false" transient="true" resolveProxies="false" eOpposite="/2/EClass/eStructuralFeatures"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ETypedElement" instanceClassName="org.eclipse.emf.ecore.ETypedElement" abstract="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="ordered" eType="/2/EBoolean" defaultValueLiteral="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unique" eType="/2/EBoolean" defaultValueLiteral="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="/2/EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="/2/EInt" defaultValueLiteral="1"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="many" eType="/2/EBoolean" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="/2/EBoolean" changeable="false" volatile="true" transient="true" derived="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="eType" eType="/2/EClassifier"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EStringToStringMapEntry" instanceClassName="java.util.Map$Entry">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="/2/EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="/2/EString"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EBigDecimal" instanceClassName="java.math.BigDecimal">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#decimal"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EBigInteger" instanceClassName="java.math.BigInteger">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#integer"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EBoolean" instanceClassName="boolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#boolean"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EBooleanObject" instanceClassName="java.lang.Boolean">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EBoolean"/>
+ <details key="name" value="EBoolean:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EByte" instanceClassName="byte">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#byte"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EByteArray" instanceClassName="byte[]">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#hexBinary"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EByteObject" instanceClassName="java.lang.Byte">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EByte"/>
+ <details key="name" value="EByte:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EChar" instanceClassName="char"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="ECharacterObject" instanceClassName="java.lang.Character">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EChar"/>
+ <details key="name" value="EChar:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EDate" instanceClassName="java.util.Date"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EDiagnosticChain" instanceClassName="org.eclipse.emf.common.util.DiagnosticChain" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EDouble" instanceClassName="double">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#double"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EDoubleObject" instanceClassName="java.lang.Double">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EDouble"/>
+ <details key="name" value="EDouble:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EEList" instanceClassName="org.eclipse.emf.common.util.EList" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EEnumerator" instanceClassName="org.eclipse.emf.common.util.Enumerator" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EFeatureMap" instanceClassName="org.eclipse.emf.ecore.util.FeatureMap" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EFeatureMapEntry" instanceClassName="org.eclipse.emf.ecore.util.FeatureMap$Entry"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EFloat" instanceClassName="float">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#float"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EFloatObject" instanceClassName="java.lang.Float">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EFloat"/>
+ <details key="name" value="EFloat:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EInt" instanceClassName="int">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#int"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EIntegerObject" instanceClassName="java.lang.Integer">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EInt"/>
+ <details key="name" value="EInt:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EJavaClass" instanceClassName="java.lang.Class"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EJavaObject" instanceClassName="java.lang.Object" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="ELong" instanceClassName="long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#long"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ELongObject" instanceClassName="java.lang.Long">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="ELong"/>
+ <details key="name" value="ELong:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EMap" instanceClassName="java.util.Map" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EResource" instanceClassName="org.eclipse.emf.ecore.resource.Resource" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EResourceSet" instanceClassName="org.eclipse.emf.ecore.resource.ResourceSet" serializable="false"/>
+ <eClassifiers xsi:type="ecore:EDataType" name="EShort" instanceClassName="short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#short"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EShortObject" instanceClassName="java.lang.Short">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="EShort"/>
+ <details key="name" value="EShort:Object"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="EString" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="baseType" value="http://www.w3.org/2001/XMLSchema#string"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ETreeIterator" instanceClassName="org.eclipse.emf.common.util.TreeIterator" serializable="false"/>
+ </ecore:EPackage>
+</xmi:XMI>

Back to the top