Ticket #67 (closed enhancement: fixed)
Hibernate generated UserType should hold TYPE constant
| Reported by: | amandel | Owned by: | amandel |
|---|---|---|---|
| Priority: | major | Milestone: | unscheduled |
| Component: | code-generators | Version: | trunk |
| Keywords: | Cc: |
Description
Hibernate separates the UserType? interface from the actual Type interface that is used when a Type is passed via an API to Hibernate. For example SQLQuery.addScalar(...) requires a type.
Fortunately a adapter class CustomType? is part of Hibernate that can be used to get a Type out of a UserType?.
The generated UserTypes? should hold a constant (CustomType? is immutable) TYPE that holds the Type version of the UserType?.
Change History
Note: See
TracTickets for help on using
tickets.
