Hi,
I would suspect that the wrong database name is supplied in one of the
cases.
Do all Peer classes use the default database ?
Do you specify the database name explicitly anywhere in your code ?
Thomas
Boris Glants <[EMAIL PROTECTED]> schrieb am 23.06.2005 22:53:27:
> I have a few statements that I used executeQuery() for. They throw the
> following exception
> This is the stack trace:
> java.lang.NullPointerException: There was no DataSourceFactory configured
> for the connection sibylconsulting
> at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:711)
> at org.apache.torque.Torque.getConnection(Torque.java:268)
> at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1341)
> at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1293)
> at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1256)
> at
> com.sitesibyl.bli.om.DataListSubmissionManager.
> getDataListSubmissionRecordValueObjectsDisplayedInDataList
> (DataListSubmissionManager.java:125)
> Otherwise my application works fine with querries that are built using
> criteria objects.
> Any and all help woudl be greatly appreciated.
> Thanks in advance,
> Boris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]