-->
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.  [ 3 posts ] 
Author Message
 Post subject: simple serializable question
PostPosted: Thu Apr 29, 2004 3:51 pm 
Beginner
Beginner

Joined: Fri Jan 23, 2004 10:26 am
Posts: 21
when i want to put a regular seializable object into a hibernate class, and define the mapping as "serializable" for that object, system produces

VARBINARY(255)

as the type of the DB Table column (HSQLDB). does that mean my serialized object cannot be larger than 255bytes? if yes, how can i make it larger? i do not want to use blobs.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 4:20 pm 
Beginner
Beginner

Joined: Fri Jan 23, 2004 10:26 am
Posts: 21
sorry, i simply added a lenght="..." property to the mapping file, it seems ok now..


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 5:08 pm 
Newbie

Joined: Tue Oct 07, 2003 3:58 pm
Posts: 16
Location: Netherlands
there's a way to specify exact SQL type and even column name, look into mapping file definition


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.