-->
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: How to use mySql column type LongBlob with Hibernate?
PostPosted: Mon Apr 19, 2004 12:03 pm 
Newbie

Joined: Tue Apr 13, 2004 10:32 pm
Posts: 3
Hi,

I have a table that has a column with type BLOB in mySql.
In mySql this type has a limit of 64k. I need more space for this column. So i want to use the mySql type LongBlob.

the question is: can i still use in the hibernate mapping of this table the hibernate type blob or i have to change it?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 12:11 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
I'd say you can keep the mapping as it is. The access code should be the same for both BLOB and LONGBLOB


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.