Hey Chris,
That is not the expected behavior. Myabe just an oversight in how
components (embeddables) are handled? If that is the behavior you see,
I would consider that a bug. Please create a JIRA and attach a test
case as outlined @
http://hibernate.org/issuetracker
If you want to give solving the problem a go, have a look @
https://github.com/hibernate/hibernate-orm/wiki/Contributing-Code
On Tue 01 May 2012 05:02:07 AM CDT, Chris Pheby wrote:
Hello,
The new type registry capability in Hibernate 4 and above is really useful. I have
implemented an integrator that autoregisters some types, however what I have found is that
whilst this works perfectly, the registered types are not being resolved correctly when
they are used within @Embeddable classes.
Is this the expected behaviour?
I have tried debugging through the sources and it looks like the SessionFactory's
TypeResolver is not used in the case of properties of such classes. See the comments at
http://blog.jadira.co.uk/blog/2012/1/19/release-jadira-usertype-300cr1-wi....
Thanks Chris
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
steve(a)hibernate.org
http://hibernate.org