Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a java implementation of the ActiveRecord pattern that is built on top of Hibernate, similar to Castle Windsor? [closed]

I am looking for a Java implementationation of the ActiveRecord pattern which is built on top of Hibernate.

In .Net there is a open source project Castle Windsor ActiveRecord which implements the ActiveRecord pattern on top of NHibernate.

I'm looking for something like this, except sitting on top of the NHiberate persistence frameowork for Java.

like image 397
marshally Avatar asked Mar 04 '09 13:03

marshally


People also ask

Is Hibernate a data mapper?

Hibernate provides a mechanism for Object-Relational Mapping (ORM); it's an ORM framework. If you look at the description of Data Mapper pattern, it's pretty much the same as the concept of ORM.

Is Hibernate active record?

The core difference between Rails ActiveRecord and Hibernate is the architectural patterns the two are based off of. Rails, obviously, is using the ActiveRecord pattern, where as Hibernate uses the Data Mapper/Identity Map/Unit of Work patterns.

What is active record in Java?

ActiveRecord is a Ruby on Rails' ORM layer, roughly comparable to Hibernate in Java. ActiveRecord is based on conventions rather than configuration, so it is easier to work with than Hibernate. It really shines when it comes to simplifying the basic operations for creating, reading, updating, and deleting data.


1 Answers

I released a project called ActiveJDBC: http://javalite.io/. This is what you are looking for

like image 137
ipolevoy Avatar answered Nov 15 '22 18:11

ipolevoy