RE: properly way to lookup a java.sql.Connection from the connection pool

2004-01-29 Thread Hennebelle
Hi, I don't know if this method is well but I use it : ClassDescriptor classD = broker.getClassDescriptor(DualBO.class); JdbcConnectionDescriptor jcd = classD.getConnectionDescriptor(); //Creation of the connection java.sql.Connection connection = null; try { //Initialisation of the JDBC

Re: properly way to lookup a java.sql.Connection from the connection pool

2004-01-29 Thread Armin Waibel
Hi Christopher, Christopher Tava wrote: dear ojb user group, could you kindly tell me the properly way to look a connection from the connection pool? i have used the following call, but i get a socked closed exception. Connection conn = pBroker.serviceConnectionManager().getConnection();

properly way to lookup a java.sql.Connection from the connection pool

2004-01-28 Thread Christopher Tava
dear ojb user group, could you kindly tell me the properly way to look a connection from the connection pool? i have used the following call, but i get a socked closed exception. Connection conn = pBroker.serviceConnectionManager().getConnection(); 2004-01-27 10:45:46,609 [RMI TCP