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 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.
>>Why?
>>Thanks,Ale
>>
>>
>>     //1. Get the PersistenceManager
>>        PersistenceManager persistenceManager =
>>jdo.getPersistenceManager();
>>        Utenti e = new Utenti();
>>        e.setId_utente(bean.getId_utente());
>>        PersistenceBroker broker =
>>PersistenceBrokerFactory.defaultPersistenceBroker();
>>        Identity oid = new Identity(e, broker);
>>        Utenti b = new Utenti();
>>        //    2. start transaction
>>        persistenceManager.currentTransaction().begin();
>>        // 3. Get the Object based on the primary key
>>        b = (Utenti) persistenceManager.getObjectById(oid, false);
>>        // 4. Copy data to bean
>>        copyData(b, bean);
>>        // 5. End transaction
>>        persistenceManager.currentTransaction().commit();
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
-------------------------------
Alessandro Vincelli
E-mail: [EMAIL PROTECTED]
tel: +39 339 8695546


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to