NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
pankers
Joined: 28 Aug 2009 Posts: 9
|
Posted: Tue Feb 09, 2010 7:21 pm Post subject: Creating Entity Classes from MS-SQL server database |
|
|
| Is there a quicker way to create the entity classes (from database) using SQL server without having to retrieve every table in the database? it takes all day, I would think there has to be a more streamlined way to do this...all for one table in the database... |
|
| Back to top |
|
 |
julsorio
Joined: 05 Jun 2009 Posts: 168 Location: Bogota, Colombia, South America
|
Posted: Tue Feb 09, 2010 9:17 pm Post subject: Re: Creating Entity Classes from MS-SQL server database |
|
|
Yes, there is.
right click over the module and select "Entity Class from Database", then in a new dialog you have to select your persistence unit and the tables.
On 9 February 2010 14:21, pankers <address-removed ([email]address-removed[/email])> wrote:
| Quote: | | Is there a quicker way to create the entity classes (from database) using SQL server without having to retrieve every table in the database? |
|
| Back to top |
|
 |
pankers
Joined: 28 Aug 2009 Posts: 9
|
Posted: Tue Feb 09, 2010 9:26 pm Post subject: |
|
|
Thanks for the reply. Yes, I do that, from the two radio buttons (Data Source or Database Schema, I chose Data Source and my data source (created earlier).
There are four steps in the dialog.
1. Choose File Type
2. Database Tables <== stuck on this while it pulls all the tables back
3. Entity Classes
4. Mapping Options
I'm stuck on #2 with a Please Wait dialog/progress bar while every table in SQL server is pulled back for me to choose the one I want. Surely there is a way to bypass this process. Is my request clear? Sometimes I'm not sure if I'm explaining it correctly.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|