-->
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: probleme mapping parametre hibernate
PostPosted: Tue May 15, 2012 3:59 am 
Newbie

Joined: Wed Nov 02, 2011 10:22 am
Posts: 10
bonjour

je viens de tomber sur un cas un peu special avec hibernate,

j'ai une requete généra avec hibernate et retranscris en sql et qui me génère une erreur à l'execution

Code:
2012-05-15 09:49:34,938 ERROR [http-8080-1] -10001  9925940449D8A2717B1A48FC2BFDE13E- o.h.u.JDBCExceptionReporter ERROR: operator does not exist: integer = character varying
  Indice : No operator matches the given name and argument type(s). You might need to add explicit type casts.


j'ai d'abord joué la requete sql généré en remplacant les parametres manuellement et elle a fonctionné donc j'ai affiché les parametres dans ma console et effectivement il me decalle mes parametres lors du binding
quel action pourrait provoqué ce genre de chose? comment puis je debugger cela?


merci beaucoup


Top
 Profile  
 
 Post subject: Re: probleme mapping parametre hibernate
PostPosted: Wed May 16, 2012 11:25 am 
Newbie

Joined: Wed Nov 02, 2011 10:22 am
Posts: 10
finalement, le probleme venait d'un probleme en interne suite à l utilisation d'une fonction qui était déclaré dans HSQLDialect


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.