OPENJPA-735: OpenJPA support for SolidDB

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Fay Wang 2010-08-19 15:58:05 +00:00
parent b4715f9669
commit cb4ac9b891
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ import org.apache.openjpa.jdbc.sql.MySQLDictionary;
import org.apache.openjpa.jdbc.sql.OracleDictionary;
import org.apache.openjpa.jdbc.sql.PostgresDictionary;
import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
import org.apache.openjpa.jdbc.sql.SolidDBDictionary;
import org.apache.openjpa.persistence.OpenJPAEntityManager;
import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI;
import org.apache.openjpa.persistence.OpenJPAEntityManagerSPI;
@ -421,7 +422,8 @@ public class TestMultipleSchemaNames extends SingleEMFTestCase {
OpenJPAEntityManagerFactorySPI tempEmf = createEMF();
DBDictionary dict = ((JDBCConfiguration) tempEmf.getConfiguration()).getDBDictionaryInstance();
if (!(dict instanceof PostgresDictionary || dict instanceof H2Dictionary)) {
if (!(dict instanceof PostgresDictionary || dict instanceof H2Dictionary ||
dict instanceof SolidDBDictionary)) {
closeEMF(tempEmf);
return;
}