query « JPA « JSF Q&A





1. JPA + EJB + JSF: how can design complicated query    stackoverflow.com

I am using netbean 6.8 btw.
Let say that I have 4 different tables: Company, Facility, Project, and Document. So the relationship is this. A company can have multiple facilities. A facility ...

2. Hibernate Inconsistency With MySQL Insert Query    stackoverflow.com

This problem is driving me insane. Basically, I have setup a hibernate mapping to a java class. The class will do insert to a table. But that is not happening. At ...

4. join Hibernate query problem (Small problem)    coderanch.com

Hey all, I have a small problem. I have two tables. The table Personeel and the table succes. What i wanna do is get the data from both personeel and succes, but i dont want duplicates. So the query i use is: from Personeel p join fetch p.succeses as s It now nicely displays only the personeels records that are linked ...