Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans - generating entity class from database

Tags:

netbeans-7

I am using netbeans IDE 7.1. I am trying to generate entity classes from a database(sql server). I am able to setup the connection to this remote datasource but in the New Entity Classes from database Wizard the tables are not showing up and at the bottom it says select atleast one table.

I could execute queries and browse through the tables from the netbeans databases service.

Can someone help me to fix this..

Thanks

like image 358
Sampath Pasupunuri Avatar asked Jan 24 '12 18:01

Sampath Pasupunuri


1 Answers

maybe your schema is not selected correctly, check on service windows->database->your connection(the bold schema is a default selected schema) if it wrong, right-click->properties, and change your schema to public, all the tables that you created are here normally hope useful :)

like image 89
Yusuf1494 Avatar answered Oct 02 '22 10:10

Yusuf1494