Apache JDO Project - PM/PMF detachAllOnCommit broken in runtime20 ?

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2005 > PM/PMF detachAllOnCommit broken in runtime20 ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PM/PMF detachAllOnCommit broken in runtime20 ?
Andy Jefferson

2005-09-27, 7:46 am

Is build of runtime20 currently broken ? I get

[javac] Compiling 71 source files
to /home/andy/work/jdo/trunk/runtime20/target/classes
/home/andy/work/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java:269:
cannot resolve symbol
symbol : method getDetachAllOnCommit ()
location: interface org.apache.jdo.pm.PersistenceManagerFactoryInternal
_detachAllOnCommit = pmf.getDetachAllOnCommit();

That is, "org.apache.jdo.pm.PersistenceManagerFactoryInternal" does not
currently have getDetachAllOnCommit/setDetachAllOnCommit methods



--
Andy

Michael Bouschen

2005-09-27, 7:46 am

Hi Andy,

Matthew recently added method getDetachAllOnCommit to the interface
PersistenceManager. Please do a svn update followed by maven rebuild in
your api20 project. This should store an updated api20 jar in your local
maven repository. I think then runtime20 will compile again (well, it
does on my side ;-)).

Regads Michael

> Is build of runtime20 currently broken ? I get
>
> [javac] Compiling 71 source files
> to /home/andy/work/jdo/trunk/runtime20/target/classes
> /home/andy/work/jdo/trunk/runtime20/src/java/org/apache/jdo/impl/pm/PersistenceManagerImpl.java:269:
> cannot resolve symbol
> symbol : method getDetachAllOnCommit ()
> location: interface org.apache.jdo.pm.PersistenceManagerFactoryInternal
> _detachAllOnCommit = pmf.getDetachAllOnCommit();
>
> That is, "org.apache.jdo.pm.PersistenceManagerFactoryInternal" does not
> currently have getDetachAllOnCommit/setDetachAllOnCommit methods
>
>
>



--
Michael Bouschen Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin

Andy Jefferson

2005-09-27, 7:46 am

Hi Michael,

> Matthew recently added method getDetachAllOnCommit to the interface
> PersistenceManager. Please do a svn update followed by maven rebuild in
> your api20 project. This should store an updated api20 jar in your local
> maven repository. I think then runtime20 will compile again (well, it
> does on my side ;-)).


Yep. That works for me too. Thanks!

--
Andy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com