KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > demo > drupal > persistence > ProfileValue


1 package demo.drupal.persistence;
2
3 import javax.persistence.Id;
4 import javax.persistence.Entity;
5 import javax.persistence.Table;
6
7 @Entity
8 @Table(name="profile_values")
9 public class ProfileValue {
10   /**
11    * CREATE TABLE `profile_values` (
12    * `fid` int(10) unsigned default '0',
13    * `uid` int(10) unsigned default '0',
14    * `value` text,
15    * KEY `uid` (`uid`),
16    * KEY `fid` (`fid`)
17    * );
18    */

19
20   @Id
21   private int fid;
22   private int uid;
23   private String JavaDoc value;
24 }
25
Popular Tags