how to get the next sequence value in hibernate using named query? -
hi want next value of notificationerrorlog_sequence sequence using hibernate named query,please let me know solution this
@id @sequencegenerator(name = "employee_sequence", sequencename = "employee_seq", allocationsize=1) @generatedvalue(strategy=generationtype.sequence, generator="employee_sequence") @column(name = "id", updatable = false, nullable = false) private long id;
Comments
Post a Comment