[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3972?page=c...
]
Evan Leonard commented on HHH-3972:
-----------------------------------
One more note: Its would be possible for the DerbyDialect to detect the derby version by
doing something like this:
import org.apache.derby.tools.sysinfo;
....
private int driverVersionMajor;
private int driverVersionMinor;
loadDriverVersion
{
driverVersionMajor = sysinfo.getMajorVersion()
driverVersionMinor = sysinfo.getMinorVersion()
}
....
This would require v10.1.2.1. Wrapping the calls to sysinfo in a try
catch(NoClassDefFoundError e) could preserve further backward compatibility.
Adding FETCH FIRST and OFFSET support to DerbyDialect
-----------------------------------------------------
Key: HHH-3972
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3972
Project: Hibernate Core
Issue Type: Patch
Components: core
Affects Versions: 3.2.0.ga, 3.3.1
Reporter: Evan Leonard
Assignee: Steve Ebersole
Fix For: 3.2.x, 3.3.x, 3.5
Attachments: Added_FETCH_FIRST_and_OFFSET_support_to_Derby_Dialect.patch
I've add support to the DerbyDialect for its recent addition of a limit clause [1].
Attached is a patch for this addition.
Thank you,
Evan Leonard
[1] -
http://db.apache.org/derby/docs/10.5/ref/rrefsqljoffsetfetch.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira