aspose file tools
The moose likes Object Relational Mapping and the fly likes Q 4 C. Bauer & G. King (14): blobs and clobs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Q 4 C. Bauer & G. King (14): blobs and clobs" Watch "Q 4 C. Bauer & G. King (14): blobs and clobs" New topic
Author

Q 4 C. Bauer & G. King (14): blobs and clobs

Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 975
Dear authors,

Is there anything in particular that
has to be taken care of in the configuration
of hibernate if a database table has BLOB or
CLOB datatypes?

Cheers,

Gian Franco Casula


"Eppur si muove!"
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Using Clobs with Oracle and Hibernate

Hibernate 1.2.1 comes with support for Clobs (and Blobs). Just use the clob type in your mapping file and java.sql.Clob in your persistent class.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Q 4 C. Bauer & G. King (14): blobs and clobs
 
Similar Threads
Where is the values() method documented for Enum?
Whats your best movie
who has the weblogic451
sheet for number of correct answers of hfsj final mock !
india shopping site question