@Id
@GeneratedValue (strategy=GenerationType.IDENTITY)
@Column(name = "REJ_CDN")
int id;
* Tested with Sybase
Increment generator in hibernate
@Id
@GeneratedValue(generator = "autoincrement")
@GenericGenerator(strategy = "increment", name = "autoincrement")
@Column(name = "MYID")
Integer id;
* Tested with Sybase
Aucun commentaire:
Enregistrer un commentaire