Hi,

> torque has created some files and after some fiddling I got it to
> all
> compile, but every time I try to get a select back it gets a null
> object, and I put in a extra logging info and I see this pattern.
> 
> Trying to get a DB Connection
> SELECT blah
> java.sql.SQLException: Connection object is null
> IDBroker thread was started
> 
> Am I still missing something simple?
> 

Probably not simple - but maybe something someone has hit before...

In your schema xml file for torque in the <database> element - do you
have a name= attribute - if so, remove it.  I think this make torque
look for a connection entry in your TR.properties file - removing it
makes it use "default" which is what is in there for turbine, ie the
same connection as used for TURBINE_USER.

Note - also make sure you add entries into the ID_BROKER table for
your new tables - like there is in the default populate scripts.

HTH,
Chris

=====
http://www.soccer2002.org.uk - join in and win CA$H!

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

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

Reply via email to