Computers have been my hobby since I was 12. Now I'm a freelance Java developer. Like many other developers I am working on various private projects. Some are open source components (Butterfly Components - DI container, web ui, persistence api, mock test api etc.). Some are the tutorials at tutorials.jenkov.com. Yet others are web projects. I hold a bachelor degree in computer science and a master degree in IT focused on P2P networks. Jakob has posted 35 posts at DZone. You can read more from them at their website. View Full User Profile

Butterfly Persistence 5.2 Released - Connection, Transaction Scoping Support

08.07.2009
| 2094 views |
  • submit to reddit

Butterfly Persistence 5.2.0 contains support for easier scoping of connections and transactions. In other words, it has become easier to make sure that connections are opened and closed correctly, and that transactions are committed / rolled back correctly. This resembles the transaction management support found in Spring.

Butterfly Persistence is a simplistic, no-nonsense, Java persistence API. It is a thin layer ontop of JDBC, and you  always have access to the underlying JDBC connection. Butterfly Persistence contains simple JDBC templates that help you iterate ResultSet's etc., as well as Map reading, and Object reading / writing, including batch update support.

Butterfly Persistence is the continuation of Mr Persister, so these two API's are very similar. Butterfly Persistence / Mr Persister is being used in lots of production environments, on a variety of databases.

You can find Butterfly Persistence here

 


0
Published at DZone with permission of its author, Jakob Jenkov.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)