Hello,
I want to use Sequoia together with JPOX. I´m facing a problem right
now. The log file shows that the version number from sequoia is send to
JPOX and an error is thrown. But somehow JPOX is expecting a
PostgreSQL-Version.
Does sequoia send information about the underlying database out? (jpox
shouldn`t know that there is a postgres-db in the backend, or?)
Or would you say it might be necessary to "patch" the jpox-class?
log-file:
13:55:25,693 (http-8080-Processor25) ERROR [JPOX.RDBMS.Schema] - Failed
initiali
sing database. Exception : PostgreSQL version is 2.10, 7.0 or later required
javax.jdo.JDODataStoreException: PostgreSQL version is 2.10, 7.0 or
later requir
ed
at
org.jpox.store.rdbms.adapter.PostgreSQLAdapter.<init>(PostgreSQLAdapt
er.java:82)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
my jdo.properties looks like this:
javax.jdo.PersistenceManagerFactoryClass=org.jpox.PersistenceManagerFactoryImpl
javax.jdo.option.NontransactionalRead=true
org.jpox.autoCreateSchema=true
org.jpox.autoCreateTables=true
org.jpox.autoCreateColumns=true
org.jpox.autoCreateConstraints=true
org.jpox.validateTables=false
org.jpox.validateConstraints=false
org.jpox.identifier.case=LowerCase
org.jpox.cache.level2=true
org.jpox.cache.level2.type=DEFAULT
org.jpox.metadata.validate=false
org.jpox.persistenceByReachabilityAtCommit=false
#org.jpox.autoStartMechanism=None
javax.jdo.option.ConnectionDriverName=org.continuent.sequoia.driver.Driver
javax.jdo.option.ConnectionURL=jdbc:sequoia://localhost:25322/tubis_vdb_0a
javax.jdo.option.ConnectionUserName=xxx
javax.jdo.option.ConnectionPassword=xxx
Thanx for any help.
Greetings Sebastian
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia