PDA

View Full Version : Spring with oodbms


Spievak
Aug 22nd, 2004, 10:37 PM
Hi,

I´m using and helping to develop a object database called Perst, and i want to use it with Spring Framework. Excuse me but i´m new to Spring, and i want to know if i can use Spring transactional mechanism since Perst do not have one ?
I need to build a state isolation with transaction suport for objects that are in memory, so when one thread access the object to modify it, the modification is not seen by other threads while the thread don´t do the commit.
If yes, please tell me some directions to do this.

Thanks in advance.

irbouho
Aug 22nd, 2004, 10:57 PM
AFAIK, Spring Framework is not a transaction manager, it allows to use existing transaction management declaratively/programatically in use application.
I hope this makes things a bit clear.

Rod Johnson
Aug 23rd, 2004, 08:29 AM
Omar is correct. Have you considered implementing the JDO API, with the PersistenceManager abstraction for the transactional cache? Spring could then use Perst without needing any custom code.