-->
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: Hibernate Oracle Performance
PostPosted: Tue Jul 21, 2009 11:16 am 
Newbie

Joined: Tue Jul 21, 2009 11:10 am
Posts: 4
Hi,

We are facing some performance issues with Oracle10g database using hibernate. oracle.sql.BLOB object is taking more time in persisting the BLOB into the database. When we use the setBytes method rather than creating a BLOB object and directly put the byte[] the performance improves a lot. Is setBytes method an efficient way of handling BLOB data in Oracle10g.
How can i avoid creating a BLOB object? Are there any other ways by ways by which we can save an BLOB objects into the database.

Thanks.


Top
 Profile  
 
 Post subject: Re: Hibernate Oracle Performance
PostPosted: Fri Jul 24, 2009 11:17 am 
Newbie

Joined: Fri Jul 24, 2009 11:06 am
Posts: 8
You can use a custom UserType if you want to control how the field is saved


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.