Reputation: 1
if sqlite is self-contained, serverless, zero-configuration, transactional SQL database engine , why i can't just
Sqlitedatabase x = new SqliteDatebase(...);
and then use
x.CreateNewTable("table1","id int","name string");
Upvotes: 0
Views: 46
Reputation: 75356
The de-facto way to talk to databases in Java is through JDBC. The driver used may then do this under the hood, but you are not supposed to.
Also sqlite is not written in Java. If you want to use a database written in Java which can be embedded in your application, have a look at Apache Derby.
Upvotes: 1