how to read and write SQLite database file in java (after making jar file) -


this question has answer here:

i want create java application use sq lite database , after making jar file application read , write sq lite database file. how achieve this.... please give me overview how access sq lite database file , modify it. after making jar file.

it simple place sqlite database file inside project folder , in program in order connect database file create connection like

connection = drivermanager.getconnection("jdbc:sqlite:name of sqlite database file");

now in order connect database file after creating jar file of program place sqlite database file near created jar file... after able communicate database file(can access , modify data) application(jar file)... thanxxxx...... :)


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -