|
Mailing Lists
|
Home /
Groups /
Java
Accessing MX connection pool from Java
I have a need to create a JAVA CFX tag that needs database access. I would rather use the existing CFMX connection pool than create my own. Any pointers available.Shawn McKee 05/04/04 01:26 P > I have a need to create a JAVA CFX tag that needs database access. IJanet MacKay 06/13/07 01:02 P Shawn,Leon Oosterwijk 06/13/07 01:07 P >Shawn,Janet MacKay 06/13/07 02:19 P I have a need to create a JAVA CFX tag that needs database access. I would rather use the existing CFMX connection pool than create my own. Any pointers available. MX 6.1 running in stand alone mode. Oracle 9i Thanks, Shawn McKee ----- Excess quoted text cut - see Original Post for more ----- I this is an old question. But does anyone know if its possible to tap into mx's connection pooling with a java class? Shawn, Try this: coldfusion.server.ServiceFactory.getDataSourceService().getDatasource(da tasourcename).getConnection() It works for us under CFMX7. Leon ----- Excess quoted text cut - see Original Post for more ----- I this is an old question. But does anyone know if its possible to tap into mx's connection pooling with a java class? ----- Excess quoted text cut - see Original Post for more ----- I'll try it. Are there any security restrictions to using the dsn service?
|
May 18, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||