Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7a03b2bad3888e3b530b0b25bdaf80787e2d866f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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">

<hibernate-mapping auto-import="false">
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`MYBOOKTABLE`">
		<meta attribute="eclassName" inherit="false">Book</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/edatatype_column</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId" inherit="false">true</meta>
			<generator class="native"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
		<property name="title" lazy="false" insert="true" update="true" not-null="false" unique="true" type="java.lang.String">
			<column not-null="false" unique="true" name="`TITEL`" length="25"/>
		</property>
		<property name="pages" lazy="false" insert="false" update="false" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`PAGES`"/>
		</property>
		<property name="weight" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
			<column not-null="false" unique="false" name="`GEWICHT`" precision="5" scale="2"/>
		</property>
		<property name="author" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`AUTHOR`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top