sql « Performance « JPA Q&A





1. Hibernate Performance Tweaks    stackoverflow.com

In your experience what are some good Hibernate performance tweaks? I mean this in terms of Inserts/Updates and Querying.

2. Performance of Hibernate Vs SQL Query in this scenario    coderanch.com

I have following classes public Class Jason { public Long id; @OneToOne(mappedBy="personTemplateId",fetch=FetchType.Lazy) public PersonTemplate personTemplate; ...... ) public Class PersonTemplate{ public Long personTemplateId; public String templateName; @PrimaryKeyJoinColumn(referencedColumnName = "personTemplateId",fetch=FetchType.Lazy) public PersonAttribute personAttribute; } public Class PersonAttribute{ public Long id; public Long prodCodeId; public String attribute1; public String attribute2; .. .. } Now in my application code when I retrieve an instance ...

3. show_sql=true performance question    forum.hibernate.org

4. Problems with one-many performance. Unnecessary SQL?    forum.hibernate.org

Author Message jimhazen2000 Post subject: Problems with one-many performance. Unnecessary SQL? Posted: Mon Jun 21, 2004 10:05 pm Beginner Joined: Mon Jun 21, 2004 7:59 pm Posts: 21 Ok. I've read the Hibernate2 reference document (a few times), the examples and FAQs. They've helped, but now I'm stuck. I've found that for small one-many collections, performance is pretty good. ...