
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Hibernate 3.1
|
|
| Virtual Machine: |
Sun JVM
- 1.5
|
| Platform: |
Standalone
|
|
When running a query using the HibernateTemplate().find(String, Object) method, I get an exception thrown out from Hibernate that says: "java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!". I've tracked it down to HibernateTemplate.java line 802. Clearly you're starting insertion at 0, and if hibernate is correct on that fact this should be changed.
|
|
Description
|
When running a query using the HibernateTemplate().find(String, Object) method, I get an exception thrown out from Hibernate that says: "java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!". I've tracked it down to HibernateTemplate.java line 802. Clearly you're starting insertion at 0, and if hibernate is correct on that fact this should be changed. |
Show » |
|
So could you please specify more details for your scenario? What exactly are you passing in for which HQL query string?
Juergen