NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
likesjava
Joined: 18 Dec 2009 Posts: 29
|
Posted: Sat Mar 06, 2010 12:59 pm Post subject: |
|
|
Javier was kind enough to look at the files I sent him (thank you Javier).
The essence of what he pointed out to me was:
1. Right click on your javafx application and select Create Entities From database.
2. Use the defaults.
3. Add this to you method as test code:
You will also need to update your META-INF/persistence.xml file -
The xml file should be generated when you run the Entities from Database wizard.
Apparently I was missing a major step, shown above, to get the Derby DB to run without first starting the server.
In my case I want to eventually work on cell phone apps, so file size and complexity needs to be small.
What I found was that by adding the steps above, my files size went from about 3 MG to almost 9 MB, and added scores of new classes in the jar files. Unfortunately for my purposes this is just way too much so I will pursue other ways of getting my data.
Thank you again Javier. |
|
| 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
|
|