I've been using SQLite in my Java and C# applications, making use of the System.Data.SQLite library for C# and the Zentus SQLiteJDBC Driver for Java.
I've noticed that the Java implementation allows the use of the readily available SQL libraries that are included with the default Java installation whereas the C# implementation has to use specific SQLite versions of the C# equivalent.
Example:
C#
SQLiteConnection connection = null;
SQLiteCommand command = null;
SQLiteDataReader dReader = null;
float[] _data;
try
{
connection = new SQLiteConnection(_connectionString);
connection.Open();
Java
Connection connection = null;
PreparedStatement ps = null;
ResultSet rs = null;
float _data[];
try
{
connection = DriverManager.getConnection(_connectionString);
Statement st = connection.createStatement();
Is this down to how SQL databases are utilised in the languages or is it due to the implementations of the libraries, I'm interested to know more about the details leading to their usage.