Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMmZkNDg1ODI1...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-16284?atlOrigin=eyJpIjoiMmZkND...
) HHH-16284 (
https://hibernate.atlassian.net/browse/HHH-16284?atlOrigin=eyJpIjoiMmZkND...
) Rename JdbcParameterRender to ParameterMarkerStrategy (
https://hibernate.atlassian.net/browse/HHH-16284?atlOrigin=eyJpIjoiMmZkND...
)
Change By: Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
{code:java}/**
* Extension point Strategy for rendering generating parameter markers into SQL strings for
PreparedStatements.
*...
*/
interface ParameterMarkerStrategy {
/**
* Create a parameter marker for the parameter at the given position
*
* @param The 1-based position of the parameter in the with a statement.
* @param jdbcType The type of the parameter, if known - may be {@code null}.
* /
String createParameterMarker createMarker (int position , JdbcType jdbcType );
}{code}
I go back and forth about the {{JdbcType}} argument. Just seems like it would ultimately
be useful, but (1) none of the code uses it and (2) in many code paths ({{SimpleSelect}}
and friends, native-query,..) that information is not even available.
(
https://hibernate.atlassian.net/browse/HHH-16284#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16284#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:2199b34 )