I need to setup a java program to incorporate an embedded derby database in the program. I want it to be a pre-populated database that is deployed with the program. I have the basics of the GUI designed but can't for the life of me figure out how to add an existing derby database to my project.
Where do I put the database and then I would need the connection string to use to access it. I have a database class file already but don't know how to add a pre-populated database to the project. I have the sql file that would create the database originally if it is needed.
I am using Eclipse as my IDE so I would like it to be explained with that in mind. I don't really want to use command line.
In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!