-->
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.  [ 1 post ] 
Author Message
 Post subject: "Could not determine type for" + @Converter + JPA
PostPosted: Sun Feb 02, 2014 6:02 pm 
Newbie

Joined: Sat Jan 21, 2006 8:30 pm
Posts: 6
Hi!

I'm honestly not sure where to post this problem of mine. If anyone could even give me a pointer that would be awesome already!
I basically have a simple project with 1 model class where one property has a @Converter (JPA2) annotation to it. That's the only "edgy" aspect of it (I've done JPA and all a million times and this time I only wanted to test this @Converter thingy).

I put my test projects on github: https://github.com/lpezet/troubleshoot-hcj
If I put all my stuff (class, deps, etc.) in 1 single web project (troubleshoot-hcj), all good: jetty (that's just what I'm using at the moment) starts just fine. If you checkout the code, running mvn clean jetty:run will just show "[INFO] Started Jetty Server" at the end and everything went fine until then.

Now, if I start putting my back-end code into a separate project (troubleshoot-hcj-core), and my front-end code in another one (troubleshoot-hcj-web) I get the following error before jetty starts:
Code:
org.hibernate.MappingException: Could not determine type for: java.util.Map, at table: user_codes, for columns: [org.hibernate.mapping.Column(options)]

To replicate, go into troubleshoot-hcj-core and run mvn install then go into troubleshoot-hcj-web and run mvn clean jetty:run.


Any thoughts?


Thanks!
Luc.


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

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.