jPersist 5.0

An extremely powerful, light-weight, object-relational database persistence API.
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"));
customer.setLastName("Smithman");
dbm.saveObject(customer);

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

last updated on:
June 30th, 2010, 18:23 GMT
price:
FREE!
developed by:
David Bulmore
license type:
GPL (GNU General Public License) 
category:
ROOT \ Database \ Database APIs

FREE!

In a hurry? Add it to your Download Basket!

user rating 23

UNRATED
3.1/5
 

0/5

What's New in This Release:
  • 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

Add your review!

SUBMIT