House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Java

Accessing MX connection pool from Java

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Shawn McKee
05/04/2004 01:26 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Janet MacKay
06/13/2007 01:02 PM

----- 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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Leon Oosterwijk
06/13/2007 01:07 PM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Janet MacKay
06/13/2007 02:19 PM

----- Excess quoted text cut - see Original Post for more ----- I'll try it. Are there any security restrictions to using the dsn service?  


<< Previous Thread Today's Threads Next Thread >>

Search java

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference