is this JDBC Thin Client? If so, I would suspect not. (i'd be surprised if JDBC/OCI did either as login.sql tends to be sqlplus specific type settings). I typically perform what you aretrying to do via a logon trigger on the database. On Wed, Feb 27, 2008 at 12:29 PM, Crisler, Jon <Jon.Crisler@xxxxxxx> wrote: > 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. >