-->
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: Using TEXT column type in a where clause?
PostPosted: Tue Oct 04, 2005 1:35 pm 
Newbie

Joined: Wed Mar 30, 2005 6:50 pm
Posts: 8
I'm writing an application that needs to be run in Oracle and SQL Server and needs to support AL16UTF16 and UTF-8 character sets respectively. I need a column that could be up to 4000 characters or greater, so I was going to map the text type to a NCLOB and NTEXT (oracle/Sql Server) column. But i was then told by people that you can't use an NTEXT in a where clause - which was then later restated by saying that SQL Server will apparently allow for up to 4000 characters but Oracle does not.

My question is has anyone tried creating NTEXT or NCLOB columns larger than 4000 characters and including them in a where clause. For example "where body like '%hibernate%'" and body is an NTEXT column. Does hibernate handle this situation?

Any help would be greatly appreciated.


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.