diff options
author | mtaal | 2011-04-08 14:12:35 +0000 |
---|---|---|
committer | mtaal | 2011-04-08 14:12:35 +0000 |
commit | 6b966640125f22ced208f94520d24138120c68dd (patch) | |
tree | 26024f7007dfc263e191629a9c2bcf84a65d660b | |
parent | b2f8a22a15949f79b82af035f364eab7fdd6b53f (diff) | |
download | org.eclipse.emf.teneo-6b966640125f22ced208f94520d24138120c68dd.tar.gz org.eclipse.emf.teneo-6b966640125f22ced208f94520d24138120c68dd.tar.xz org.eclipse.emf.teneo-6b966640125f22ced208f94520d24138120c68dd.zip |
[342038]
-rwxr-xr-x | tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/UniqueConstraintsAction.persistence.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/UniqueConstraintsAction.persistence.xml b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/UniqueConstraintsAction.persistence.xml new file mode 100755 index 000000000..1189a6938 --- /dev/null +++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/UniqueConstraintsAction.persistence.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<persistence-mapping xmlns="http://www.eclipse.org/emft/teneo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <epackage namespace-uri="http://www.eclipse.org/emf/teneo/samples/emf/annotations/uniqueconstraints"> + + <eclass name="Item"> + <table> + <unique-constraint>MYSTR,MYINT,MYPROJECT</unique-constraint> + </table> + <property name="name"> + <column name="MYSTR" /> + </property> + <property name="project"> + <join-column name="MYPROJECT" /> + </property> + <property name="age"> + <column name="MYINT" /> + </property> + + </eclass> + + </epackage> + +</persistence-mapping>
\ No newline at end of file |