openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christiaan <christiaan...@hotmail.com>
Subject Re: [jira] Created: (OPENJPA-1744) Support JDO
Date Wed, 11 Aug 2010 09:44:47 GMT

Hi Patrick,
I tried enhancing with the latest OpenJPA 2.1.0 all jar and got the
exception below.

After inspection of the source, this seems to be caused by the fact that in
OpenJPA 1.0 the field brokerPlugin is declared as:
    public ObjectValue brokerPlugin;

whereas in OpenJPA 2.1.0 this has been changed into:
    public BrokerValue brokerPlugin;

output:
OpenJPA version: 2.1.0-r422266:983973
Using default Kodo properties from Bootstrap
Using db kodo properties file: kodo.mssql.properties
performing enhancement
An error occurred while attempting to determine the version of
"file:/C:/kodoEnhance.properties".
java.lang.NoSuchFieldError: brokerPlugin
	at
kodo.conf.KodoProductDerivation.beforeConfigurationLoad(KodoProductDerivation.java:48)
	at
org.apache.openjpa.lib.conf.ProductDerivations.beforeConfigurationLoad(ProductDerivations.java:208)
	at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:609)
	at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:200)
	at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.<init>(OpenJPAConfigurationImpl.java:191)
	at com.ces.core.domain.database.KodoTools$1.run(KodoTools.java:79)
	at
org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:730)
	at
org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:715)
	at com.ces.core.domain.database.KodoTools.enhance(KodoTools.java:76)
	at com.ces.core.domain.database.KodoTools.main(KodoTools.java:65)

regards,
Christiaan
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/jira-Created-OPENJPA-1744-Support-JDO-tp5325932p5411606.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message