-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate HSQL Long Varchar
PostPosted: Wed Nov 18, 2009 6:01 pm 
Newbie

Joined: Fri Mar 06, 2009 11:22 am
Posts: 16
I am trying to specify the column type for a String within my entity by doing

@Column(columnDefinition="long varchar")
public String getValue()...

which works fine for mysql and I think derby (have not looked at others) but does not work for HSQL. Is there a more appropriate type that I should be using which will work across databases for character field with length > 255?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.