79440178

Date: 2025-02-14 17:49:19
Score: 1
Natty:
Report link

For me with postgres, this worked fine:


Long nextValue = session.createNativeQuery("select nextval('seq_name')", Long.class)
                .getSingleResult()

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abu Sufian