Commit 734f0071 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added scrolling check for HSQL -- Matt review this. HSQL wasn't working until I did this.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@727 b35dd754-fafc-0310-a699-88a17e54d16e
parent 30e7d759
......@@ -453,6 +453,11 @@ public class DbConnectionManager {
databaseType = DatabaseType.MYSQL;
transactionsSupported = false;
}
// HSQL properties
else if (dbName.indexOf("hsql") != -1) {
databaseType = DatabaseType.HSQL;
scrollResultsSupported = false;
}
}
/**
......@@ -537,6 +542,7 @@ public class DbConnectionManager {
public static final DatabaseType ORACLE = new DatabaseType();
public static final DatabaseType POSTGRES = new DatabaseType();
public static final DatabaseType MYSQL = new DatabaseType();
public static final DatabaseType HSQL = new DatabaseType();
public static final DatabaseType OTHER = new DatabaseType();
private DatabaseType() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment