Two simple ways to do this: Shutdown and restart the database in restrict mode Or Lock all of the user accounts that the JDBC connection uses. Good Luck! -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of dba1 mcc Sent: Wednesday, April 12, 2006 8:50 AM To: oracle-l@xxxxxxxxxxxxx Subject: [Q] how to avoid JDBC client connect to database? We have ORACLE database 9iR2 run on UNIX servers. Sometime when we doing database maintenance, we don't want users connect to DB. for SQL/net connection I can STOP listener. For JDBC client connection, how to avoid it? Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- //www.freelists.org/webpage/oracle-l -- //www.freelists.org/webpage/oracle-l