Share

SQLExecutor: A Simple JDBC framework

Code

Programming Languages: Java

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2003-06-13 cvs -d:pserver:anonymous@sqlexecutor.cvs.sourceforge.net:/cvsroot/sqlexecutor login

cvs -z3 -d:pserver:anonymous@sqlexecutor.cvs.sourceforge.net:/cvsroot/sqlexecutor co -P modulename

Show:

What's happening?

  • Need proper license/copyright information

    You really need to include proper license/copyright information in your source files.

    2008-11-19 16:29:37 UTC by opoplawski

  • Comment: should setLong but setFloat

    Fixed. -Jeff Smith.

    2007-09-25 20:26:36 UTC by jeffssmith1

  • Comment: getString for DateTime returns only Date

    Fixed. Thanks for bringing this bug to my attention. -Jeff Smith.

    2007-09-25 20:24:47 UTC by jeffssmith1

  • getString for DateTime returns only Date

    I was assumed calling getString() on a MySQL DateTime object would return the Date&Time, but it only returned the Date. This caused problems with display and compareTo in my application. I fixed the problem as described below. in SQLResults.java: replace // else if ((o instanceof Date) || (o instanceof Timestamp)) // return("" + getDate(row, col)); with: else if ((o...

    2007-06-18 01:35:19 UTC by nobody

  • should setLong but setFloat

    at the line 485 of SQLExecutor.java : else if (param instanceof Long) { long l = ((Long)param).longValue(); prepStatement.setFloat(i+1, l); }.

    2004-02-18 04:49:40 UTC by simon_lei

  • DataSource

    How do I implement javax.sql.Datasource using this framework? I am using Websphere 5.0 which can use DataSource instead of DriverManager. how can I get this to work using this framework? Any help would be appreciated since I am a bit of a newbie in java. BTW the framework is awesome...if I could only get DataSource working with it and create a DB2 specific Exception class it would be...

    2003-11-12 22:23:17 UTC by bproven

  • Implement javax.sql.Datasource

    Add the ability to implement the ConnectionPool class using javax.sql.Datasource instead.

    2003-10-30 14:53:44 UTC by bproven

  • Very Good work

    This is very useful. I could make the necessary changes for DB2 V7.1 and I am able to use it. Are there are facilities to fetch the resultset as an object of the table type? In that way I don't have to go through the setters for each field.

    2003-10-03 20:23:10 UTC by rvenkat

  • Followup: RE: DataSource Implementation

    Nevermind, I was able to make the needed changes to the ConnectionPool class so that it implemented DataSource instead of DriverManager. So far (only been playing iwith it for about 2 weeks) this framework had been great. Thanks.

    2003-09-19 14:23:54 UTC by bproven

  • DataSource Implementation

    Is there a version that supports DataSource instead of DriverManager? I'm a java newbie so any help implementing using DataSource would be great.

    2003-09-18 19:54:18 UTC by bproven

Our Numbers