Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

getting next sequence value jpa postgress

@Query(value = "SELECT nextval('item_id_seq')", nativeQuery =
            true)
    Long getNextSeriesId();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequence #jpa #postgress
ADD COMMENT
Topic
Name
3+8 =