Skip to content

Instantly share code, notes, and snippets.

@yusufcakmak
Created August 3, 2015 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusufcakmak/0cd48936f70eacce411e to your computer and use it in GitHub Desktop.
Save yusufcakmak/0cd48936f70eacce411e to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="co.mobiwise.hibernate.model.Book" table="Book">
<id name="id" type="int">
<column name="id" />
<generator class="increment" />
</id>
<property name="bookName" type="java.lang.String">
<column name="bookName" />
</property>
<property name="bookDesc" type="java.lang.String">
<column name="bookDesc" />
</property>
<property name="insertTime" type="timestamp">
<column name="insert_time" />
</property>
</class>
</hibernate-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment