Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.tectonica.util;
 
 
 
 public class SqliteUtil
 {
 	public static JDBC connect(String connStr)
	{
		try
		{
			Class.forName("org.sqlite.JDBC");
		}
		{
			throw new RuntimeException(e);
		}
		DataSource connPool = new SQLiteDataSource();
		((SQLiteDataSourceconnPool).setUrl(connStr);
		return new JDBC(connPool);
	}
New to GrepCode? Check out our FAQ X