• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLite database deployed in Application Jar

 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm curious, is it possible to deploy SQLite database in our Application Jar?
Actually, i want to do this since, i want to create small application which uses SQLite database as my temporary database.
Rather than i will have to store SQLite database in particular directory, i prefer to store it inside application jar.
Is it possible to do this?

Please help me regarding this.

Thanks,
With warmest regards,

Leonardo Carreira
 
Rob Spoor
Sheriff
Pie
Posts: 20613
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The database will be read-only, as it's not possible to write directly to files inside ZIP and JAR files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic