Re: OJB-JDO why sequence increment in retrieve

2005-05-19 Thread Alessandro Vincelli
Ok, I'am trying in other ways, but I have other problems. Can you hel me in a correct ... Identity oid = new Identity(e, broker); ... b = (Utenti) persistenceManager.getObjectById(oid, false); ... thanks in advance Armin Waibel ha scritto: Hi Alessandro, Alessandro Vincelli wrote: I use

Re: OJB-JDO why sequence increment in retrieve

2005-05-19 Thread Armin Waibel
Alessandro Vincelli wrote: Ok, I'am trying in other ways, but I have other problems. Can you hel me in a correct ... Identity oid = new Identity(e, broker); ... b = (Utenti) persistenceManager.getObjectById(oid, false); ... thanks in advance To create Identity objects you should use Identity oid

Re: OJB-JDO why sequence increment in retrieve

2005-05-18 Thread Martin Kalén
Alessandro Vincelli wrote: I have tried, but I have had great problems. Tomcat always says: Message: Scheduler with name 'Cocoon' already exists. This is only the effect of a previous error. Cocoon has the following web.xml configuration: load-on-startup1/load-on-startup This means that Tomcat

Re: OJB-JDO why sequence increment in retrieve

2005-05-12 Thread Armin Waibel
Hi Alessandro, Alessandro Vincelli wrote: I use this simple code to retrieve row, but after this code the db sequence of Utenti table is autoincrement. Why? Thanks,Ale //1. Get the PersistenceManager PersistenceManager persistenceManager = jdo.getPersistenceManager(); Utenti e

Re: OJB-JDO why sequence increment in retrieve

2005-05-09 Thread Alessandro Vincelli
I use db-ojb-1.0.1 with cocoon 2.1.7 Can i try the new latest release with cocoon? Thanks a lot Gallardo I use with great satisfaction Druid. I have read all what you have made on OJB/JDO/CForms. Antonio Gallardo ha scritto: Hi: Please provide the OJB version you use. AFAIK, it was

Re: OJB-JDO why sequence increment in retrieve

2005-05-09 Thread Alessandro Vincelli
Hi I have a problem to include db-ojb1.0.3 in Cocoon 2.1.7 build with jdk.1.5 Can I compile db-ojb1.0.3 with jdk.1.5 and include this in Cocoon? Thanks a lot I receive this message: Initialization Problem Message: Scheduler with name 'Cocoon' already exists. Description:

Re: OJB-JDO why sequence increment in retrieve

2005-05-09 Thread Antonio Gallardo
On Lun, 9 de Mayo de 2005, 2:45, Alessandro Vincelli dijo: I use db-ojb-1.0.1 with cocoon 2.1.7 Can i try the new latest release with cocoon? Yep. Thanks a lot Gallardo I use with great satisfaction Druid. I have read all what you have made on OJB/JDO/CForms. :-) I am glad to hear

Re: OJB-JDO why sequence increment in retrieve

2005-05-09 Thread Antonio Gallardo
On Mar, 10 de Mayo de 2005, 12:28, Alessandro Vincelli dijo: Hi I have a problem to include db-ojb1.0.3 in Cocoon 2.1.7 build with jdk.1.5 Can I compile db-ojb1.0.3 with jdk.1.5 and include this in Cocoon? I guess yes. I will try to add this to the cocoon svn today night. Best Regards,

Re: OJB-JDO why sequence increment in retrieve

2005-05-09 Thread Alessandro Vincelli
I have tried, but I have had great problems. Tomcat always says: Message: Scheduler with name 'Cocoon' already exists. Description: org.apache.avalon.framework.configuration.ConfigurationException: cannot create a quartz scheduler Sender: org.apache.cocoon.servlet.CocoonServlet Source:

OJB-JDO why sequence increment in retrieve

2005-05-08 Thread Alessandro Vincelli
I use this simple code to retrieve row, but after this code the db sequence of Utenti table is autoincrement. Why? Thanks,Ale //1. Get the PersistenceManager PersistenceManager persistenceManager = jdo.getPersistenceManager(); Utenti e = new Utenti();

Re: OJB-JDO why sequence increment in retrieve

2005-05-08 Thread Antonio Gallardo
Hi: Please provide the OJB version you use. AFAIK, it was already fixed for non JDO API's. Best Regards, Antonio Gallardo On Lun, 9 de Mayo de 2005, 18:15, Alessandro Vincelli dijo: I use this simple code to retrieve row, but after this code the db sequence of Utenti table is autoincrement.