Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ECLIPSE で SQLITE データベースに接続するにはどうすればよいですか? 私のsqliteは2.oバージョンですが、Eclipseには3.5.9バージョンのsqliteがあります。それと何か関係がありますか?
1)データベースコードを書く
2)Google「jdbcdriversqlite」
3)Sqlite用のJDBCドライバー(おそらくSqlLite3)をダウンロードし、プロジェクトに.jarを追加します。
4)コードを変更して、(ドライバー固有の)JDBC接続文字列を使用して目的のドライバーを開きます
5)出来上がり。終わり :)