NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Embedded Derby Server won't Start Outside Netbeans
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
likesjava



Joined: 18 Dec 2009
Posts: 29

PostPosted: Sat Mar 06, 2010 12:59 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo