The turn around on this would be very fast.

John McNally <[EMAIL PROTECTED]> writes:

> and submit a patch, so your driver is included.
>
> john mcnally
>
> Paul Carroll wrote:
> > 
>> Is this a bug that needs to be fixed?  If so is the workaround to hardcode the 
>driver that I am using a rebuild torque.jar?
>> 
>> --- Bill Schneider <[EMAIL PROTECTED]> wrote:
>> >Looking at the source for DBFactory.java, it looks like those lines in
>> >the config file have no effect.  The hashtable of defined driver-DB
>> >adapter mappings is a hard-coded constant and doesn't include your
>> >particular MSSQL driver.
>> >
>> >Paul Carroll wrote:
>> >> Hello,
>> >> I am attempting to run a small test app using torque and MS SQL Server 7.  I 
>have been able to create the database and the tables correctly.  When I try to insert 
>a row into on of the tables I get a NullPointerException when I come upon the save() 
>method.  Here is the torque.log file:
>> >>
>> >> 2002-02-27 17:36:00,034 [main] INFO  org.apache.torque.Torque - Logging has been 
>configured by Torque.
>> >> 2002-02-27 17:36:00,044 [main] ERROR org.apache.torque.adapter.DBFactory - 
>java.lang.ClassNotFoundException: org.apache.torque.adapter.null
>> >> 2002-02-27 17:36:00,174 [main] WARN  org.apache.torque.oid.IDBroker - IDBroker 
>is being used with db 'bookstore', which does not support transactions.  IDBroker 
>attempts to use transactions to limit the possibility of duplicate key generation.  
>Without transactions, duplicate key generation is possible if multiple JVMs are used 
>or other means are used to write to the database.
>> >>
>> >> I have these 2 lines in the Torque.properties file also:
>> >>
>> >> services.DatabaseService.database.adaptor=DBMSSQL
>> >> services.DatabaseService.database.adaptor.DBMSSQL=com.jnetdirect.jsql.JSQLDriver
>> >>
>> >> Anybody have any ideas as to what may be going wrong.  Thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to