jPersist 5.0

An extremely powerful, light-weight, object-relational database persistence API.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in jPersist 5.0:

  • This is the last major release of jPersist. Development will now shift to the spinoff project Easier Java Persistence (EJP), with only minor updates and bugfixes for jPersist in the future.
Read full changelog
send us
an update
GPL (GNU General Public License) 
3.1/5 23
David Bulmore
ROOT \ Database \ Database APIs
jPersist is an extremely powerful, light-weight, object-relational database persistence API that manages to avoid the need for configuration and annotation; mapping is automatic. The project uses JDBC and can work with any relational database and any type of connection resource. jPersist uses information obtained from the database to handle mapping between the database and Java objects, so mapping configuration is not needed, and annotation is not needed, in fact there is no configuration needed at all.

jPersist has a database manager class that handles pooling of its own resources as well as managing JDBC connections as needed. The database manager provides several object relational access methods that allow queries, inserts, updates, deletes, etc. in a single line of code.

However, the real power of jPersist resides in the jPersist.Database class. This class is a powerhouse of functionality that provides configuration and annotation free object-oriented access to your relational database. jPersist can be used with POJO object instances, or extended to provide object-relational abilities for your class instances, and it can even be cast to an interface for database proxying. jPersist also implements ListIterator to provide forward and backward traversal of the data returned and can be used directly in page rendering tools such as JSP and Velocity. jPersist also easily handles all types of data associations and inheritance. When loading an object, you can optionally also load any of the associations the object may have.

jPersist is as easy as:

// normal POJO
public class Customer extends PersistentObject // not required
public Customer(String lastName) {�}


DatabaseManager dbm = DatabaseManager.getDatabaseManager("jndiDb");

Customer customer = (Customer)dbm.loadObject(new Customer("Smith"));

dbm.saveObject(new Customer("dbuser1", "passwd", "Dave", "B."));

Last updated on June 30th, 2010


#database persistence #database API #object-relational database #jPersist #object-relational #database #persistence

Add your review!