load « POJO « JPA Q&A





1. Hibernate - how to load into POJO which is not an entity    stackoverflow.com

I have an entity named father and son1 and son2 who are mapped as collections inside father Lets say father has a,b,c properties son1 has a,d and son 2 has b,e ...

2. Loading a single POJO from two databases {newbieQ}    forum.hibernate.org

Hibernate version: 3.1.1 Hi all, I'm new to hibernate and have a perculiar situation. I am creating a database that sites to the side of another system without maintaining a direct link. Therefore the datastructures within it have fields which are effectively foreign keys to this other database. In my POJOs and Hibernate I am trying to figure out how to ...

3. Dynamic classloading of pojo classes    forum.hibernate.org

Is it possible to load the pojo classes dynamical? My project is Eclipse based and I get the pojo classes and the relating mapping files only at runtime. I have tried to set the Thread contextclassloader for loading my pojo classes. That works, but it seams that the classloader which loads my mappings and a bunch of other files (when set ...