Thread:
 Current Implementations of This? 
 diathesis   30 Jun 2004, 20:47 
 Re: Current Implementations of This? 
 130g   01 Jul 2004, 11:00 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: 130g (01 Jul 2004, 11:00) Replies: 0, Views: 37202
Subject: Re: Current Implementations of This?
It seems that with the current UserType framework of Hibernate it is 
not possible to "correctly" implement the clob handling algorithms 
from Oracle.
Based on http://download-
west.oracle.com/docs/cd/B10501_01/java.920/a96654/oralob.htm#1043220
it seems that to write a clob you need to select the clob handler 
first, and then modify the clob handler. As far as I can see this is 
not possible to do in the set() method of af user type, as the inputs 
are a prepared statement to which we should bind the value to be 
inserted.

Or is it just me being daft? :)
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]