Filter definition parameter type doesn't allow custom types

Description

Creating a <filter-def/> that has a <filter-param/> with the type attribute set to a custom type fails to correctly define the filter parameter.

i.e.
<hibernate-mapping>
<typedef name="myCustomType" class="com.type.MyCustomType">
<param name="myParam">myValue</param>
</typedef>
<class name="com.models.Category" table="category" schema="public">
...
</class>
<filter-def name="categoryTypeFilter" >
<filter-param name="types" type="myCustomType"/>
</filter-def>
</hibernate-mapping>

I have attached a patch file that was my attempt to fix the problem.

Attachments

1
  • 01 Jul 2008, 09:05 AM

Activity

Brett MeyerMarch 3, 2014 at 3:40 PM

Bulk rejecting issues lacking a test case or recent response.

Brett MeyerDecember 19, 2013 at 10:31 PM

Note: In an attempt to clean up the HHH JIRA, we will be rejecting any ticket that sits in the "Awaiting Test Case" state for 2-3 months with no response. So, if this issue is critical to you, please attach a reproducing test case ASAP. Thanks!

Brett MeyerDecember 13, 2013 at 7:57 PM

If this is still an issue on ORM 4.2.x or 4.3, anyone have a test case to attach?

Rejected

Details

Assignee

Reporter

Components

Priority

Created July 1, 2008 at 9:05 AM
Updated March 3, 2014 at 3:40 PM
Resolved March 3, 2014 at 3:40 PM

Flag notifications