on 7/6/01 8:50 AM, "Sean Leach" <[EMAIL PROTECTED]> wrote:
> How is the Connection object created/used differently from the base Turbine
> object model, to my project-specific object model?
>
> When I turn on debugging, I see in the log file that turbine successfully
> queries the main TURBINE_* tables, but when I try and do a simple Peer
> doSelect, I get an exception:
>
> try {
> Criteria criteria = new Criteria();
> return PhotoPeer.doSelect(criteria);
> }
> catch (Exception e) {
> Log.info("system", "Error: " + e.toString());
> return new Vector();
> }
>
> this throws the following exception:
> java.sql.SQLException: Connection object is null!
>
> Any ideas? My database settings are obviously correct as it queries the
> other tables fine...
>
> Thanks!
> Sean
Lets see your <database> tag. I bet you have a name="" defined.
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]