openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Oracle LONG datatypes as persistent field problem
Date Thu, 05 Mar 2009 18:21:41 GMT
Hi Ram,

I haven't heard of this issue (retrieving blob data is a basic feature).

It sounds like the best way forward would be to have a reproducing  
test case attached to a JIRA issue to see what might be causing this  
particular failure. Can you file an issue?



On Mar 5, 2009, at 6:51 AM, RamAESIS wrote:

> Hi,
> I have an Oracle LONG type as a column for persistence in the  
> entity. While
> retrieving this entity JPA throws and exception saying "Stream already
> closed". The reason for this exception is that the connection stream  
> is
> closed once we retrieve the data from LONG columns in oracle JDBC  
> driver.
> The solution/workaround is to retrieve the value of LONG column  in  
> the end.
> But even if i change the order of declaration so that the LONG  
> column is at
> the end the SQL PrepareStatement is generated with column names  
> arranged in
> alphabetical order i.e. LONG column comes in the middle. Is there  
> any way to
> force the ordering of columns in generated PreparedStatement, please  
> help...
> Regards,
> Ram
> -- 
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

Craig L Russell
Architect, Sun Java Enterprise System
408 276-5638
P.S. A good JDO? O, Gasp!

View raw message