-->
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: NativeQuery and CHAR(32) mapping
PostPosted: Mon Sep 18, 2006 6:36 am 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
Hibernate version: Core 3.2.0 CR4, HEM 3.2.0 CR2, HAN 3.2.0 CR2

Name and version of the database you are using: Oracle 9.2.0.4.0 with Oracle JDBC driver 10.2.0.1.0

I found that Hibernate map the CHAR(32) column as CharacterType while it should be String. The problem only occurs when I am using native query. Could somebody help ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 5:06 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
What has this got to do with EJB3?

Look at the ResultTransformer usage.


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.