Created
July 9, 2015 19:00
-
-
Save chingovan/a4db9495b0afd04fb93e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd"> | |
<service-builder | |
package-path="com.blogspot.chingovan.tutorial.combine"> | |
<author>chinv</author> | |
<namespace>combine</namespace> | |
<entity name="Student" local-service="true" remote-service="true" table="Student"> | |
<!-- PK fields --> | |
<column name="studentId" type="long" primary="true" db-name="StudentId"/> | |
<!-- Other fields --> | |
<column name="code" type="String" db-name="Code"/> | |
<column name="fullName" type="String" db-name="FullName"/> | |
<column name="birthday" type="Date" db-name="Birthday"/> | |
<column name="gender" type="boolean" db-name="Gender"/> | |
<column name="address" type="String" db-name="Address"/> | |
<!-- Order --> | |
<order by="asc"> | |
<order-column name="fullName" /> | |
</order> | |
<!-- Finder methods --> | |
</entity> | |
</service-builder> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment