Quantcast
Viewing all articles
Browse latest Browse all 16689

Use java.sql.Connection object from Java application

Hello,
I'm using the Swing Preview dialog to view my reports (designed in PRD) out of a Java application.

Is it possible somehow to use an existing java.sql.Connection object as the JDBC connection?

I need this because I have many different database connections (with 'dynamic' database names) and I don't want to have the credentials beeing exposed in some kind of PRPT or JNDI file.

The other option I was thinking of is to access the connection properties via JavaScript in PRD - but unfortunately I couldn't find any detailed information on the web...

Thanks very much!!

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>