-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: @Covert doesn't work with @ElementCollection
PostPosted: Sun Sep 21, 2014 11:38 pm 
Newbie

Joined: Sun Sep 21, 2014 11:22 pm
Posts: 2
I downloaded the test for the fix HHH-8529
https://github.com/hibernate/hibernate-orm/blob/4.3.6.Final/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/CollectionElementConversionTest.java
It runs correctly in my environment.

The above test is with EntityManagerFactory. When I try the same test with SessionFactory, I still hit the problem
Could not determine type for: ... ColorType

Does the fix also apply to SessionFactory? Or did I miss something in building the SessionFactory?


Top
 Profile  
 
 Post subject: Re: @Covert doesn't work with @ElementCollection
PostPosted: Mon Sep 22, 2014 5:28 am 
Newbie

Joined: Sun Sep 21, 2014 11:22 pm
Posts: 2
Turns out there are issues with both Hibernate and Spring

https://hibernate.atlassian.net/browse/HHH-9409
https://jira.spring.io/browse/SPR-12234

There is no simple way to make @Covert work with @ElementCollection using Spring LocalSessionFactoryBean.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.