This discussion is archived
0 Replies Latest reply: Jul 9, 2013 1:47 AM by user9514403 RSS

Get connection from java custom filter

user9514403 Newbie
Currently Being Moderated

Hello everyone, I wrote a java filter class which basically parse multipart requests and upload files to a database table (something to mimic mod_plsql).

I had to set up my connection to database which is always the same as the main apex connection, so doubling connection parameters in web.xml.

Is there a way to obtain a connection from Apex Listener within my class? May be pooled as well.

(I am NOT using Apex, just Apex Listener 2.0.2, Oracle Database 10.2.0.5, Java 7)

Thanks

 

Luca

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points