interesting. Curious, you have to manually close the connections in your
JavaObj or does the CF datasource manager thingy handle it?
DK
On 7/17/07, Andrew Powell <[EMAIL PROTECTED]> wrote:
OK, I figured out a way to get the Java connection object without having
the Datasource password:
<cfscript>
var myConnection = createObject('java','coldfusion.server.ServiceFactory
');
myConnection.getDataSourceService
().getDatasource('myDSNName').getConnection();
var javaObj = createObject('java','path.to.object').init(myConnection)/>
javaObj.myMethod();
</cfscript>
On Jul 13, 2007, at 2:54 PM, Andrew Powell wrote:
I have a datasource password that I am trying to programatically pull out
of a datasource for a java object. I can get the password out of the DSN,
but it seems to be encrypted. Does anyone know the decryption methodology
for this?
Thanks!
andy
-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------