Davide D'Alto (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNjczNDUyOTFl...
) / New Feature (
https://hibernate.atlassian.net/browse/HHH-16260?atlOrigin=eyJpIjoiNjczND...
) HHH-16260 (
https://hibernate.atlassian.net/browse/HHH-16260?atlOrigin=eyJpIjoiNjczND...
) JdbcParameterRenderer not called with dynamic filters (
https://hibernate.atlassian.net/browse/HHH-16260?atlOrigin=eyJpIjoiNjczND...
)
Issue Type: New Feature Assignee: Unassigned Created: 07/Mar/2023 02:48 AM Priority: Major
Reporter: Davide D'Alto (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Example of mapping that skips the JdbcParameterRenderer:
@FilterDef(name = "current" , defaultCondition = "deleted = false "
)
@FilterDef(name = "region" , defaultCondition = "region = :region" ,
parameters = @ParamDef(name = "region" , type =
org.hibernate.type.descriptor.java.StringJavaType.class))
@Entity(name = "Element" )
@Table(name = "Element" )
@Filter(name = "current" )
@Filter(name = "region" )
public static class Element {
...
}
A test class is availble on my repository:
https://github.com/DavideD/hibernate-orm/blob/filterTest/hibernate-core/s...
(
https://github.com/DavideD/hibernate-orm/blob/filterTest/hibernate-core/s...
)
(
https://hibernate.atlassian.net/browse/HHH-16260#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16260#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:45db922 )