Microsoft
Software
Hardware
Network
Question : Connection Object in SPRING
I'm using SPRING and JBOSS connection pooling.
I need to call "dbms_session.set_nls" procedure at the application tier prior to executing any back-end Oracle procedure.
I may have more than one method in my DAO (Data Access Object), each method calls a back-end procedure using the connection object/handle. I'm able to successfully execute dbms_session.set_nls from one of the methods.
The purpose of executing dbms_session.set_nls is to set the language to the user's preferred language which he selects at the login time.
Let say I have Method A and Method B in one DAO class, both methods call Oracle back-end procedures.
Suppose I called dbms_session.set_nls from a method A, the language is set, then back-end procedure is called, oracle returns the results and the method is completed.
Now the same transaction calls the second method B. Will I need to call the dbms_session.set_nls again? Does SPRING provide a new connection to method B from the connection pool? How does SPRING handles connections in this case. Please explain.
Answer : Connection Object in SPRING
Since you are using your own JdbcTemplate and the Connection passed to the
GetAccessStmtCreator
(
implements CallableStatementCreator
)
is not from your JdbcTemplate; they COULD potentially be different.
Random Solutions
Where can I download System.Web.Extensions 2.0 version?
ABAP syntax error:statement is not accessible
office 2007 settings not saved in user profile in terminal server
I can not print to tray two which has legal size paper in it. The printer is a HP 3005 pcl printer and there are other users that can print to this tray when printing legal documents.
Columns cannot convert between unicode and non-unicode string data types.
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed.
How to get two new Primary keys, sent to two Foriegn keys
Exchange 2007 Relay to External
N00b trying to understand part of this CF page...
MySQL update set Concatenate question