My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Description

An attempt to mirror as much as possible the active record implementation in rails. Some concepts, like intercepted finders, are not possible in Java.

All JDBC operations are performed using Spring's simple JDBC framework. Spring adapters and transaction handling will be implemented as part of the project.

A test suite testing all functionality is provided. A test suite comparing performance of this project to other persistence frameworks will be provided in the future.

Features

  • Combining data access with the actual data bean
  • Providing functionality by implementing an interface, not extending a class
  • Property access by name (getting/setting) as well as java getters/setters
  • Serialization into JSON to easily transfer records over the wire
  • Full support for equals/hashCode/toString/clone java functionality
  • Convention based configuration with fine grained control using annotations
  • Custom types supported
  • Basic CRUD operations out of the box (find, count, save, reload, delete)
  • Dynamic finder methods configured by convention (name) or annotations
  • Support for native SQL queries and names queries
  • Transaction support
  • Spring integration
  • Before/after interceptors and pre processors - to be implemented
  • Composite bean building - to be defined and implemented

Documentation

  • Ar4j API: JavaDocs for the trunk version of the project
  • Checkout/Build Instructions on how to check out and build the project locally
  • User guide: TO BE CREATED

Benchmarks

A benchmark suite is provided with starting with version 0.2.0. Results will be posted there with every minor and major release, but not for patches.

Releases

Participation

Participation and comments are encouraged. You can communicate with me or other members of the project via the issue tracker or email the owner directly at: fxdemolisher /at/ gmail [dot] com

Links

Powered by Google Project Hosting