Extra SQL on lazy CMR load
--
Key: OPENJPA-241
URL: https://issues.apache.org/jira/browse/OPENJPA-241
Project: OpenJPA
Issue Type: Bug
Components: sql
Affects Versions: 0.9.8
Environment: all
[
https://issues.apache.org/jira/browse/OPENJPA-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488521
]
Rob Wisniewski commented on OPENJPA-134:
To illustrate the 'eager despite lazy' behavior... here's the
[
https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Wisniewski updated OPENJPA-160:
---
Attachment: profile_clonepatch.jpg
Guys... sorry to keep bearing bad news, but we seem to
[
https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476626
]
Rob Wisniewski commented on OPENJPA-160:
Okay.. looks like the finalizer was the problem. I took it out
[
https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476627
]
Rob Wisniewski commented on OPENJPA-160:
Also, to be clear, the cloning seems to give us a little boost too
[
https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476680
]
Rob Wisniewski commented on OPENJPA-160:
Patrick.. good work. The new patch performs as expected. I
[
https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Wisniewski updated OPENJPA-160:
---
Attachment: profile_explicitclass.jpg
I went ahead and made the change that Craig suggested