Newbie datasource Q

2001-03-28 Thread Nick Afshartous
JOEL VOGT writes: > Hopefully this is an easy question for somebody. > In my struts-config I have the datasource > > autoCommit="false" > description="Access data source config" > driverClass="sun.jdbc.odbc.JdbcOdbcDriver" > maxCount="4" >

Re: Newbie datasource Q

2001-03-27 Thread piyush raj jain
h:98450 74666 > > Quality is a mindset,not an event > > -Original Message- > From: JOEL VOGT [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 28, 2001 6:11 AM > To: [EMAIL PROTECTED] > Subject: Newbie datasource Q > > Hi all, > > Hopef

RE: Newbie datasource Q

2001-03-27 Thread Kartik Sudarsan
: [EMAIL PROTECTED] Subject: Newbie datasource Q Hi all, Hopefully this is an easy question for somebody. In my struts-config I have the datasource later on in a servlet I have javax.sql.DataSource dataSource = servlet.findDataSource(null); con = dataSource.getConnection(); When I

Re: Newbie datasource Q

2001-03-27 Thread Jim Richards
What specific operation are you trying to do? Since you don't have autocommit set to true, you may be having transaction problems. I found it helpful to create a Test.java file with the same operations as creating the datasource (with the same parameters), a connection and doing a sample select

Newbie datasource Q

2001-03-27 Thread JOEL VOGT
Hi all, Hopefully this is an easy question for somebody. In my struts-config I have the datasource later on in a servlet I have javax.sql.DataSource dataSource = servlet.findDataSource(null); con = dataSource.getConnection(); When I try to use this however, I get an java.sql excep