KickJava   Java API By Example, From Geeks To Geeks.

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


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="locales_source")
9 public class LocaleSource {
10   /**
11    * CREATE TABLE `locales_source` (
12    * `lid` int(11) NOT NULL auto_increment,
13    * `location` varchar(255) NOT NULL default '',
14    * `source` blob NOT NULL,
15    * PRIMARY KEY (`lid`)
16    * );
17    */

18
19   @Id
20   private int lid;
21   private String JavaDoc location;
22   private String JavaDoc source; // blob
23
}
24
Popular Tags