mirror of https://github.com/apache/openjpa.git
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:
parent
b4715f9669
commit
cb4ac9b891
|
@ -31,6 +31,7 @@ import org.apache.openjpa.jdbc.sql.MySQLDictionary;
|
||||||
import org.apache.openjpa.jdbc.sql.OracleDictionary;
|
import org.apache.openjpa.jdbc.sql.OracleDictionary;
|
||||||
import org.apache.openjpa.jdbc.sql.PostgresDictionary;
|
import org.apache.openjpa.jdbc.sql.PostgresDictionary;
|
||||||
import org.apache.openjpa.jdbc.sql.SQLServerDictionary;
|
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.OpenJPAEntityManager;
|
||||||
import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI;
|
import org.apache.openjpa.persistence.OpenJPAEntityManagerFactorySPI;
|
||||||
import org.apache.openjpa.persistence.OpenJPAEntityManagerSPI;
|
import org.apache.openjpa.persistence.OpenJPAEntityManagerSPI;
|
||||||
|
@ -421,7 +422,8 @@ public class TestMultipleSchemaNames extends SingleEMFTestCase {
|
||||||
OpenJPAEntityManagerFactorySPI tempEmf = createEMF();
|
OpenJPAEntityManagerFactorySPI tempEmf = createEMF();
|
||||||
DBDictionary dict = ((JDBCConfiguration) tempEmf.getConfiguration()).getDBDictionaryInstance();
|
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);
|
closeEMF(tempEmf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue