|
|
От: |
Antei
|
|
| Дата: | 05.06.08 11:09 | ||
| Оценка: | |||
To access a database in a zip/jar, you specify the jar in the subsubprotocol.
jdbc:derby:jarpathToArchive)databasePathWithinArchive
The pathToArchive is the absolute path to the archive file. The databasePathWithinArchive is the relative path to the database within the archive. For example:
jdbc:derby:jarC:/dbs.jar)products/boiledfood
jdbc:derby:jarC:/dbs.jar)sales