In Netbeans IDE, I was trying to add a Database connection to a MS SQL server 2005 database. After entering the correct parameters and locating the right jdbc driver (sqljdbc.jar), I was able to connect; however none of the tables showed up. After reading this, I decided to set the value of the schema property to dbo and it worked!
To change the value of the schema property in your Netbeans's database connection, do the following:
- Right click on the connection
- Click on Disconnect
- Right click again on the connection
- Click properties
- Change the value of the Schema property
Comments