[hibernate-dev] Framework built on top of Hibernate: BabyFish
Steve Ebersole
steve at hibernate.org
Thu Oct 22 09:22:40 EDT 2015
BTW, the forum link was wrong. I think you meant:
https://forum.hibernate.org/viewtopic.php?f=1&t=1042042
On Thu, Oct 22, 2015 at 7:38 AM Davide D'Alto <davide at hibernate.org> wrote:
> Hi all,
>
> I just want to mention that
> a user on the Hibernate forum created a framework on top of Hibernate:
>
> https://forum.hibernate.org/viewtopic.php?f=1&t=1042072
> https://github.com/babyfish-ct/babyfish
>
> The main concept is around the use of an ObjectModel that replaces the
> proxies and contains all the metadata to access the entities.
>
> Here an example on how to define an object model in Java:
>
> https://github.com/babyfish-ct/babyfish/blob/master/demo/babyfishdemo-om4java/src/main/java/org/babyfishdemo/om4java/fc/Employee.java
>
> In JPA, the object model is generated during compile time and can be
> accessed using:
>
> private JPAObjectModelMetadata employeeOMM =
> JPAMetadatas.of(Company.class);
>
> The ObjectModel provides a fluent API to get lazy associations,
> disable/enable update on properties and so on.
>
> Cheers,
> Davide
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list