hello,, i have a multithread application.. my application connects to the database
can i open 2 connection at the same time? or can i thread the connection also. thanks in advance.

Two connections to two different databases or the same data base?

If you are accessing the database, then are you accessing the same table?

-with JDBC anyway, once you create the connection, it will keep connected. You just want to create the connection ONCE to that database, and push commands/queries to it. (re-connections use a lot of bandwidth)

-if you are connecting to a single database, try:

create connection then start threads 1 and 2.

Hope this is of any help.