Accessing derby inside the jar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gaya3
    New Member
    • Aug 2007
    • 184

    Accessing derby inside the jar

    Hi,
    For our swing application we are using derby database. Since its desktoop application, we are providing the application as jar to the clients. But issue is in finding the database. Derby database url is not recognised inside the jar.
    we have the entry as jdbc:derby:src\ DerbyDSLS001

    we also tried as jdbc:derby:jar: (C:/Test.jar)src/DerbyDSLS001 ==> Its working fine. The bottleneck in this is jar need to be placed inside "C:" else it is throwing error. Is there any other possible solution for accessing the database inside jar. please help me out...
Working...