Tuesday, 27 March 2018

How to configure postgres database in SqlDeveloper



Download postgressql*.jar and configure it in SqlDeveloper using steps below.



  1. Open Sqldeveloper 
  2. Click on Tools tab and select Preferences. 
  3. Under database tab select ThirdParty JDBC driver and add a new Entry with downloaded postgres jar.





Difference between class level and object locking and static object lock

1) Class level locking will lock entire class, so no other thread can access any of other synchronized blocks. 2) Object locking will lo...