Return to Snippet

Revision: 33290
at October 7, 2010 19:34 by virgium03hotmailcom


Initial Code
@Id
@Column(name = "OFFER_ID")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "OFR_OFFERS_SEQ")
@SequenceGenerator(name = "OFR_OFFERS_SEQ", sequenceName = "OFR_OFFERS_SEQ", allocationSize = 1)
private Long offerId;

Initial URL

                                

Initial Description

                                

Initial Title
Use sequences on Hibernate entities

Initial Tags
table

Initial Language
Java