<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database name="bookstore-behavior" defaultIdMethod="native" package="behavior.timestampable">

	<table name="table1">
		<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
		<column name="title" type="VARCHAR" size="100" primaryString="true" />
		<column name="created_on" type="TIMESTAMP" />
		<column name="updated_on" type="TIMESTAMP" />
		<behavior name="timestampable">
		  <parameter name="create_column" value="created_on" />
		  <parameter name="update_column" value="updated_on" />
	  </behavior>
	</table>

	<table name="table2">
		<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
		<column name="title" type="VARCHAR" size="100" primaryString="true" />
		<behavior name="timestampable" />
	</table>

</database>
