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: provided id of the wrong type
PostPosted: Wed Jul 18, 2007 9:44 am 
Newbie

Joined: Wed Jul 18, 2007 9:05 am
Posts: 4
Location: France
Bonjour

desole de terme pas totalement JAVA ET HIBERNATE
je debute dans les 2 langages !!!!

j'essaie de relire une liste d'objets deposer sans souci dans postgresql

les objets sont constitues de parametres simple et de collections d'objets
J'ai choisit une id de type string pour l'objet principal et de type long pour les objets secondaires

mais des que j'essaie d'acceder a une objet principal j'obtiens ce type d'erreur :

TwoPhaseLoad:107 - resolving associations for [objets.site.Site#D1_P1]
DefaultLoadEventListener:111 - Error Performing load command
org.hibernate.TypeMisMatchException : Provided id of the wrong type. Expected class java.lang.long, got class java.lang.string


Est ce que cela parle a quelqu'un ????


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.