jPersist

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

jPersist Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • David Bulmore
  • Publisher web site:
  • http://www.jpersist.org/

jPersist Tags


jPersist Description

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 POJOpublic 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.")); Requirements: · Java 2 Standard Edition Runtime Environment What's New in This Release: · This release has a new licensing scheme. · It has additional logging, cleans up the source, and fixes a few minor bugs.


jPersist Related Software