3.5.4.6. DB2 Properties
The db2 dictionary understands the following additional properties:
-
AppendExtendedExceptionText: If false, OpenJPA will not call back to the database to get extended exception text. -
SupportsRowNum: If true, OpenJPA will useROWNUMfacility for range based queries that set an offset and/or limit viasetFirstResult()andsetMaxResult()query methods. This property must be set totruealongwithSupportsSelectStartIndexandSupportsSelectEndIndex. By default,SupportsRowNumis set tofalse. It is appropriate to setSupportsRowNumtotrueonly when DB2 version being used is 9.7 or later.