Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd57
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd
deleted file mode 100644
index ec8468d09..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
- targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:lib="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @GenericGenerator(name="system-uuid", strategy = "uuid")
- @GenericGenerator(name="hibseq", strategy = "hilo", parameters = {
- @Parameter(name="table", value = "hilo_table"), @Parameter(name="column",
- value="the_hilo_column") } )
- </xsd:appinfo>
- </xsd:annotation>
-
- <xsd:complexType name="SimpleID">
- <xsd:sequence>
- <xsd:element name="autoID" type="xsd:long" minOccurs="0">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue @Column(name="AUTOD")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="generated" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">@Version @Generated(ALWAYS)</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="TableID">
- <xsd:sequence>
- <xsd:element name="myid" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue(generator="hibseq")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="IdentityID">
- <xsd:sequence>
- <xsd:element name="myid" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue(strategy="IDENTITY")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-</xsd:schema>

Back to the top