Reputation: 39
am getting started with Java database development and i wanted to know how to create and use database outside of the Derby server so for example instead of using this as a host url :
String host = "jdbc:derby://localhost:1527/Employees";
i want to use something like this :
String host = "jdbc:derby://c:/MyDb/Employees";
i dunno if that is correct or not, but this is what am trying to do cause i don't know how to use the database in the localhost after exporting the executable jar for the application
thank you
Upvotes: 0
Views: 558