forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBasicObject.hbm.xml
49 lines (39 loc) · 1.07 KB
/
BasicObject.hbm.xml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="false">
<class
name="NHibernate.DomainModel.NHSpecific.BasicObject, NHibernate.DomainModel"
table="bc_obj"
>
<id name="Id">
<generator class="native" />
</id>
<property name="Name" />
<property name="Any" type="Object" >
<column name="the_type" />
<column name="id_ser" />
</property>
<property name="AnyWithProxy" type="Object" >
<column name="the_ptype" />
<column name="id_pser" />
</property>
</class>
<class
name="NHibernate.DomainModel.NHSpecific.BasicObjectRef, NHibernate.DomainModel"
table="bc_ref"
>
<id name="Id">
<generator class="native" />
</id>
<property name="Name" />
</class>
<class
name="NHibernate.DomainModel.NHSpecific.BasicObjectProxy, NHibernate.DomainModel"
proxy="NHibernate.DomainModel.NHSpecific.IBasicObjectProxy, NHibernate.DomainModel"
table="bc_ref_p"
>
<id name="Id">
<generator class="native" />
</id>
<property name="Name" />
</class>
</hibernate-mapping>