Thread:
 Temporary Clob Resource Leak 
 rgodfrey   10 Oct 2003, 16:05 
 Re: Temporary Clob Resource Leak 
 rgodfrey   14 Oct 2003, 13:07 
 Re: Temporary Clob Resource Leak 
 bd   07 Nov 2003, 11:36 
 Re: Temporary Clob Resource Leak 
 yvanhess   05 Dec 2003, 16:21 
 Re: Temporary Clob Resource Leak 
 bd   13 Dec 2003, 16:17 
 Re: Temporary Clob Resource Leak 
 bd   17 Dec 2003, 10:49 
 Re: Temporary Clob Resource Leak 
 neil_g_avery   07 Jan 2004, 11:03 
 Re: Temporary Clob Resource Lea... 
 bd   30 Jan 2004, 14:43 
 Re: Temporary Clob Resource ... 
 Kai   02 Mar 2004, 17:22 
 Re: Temporary Clob Resour... 
 hypernate   11 Mar 2004, 22:34 
 Re: Temporary Clob Reso... 
 telebears   08 Dec 2004, 19:05 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: bd (30 Jan 2004, 14:43) Replies: 3, Views: 38834
Subject: Re: Temporary Clob Resource Leak
On 07 Jan 2004 11:03, neil_g_avery wrote:

>Would it be possible to code scenario 1) as implied below ? - and hide
>that code in the user defined type? This means we need a reference to
>the session and current object we are trying to persist.

><<snip>>
>foo = new Foo();
>foo.setClob( Hibernate.createClob(" ") );
>s.save(foo);
[deleted]
><<snip>>

Unfortunately, you cannot call save(), update(), flush() and so on in
the type mapper.
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]