Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version = "1.0" encoding = "utf-8"?>
- <!DOCTYPE hibernate-mapping PUBLIC
- "-//Hibernate/Hibernate Mapping DTD//EN"
- "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
- <hibernate-mapping>
- <class name = "Employee" table = "EMPLOYEE">
- <meta attribute = "class-description">
- This class contains the employee detail.
- </meta>
- <id name = "id" type = "int" column = "id">
- <generator class="native"/>
- </id>
- <property name = "firstName" column = "first_name" type = "string"/>
- <property name = "lastName" column = "last_name" type = "string"/>
- <property name = "salary" column = "salary" type = "int"/>
- </class>
- </hibernate-mapping>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement