Posted By:
Bozidar_Dangubic
Posted On:
Sunday, May 5, 2002 07:22 AM
these are just regular java classes executing in some JVM? if so, the only way to do it would be to create a connection in class C and pass it around in each method invocation. if you are in application server and these classes are EJBs, then it is a completely different story. but if we are talking about plain java classes, you have to pass the connection around. even then you have to be clever since you are executing multiple statements so you will probably have to use batch functionality to get everything working.