openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhourui <zhou...@zoneland.net>
Subject slice with db2 error
Date Thu, 25 Apr 2013 06:10:39 GMT
WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S1" due
to <openjpa-2.2.2-r422266:1468616 fatal unsupported error>
org.apache.openjpa.util.UnsupportedException: The database product "HSQL
Database Engine", version "2.2.8" is not officially supported.. Slice "s01"
will be ignored as configuration is set as lenient.
四月 25, 2013 2:04:45 下午 null
INFO: Using dictionary class "org.apache.openjpa.jdbc.sql.DB2Dictionary".
四月 25, 2013 2:04:45 下午 null
WARNING: Failed to connect to URL "jdbc:db2://127.0.0.1:50000/UFSC20S2" due
to <openjpa-2.2.2-r422266:1468616 fatal unsupported error>
org.apache.openjpa.util.UnsupportedException: The database product "HSQL
Database Engine", version "2.2.8" is not officially supported.. Slice "s02"
will be ignored as configuration is set as lenient.
四月 25, 2013 2:04:45 下午 com.plasticmummy.ufsc20.service.NotesDatabaseService
create
SEVERE: create new domino object failure

i use db2 v9.7 but seems can not recognized.

with persistence.xml

<properties>
			<property name="openjpa.BrokerFactory" value="slice" />
			<property name="openjpa.jdbc.DBDictionary" value="db2" />
			<property name="openjpa.ConnectionDriverName"
value="com.ibm.db2.jcc.DB2Driver" />
			<property name="openjpa.slice.Names" value="s01, s02" />
			<property name="openjpa.slice.Master" value="s01" />
			<property name="openjpa.slice.Lenient" value="true" />
			<property name="openjpa.slice.s01.ConnectionURL"
value="jdbc:db2://127.0.0.1:50000/UFSC20S1" />
			<property name="openjpa.slice.s01.ConnectionDriverName"
				value="com.ibm.db2.jcc.DB2Driver" />
			<property name="openjpa.slice.s01.ConnectionUserName" value="db2admin" />
			<property name="openjpa.slice.s01.ConnectionPassword" value="password" />
			<property name="openjpa.slice.s02.ConnectionURL"
value="jdbc:db2://127.0.0.1:50000/UFSC20S2" />
			<property name="openjpa.slice.s02.ConnectionDriverName"
				value="com.ibm.db2.jcc.DB2Driver" />
			<property name="openjpa.slice.s02.ConnectionUserName" value="db2admin" />
			<property name="openjpa.slice.s02.ConnectionPassword" value="password" />
			<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)" />
		</properties>



--
View this message in context: http://openjpa.208410.n2.nabble.com/slice-with-db2-error-tp7583764.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message