0

I downloaded an apche derby Database and would like to connect to my java application on embedded mode and not server mode.

  1. How do I create a new database?
  2. How do I connect to it from my application using NetBeans IDE?
1
  • How do I connect to it from my application using NetBeans IDE -- Are you going to control your application using NetBeans? Commented Feb 16, 2012 at 8:09

2 Answers 2

1

http://db.apache.org/derby/docs/10.8/getstart/index.html is your friend. Learn how to run ij, go through the tutorials, it's a good document and will step you through all the basics.

Sign up to request clarification or add additional context in comments.

Comments

0

Append ;create=true to your JDBC url, and Derby will create the database if it does not yet exist.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.