Top "Nextval" questions

get next sequence value from database using hibernate

I have an entity that has an NON-ID field that must be set from a sequence. Currently, I fetch for …

sql hibernate sequence nextval
PostgreSQL next value of the sequences?

I am using PostgreSQL for my Codeigniter website. I am using grocery crud for add, edit and delete operations. While …

codeigniter postgresql sequence postgresql-9.1 nextval
Calling next value of a sequence in jpa

I have a class mapped as an Entity to persist it in a database. I have an id field as …

java hibernate jpa sequence nextval
How to get Oracle next sequence value in .NET Entity Framework?

I have a web api post method that inserts a new row in my table in my Oracle database. I'm …

.net entity-framework oracle11g sequence nextval
Retrieving CURRVAL and NEXTVAL in a single query

Using SQLPlus, I have the following sequence generated: CREATE SEQUENCE pubnum_seq START WITH 7 INCREMENT BY 2 MAXVALUE 1000; What I want …

sql oracle nextval
rename sequence in other schema with same currval

I need to rename bunch of sequences in another schema. RENAME old_seq to new_seq doesnt work. Tried: ALTER …

sql sequence rename alter nextval