Hello, I am having a problem displaying records from a Sybase table. I have a Stateless session bean calling an entity bean. The entity bean is supposed to be returning a collection, but it isn't. If I take the session bean out and use a servlet it works fine. Has anyone run into this problem? Trish
mukund kulkarni
Greenhorn
Joined: Nov 11, 2001
Posts: 23
posted
0
can you give more details . are you using any local variables in session bean or so.. if possible post your code ..
I have found out what the problem is. It is the datasource used in WebSphere. If I use the Sybase datasource com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource it doesn't work, but if I use DriverManager.getConnection("jdbc:sybase:Tds ds1:4100/odb00") it does work. So, I am going to look into why the datasource isn't working. Thanks, Trish
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
Moving this to the WebSphere forum. ------------------ Tom Sun Certified Programmer for the Java� 2 Platform Moderator of the forums: J2EE and EJB Other Java APIs