relation « POJO « JPA Q&A





1. Diagram to show hibernate POJOs and tables relation.    coderanch.com

Hi All, Is there any tool which can generate kind of sequence diagrams which can show that this save method is saving an object to this particular table. I have code and hibernate mapping files. Now I wanted to have a document which can have such diagrams for future use. Kindly let me know if such kind of tool is there? ...

2. Mapping existing POJOs that use List properties for relation    forum.hibernate.org

Preface this by saying I'm new to Hibernate, but I've been reading everything I can get my hands on for the last month and solving problems as they come up in my coding efforts. Read thru chapter 5 on Hibernate in Action so far. :) BTW, very well written Christian/Gavin. Anyway, I'm working on a newer version of our persistence layer ...

3. mapping pojo property:no relation between db tables [SOLVED]    forum.hibernate.org

Hi, I have two pojo i.e. class A { int a_id; String name; Timestamp a_time; } class B { int b_id; int x; Timestamp b_time; A a; <<<<<<<<<<<<<<<<< how to initialize 'a' through mapping? } When I get from db pojo 'B' I want to initialize (through mapping) property 'A' in pojo 'B' by special sql query (i.e. from A as ...