Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <!DOCTYPE hibernate-mapping PUBLIC
- "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
- <hibernate-mapping>
- <class name="it.unibo.tw.hibernate.SCMapping" table="mapping">
- <id type = "int" column = "id">
- <generator class="native"/>
- </id>
- <properties name="map" unique="true">
- <many-to-one name="course" class="it.unibo.tw.hibernate.Course"
- column="idCourse"/>
- <many-to-one name="student" class="it.unibo.tw.hibernate.Student"
- column="idStudent"/>
- </properties>
- </class>
- </hibernate-mapping>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement