Service.xml

<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 5.0.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_5_0_0.dtd">  Canopy  <&#33;-- 		 Use a class to generate the primary key. --> 		         

Primay key field
There are four ways to create the primary key:
 * 1) id-type="class" : You use a class to generate the primary, works for all situations
 * 2) id-type="increment" : Works for all databases supported but not in a clustered enviroment
 * 3) id-type="identity" : Works for DB2, MySQL, and MS SQL Server.
 * 4) id-type="id-type="sequence" id-param="id_sequence" : Works for DB2, Oracle, PostgreSQL, and SAP DB.