-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Cannot save BLOB on WebSphere
PostPosted: Wed Feb 21, 2007 4:54 am 
Newbie

Joined: Tue Feb 20, 2007 10:02 am
Posts: 1
Hello fellow Hibernaters!

I have a problem with the web application I'm currently developing. I am using Hibernate along with Spring and Struts, and deploying this on a Windows Tomcat on a development environment and on a Linux WebSphere WAS on the test and production environment.

In the application I'm (amongst other things) saving a file as a BLOB into a table in an Oracle database through Hibernate by definig my own UserType (according to the example in http://www.hibernate.org/73.html).

The problem is as follows:
On the development environment, no problems has been intercepted. But when using WebSphere, I am not able to save the file! The log says that a a problem has occured when using(!?)
Code:
com.ibm.ws.rsadapter.jdbc.WSJdbcConnection

I have tried adding the lines...
Code:
<prop key="hibernate.transaction.manager_lookup_class">net.sf.hibernate.transaction.WebSphereTransactionManagerLookup</prop>
<prop key="hibernate.connection.provider_class">;se.vcc.pgrs.util.WSDataSourceConnectionProvider</prop>

... in the hibernate properties and implementing the class
Code:
WSDataSourceConnectionProvider
as described in http://www.hibernate.org/204.html .

BTW the versions used are Java 1.3.1, Hibernate 2.0, Tomcat 5.0, WebSphere 5.0, SuSe Linux 8 and Oracle (& jdbc thin driver) 9.2.0.5.

I wonder... has anyone had similar problems? Do you guys have suggestions how solve this?

Swift replies are appreciated, since the delivery of the application is iminent...

Thanx in advance!

/Peter


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.