-->
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: Garbled data from AS400
PostPosted: Tue May 04, 2004 8:06 pm 
Newbie

Joined: Tue May 04, 2004 8:01 pm
Posts: 1
I get a connection and it returns data, but its all garbled. There appears to be some translation from the AS400 to Java that's not happening. Do I need to add a property type value in the hbm.xml map?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 04, 2004 10:47 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
hibernate simply does not mess with the encodings or characters sets of the underlying jdbc driver/connection. If its happening through Hibernate, its also gonna happen through direct jdbc access through that same jdbc driver setup.

You probably want to get it working through direct jdbc first and then try accessing it through Hibernate.

I say encodings and charactersets simply because that is most usually the cause of this issue with databases and jdbc drivers in general.


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.