Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #38442 All Revisions ] Back to Issue ]
Summary 0038442: Do not use positional query parameters with Query
Revision 2018-04-25 10:16 by caristu
Description Legacy-style query parameters ('?') are no longer supported in Hibernate 5.3[1].

Therefore, queries generated with Query class using such kind of parameters are not working anymore starting from that Hibernate version. This issue affects to the methods using an int that determines the parameter position:

 - setParameter(int, Object)
 - setString(int, String)
 - setInteger(int, int)
 - setDate(int, Date)
 - etc

Named parameters should be used instead.

[1] https://hibernate.atlassian.net/browse/HHH-12101 [^]
Revision 2018-04-25 10:10 by caristu
Description Legacy-style query parameters ('?') are no longer supported in Hibernate 5.3[1]

Therefore, queries generated with Query class using such kind of parameters are not working anymore starting from that Hibernate version. This issue affects to the methods using an int that determines the parameter position:

 - setParameter(int, Object)
 - setString(int, String)
 - setInteger(int, int)
 - setDate(int, Date)
 - etc

Named parameters should be used instead.

[1] https://hibernate.atlassian.net/browse/HHH-12101 [^]
Revision 2018-04-25 10:10 by caristu
Description Legacy-style query parameters ('?') are no longer supported in Hibernate 5.3[1]

Therefore, queries generated with Query class using such kind of parameters are not working anymore starting from that Hibernate version. This issue affects to the methods using an int that determines the parameter position:

 - setParameter(int, Object)
 - setString(int, String)
 - setInteger(int, int)
 - etc

Named parameters should be used instead.

[1] https://hibernate.atlassian.net/browse/HHH-12101 [^]
Revision 2018-04-25 09:20 by caristu
Description Legacy-style query parameters ('?') are no longer supported in Hibernate 5.3[1]

Therefore, queries generated with Query class using such kind of parameters are not working anymore starting from that Hibernate version. This issue affects to the following methods:

 - setParameter(int, Object)
 - setString(int, String)
 - setInteger(int, int)
 - ...

Named parameters should be used instead.

[1] https://hibernate.atlassian.net/browse/HHH-12101 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker