Changeset 30


Ignore:
Timestamp:
20-08-09 15:13:38 (10 years ago)
Author:
matthijsln
Message:

gebruik orm.xml om Generated Value? strategy te overriden (is PostgreSQL specifiek)

Location:
openwion-persistence/trunk/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • openwion-persistence/trunk/src/nl/openwion/entity/GraafberichtRequest.java

    r24 r30  
    66import javax.persistence.Entity; 
    77import javax.persistence.GeneratedValue; 
    8 import javax.persistence.GenerationType; 
    98import javax.persistence.Id; 
    109 
     
    1514    private String klicNummer; 
    1615 
    17     @Id @GeneratedValue(strategy=GenerationType.IDENTITY) 
     16    @Id 
     17    @GeneratedValue 
    1818    public Long getId() { 
    1919        return id; 
     
    2424    } 
    2525 
    26     @Basic @Column(nullable = false) @org.hibernate.validator.NotNull 
     26    @Basic 
     27    @Column(nullable = false) 
     28    @org.hibernate.validator.NotNull 
    2729    public Date getDateTimeReceived() { 
    2830        return dateTimeReceived; 
     
    3335    } 
    3436 
    35     @Basic @Column(nullable = false) @org.hibernate.validator.NotNull 
     37    @Basic 
    3638    public String getKlicNummer() { 
    3739        return klicNummer; 
Note: See TracChangeset for help on using the changeset viewer.