Guest User

Untitled

a guest
Dec 20th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. @Entity
  2. @Table(name = "first_msg", uniqueConstraints = { @UniqueConstraint( columnNames = { "user_id", "login" } ) })
  3. public class FirstMsgItem {
  4.     @Id
  5.     @SequenceGenerator(name="pk_sequence",sequenceName="firstmsg_id_seq", allocationSize=1)
  6.     @GeneratedValue(strategy=GenerationType.AUTO)
  7.     @Column(name = "id")
  8.     private int id;
  9. ...
Advertisement
Add Comment
Please, Sign In to add comment