Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はOracleを使用してこの問題の解決策を見つけるために掘り下げていましたが、これまでに見つけることができたのはcom.mysema.query.sql.SQLExpressionのnextvalメソッドだけでしたが、使用方法がよくわかりませんドキュメントでも何も見つかりませんでした。
それを使用しなければならず、それを理解している人はいますか?
電話するだけ
SQLExpressions.nextval("sequence name")
Long 型の式を取得する
別のタイプが必要な場合は、たとえば呼び出します
SQLExpressions.nextval(Integer.class, "sequence name")