JDBC and login.sql

Does the login.sql get run if a user connects to a 10g db via JDBC ?  I
want to put some specific settings for specific JDBC users....such as
"alter session set session_cached_cursors" and the only way I can think
of is via login.sql.

Other related posts: