Rev 2018 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2018 | Rev 2049 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <?xml version="1.0"?> |
1 | <?xml version="1.0"?> |
2 | <!DOCTYPE hibernate-mapping PUBLIC |
2 | <!DOCTYPE hibernate-mapping PUBLIC |
3 | "-//Hibernate/Hibernate Mapping DTD//EN" |
3 | "-//Hibernate/Hibernate Mapping DTD//EN" |
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
5 | 5 | ||
6 | <hibernate-mapping> |
6 | <hibernate-mapping> |
7 | <class name="pt.estgp.es.exemplos.hibernate.User" table="user"> |
7 | <class name="pt.estgp.es.exemplos.hibernate.User" table="user"> |
8 | <meta attribute="scope-class">public abstract</meta> |
8 | <meta attribute="scope-class">public abstract</meta> |
9 | <meta attribute="extends">DomainObject</meta> |
9 | <meta attribute="extends">DomainObject</meta> |
Line 21... | Line 21... | ||
21 | <property name="password" type="string" /> |
21 | <property name="password" type="string" /> |
22 | <property name="roles" type="string" /> |
22 | <property name="roles" type="string" /> |
23 | <subclass name="pt.estgp.es.exemplos.hibernate.UserImpl" discriminator-value="UserImpl"/> |
23 | <subclass name="pt.estgp.es.exemplos.hibernate.UserImpl" discriminator-value="UserImpl"/> |
24 | </class> |
24 | </class> |
25 | </hibernate-mapping> |
25 | </hibernate-mapping> |
26 | - |