Hi,

when I try to search a text in a CLOB I get a ClassCastException.

I'm calling the findByCriteria function for a CLOB property:

conditionRoot.withProperty(property).ignoreCaseLike(Hibernate.createClob(searchWord));

But in the process there is a toString().toLowerCase(), which converts my CLOB 
to a string and that's deadly because there is a CLOB expected.
So it would help to either have a special treatment for CLOB case insensitive 
search or a general option to tell the builder that the search object is 
already in lower/upper case.


Regards,
Sascha Broich

-- 
Sascha Broich
Development

TSA - Teleport Sachsen-Anhalt Service GmbH
Herrenstraße 20 - D-06108 Halle

Tel: +49 39203 8 2524 - Fax: +49 39203 8 2511
E-Mail: sascha.bro...@tsa.de

Firmensitz: Steinfeldstraße 5, D-39179 Barleben
Niederlassung: Herrenstraße 20, D-06108 Halle
Geschäftsführer: Marco Langhof, Thomas Patzelt
Prokurist: Heiko Bosse
Amtsgericht: Stendal HRB 6388
http://www.tsa.de

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to