-->
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.  [ 4 posts ] 
Author Message
 Post subject: more than varchar2 (4000)
PostPosted: Fri Jun 02, 2006 12:24 pm 
Newbie

Joined: Fri Jun 02, 2006 11:20 am
Posts: 2
Hi,
I' using Hibernate 3.0 and Oracle 10g
I try to manipulate large xml files.
so I can't work with String and Varchar2(4000).
I tried blob and byte [] but i still have problems.
So whose types are suitable?
oracle type
java type
hibernate type

Thanks


Top
 Profile  
 
 Post subject: Re: more than varchar2 (4000)
PostPosted: Fri Jun 02, 2006 12:26 pm 
Regular
Regular

Joined: Tue Nov 16, 2004 6:36 pm
Posts: 62
Location: Zürich
For large texts use text mapping and CLOB on the oracle side.


Top
 Profile  
 
 Post subject: java type?
PostPosted: Fri Jun 02, 2006 12:29 pm 
Newbie

Joined: Fri Jun 02, 2006 11:20 am
Posts: 2
thanks.
what's java type is suitable?


Top
 Profile  
 
 Post subject: Re: java type?
PostPosted: Fri Jun 02, 2006 12:35 pm 
Regular
Regular

Joined: Tue Nov 16, 2004 6:36 pm
Posts: 62
Location: Zürich
el morabet wrote:
thanks.
what's java type is suitable?


Just a normal String. From the reference doc:
Quote:
text

Maps long Java strings to a SQL CLOB or TEXT type.


Please rate my answer if this helped.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.