hi,
(using OJB RC4)
using a MySQL database, i constantly get the annoying errormessage:
ERROR org.apache.ojb.broker.platforms.PlatformDefaultImpl - Given connection
was null, cannot prepare autoCommit state
Checking PlatformDefaultImpl, i notice the following code:
public void changeAutoCommitState(JdbcConnectionDescriptor jcd,
Connection con, boolean newState)
{
if (con == null)
{
log.error("Given connection was null, cannot prepare autoCommit
state");
return;
}
this code is being called from
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.
So, my question is, is it really an error if (con==null) occurs (it happens
all the time), i guess then an exception should be thrown instead of just a
return. If not (everything seems to be going alright at first sight), could
this message be an info message instead of an error, so i can filter it out!
thanx,
Roger Janssen
iBanx
*************************************************************************
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed.You should not copy, disclose or distribute this communication
without the authority of iBanx bv. iBanx bv is neither liable for
the proper and complete transmission of the information has been maintained
nor that the communication is free of viruses, interceptions or interference.
If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]