DBA > Job Interview Questions > DERBY Java Database FAQs

Working with Database Threads in an Embedded Env

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

Working with Database Threads in an Embedded Environment

Do not use interrupt calls to notify threads that are accessing a database, because Derby will catch the interrupt call and close the connection to the database. Use wait and notify calls instead.

This will not happen in a client/server environment, but if you want your application to work in either environment it is good practice to follow this rule.

(Continued on next question...)

Other Job Interview Questions