db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » Transactions   (RSS)
Showing page 1 of 3 (23 total posts)
  • Re: Data Access Layer

    Hi You have very flavors, here I give just 3: 1) You can expose transactional methods in Repository clases: BeginTransaction(); RollBack(); Commit(); then in Business classes you can use it. 2) You can also play a little with contexts and create another class called UnitOfWork with those transactional methods to manage this issue. It is, ...
    Posted to db4o User Forum (Forum) by uooopaa on July 17, 2008
  • Managing Transactions

    I have a confession. Not only am I new to db4o, but to programming in general, Java or otherwise. So please pardon me in advance for this question about transactions. I need to display queried objects in a jsp. Is there a way to do this without keeping the container open for the entire life of the thread? How is this normally done? Does one open ...
    Posted to db4o User Forum (Forum) by polvo on April 27, 2008
  • Regarding commit and rollback

    The documentation for ObjectContainer says that rollback() rolls back the running transaction while a call to commit()  starts a new transaction immedidately. So for example if I save some objects then call commit() and then rollback() right after that will that have no effect whatsoever or will that rollback() all the objects saved ...
    Posted to db4o User Forum (Forum) by pdeva on March 20, 2008
  • Implicit Transactions

    Hello, I'm not sure how much this applies to Java (I'm a bit rusty there), but .NET has some really really easy, intuitive and useful transaction management options built in and I would love to see db4o implement these. I have implemented a Transaction Resource Manager for an ORM I was working on before, and really it's not very difficult, but ...
    Posted to db4o Product Developer Forum (Forum) by TheXenocide on February 6, 2008
  • IBM DeveloperWorks: The busy Java developer's guide to db4o: Transactions, distribution, and security

    Java enterprise development with db4o Java™ developers can get a lot of mileage out of storing objects directly in an object-oriented database like db4o. Without support for transactions or the ability to use data in a distributed environment (and keep it secure), however, you probably won't have much use for the OODBMS. In this final installment ...
    Posted to In the News (Weblog) by Nik Wekwerth on December 19, 2007
  • Re: IllegalStateException: I thought an ObjectContainer is thread-save

    Hi Maik, The test case I provided works well in embedded mode, but in a c/s configuration the exceptions are thrown. I filed the bug under http://tracker.db4o.com/browse/COR-767.  Cheers, Andreas 
    Posted to db4o User Forum (Forum) by Poison on August 13, 2007
  • Re: tests with db4o in spring framework

    I must specify, that transactions are possible https://springmodules.dev.java.net/docs/reference/0.8/html/db4o.html even for test cases, but I hope there is more elegant way
    Posted to db4o User Forum (Forum) by Jan Chodura on August 9, 2007
  • Re: NullPointerException while using Blobs in Client/Server mode

    I supplied a patch in jira. (http://tracker.db4o.com/browse/COR-738). This patch adds a new Message for just closing the socket without terminating the current transaction. I hope this is the correct handling for blobs.   - Andreas 
    Posted to db4o Product Developer Forum (Forum) by Poison on July 24, 2007
  • NullPointerException while using Blobs in Client/Server mode

    Hello *, when switching the database file in c/s mode and using a blob read or write operation, the BlobProcessor closes the current transaction (Is this how it should be???), but db4o continues to use this open transaction. So closing the ObjectContainer results in a NullPointerException, because the Server couldn't find the correct ...
    Posted to db4o Product Developer Forum (Forum) by Poison on July 23, 2007
  • High volume of very volatile data...transaction strategy?

    Hi everbody,  before I start, my background: I'm developing webgames which means games that are played via a webbrowser and have MMOG-character in respect to the number of players. Currenty I'm working on such a game which is about to be completed in a few months. With the end of the project in sight I'm slowly starting to lay out the ...
    Posted to db4o User Forum (Forum) by Lunikon on June 13, 2007
1 2 3 Next >