Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
904 | minor | always | 01-31-06 08:26 | 03-27-06 14:18 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.17 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.19 | ||
|
|||||
Summary: | 0000904: CMP updates not visible in selects | ||||
Description: |
(rep by Steven Grimm) We have a session bean that calls an entity bean to perform some updates, then does a JDBC call that joins with the entity bean's table. Something like fooBean.setName("Joe"); stmt = connection.prepareStatement("select f.name from foo f, bar b where f.id = b.foo_id"); What seems to be happening is that the "foo" table is not getting updated by the call to setName(). Most likely the container is just deferring the update until the end of the transaction for performance reasons. At least, that's what WebLogic does. They provide a "defer updates until end of transaction" option that can be set to false in cases like the above. What, if anything, is the equivalent in Resin? How do I get updates to entity beans to show up in JDBC queries within the same transaction? I thought maybe the "distributed" option to <ejb-server> would help, as documented on http://www.caucho.com/resin-3.0/cmp/ejb-server.xtp [^] -- but when I try to include <distributed> in my resin.conf's <ejb-server>, I get an XML validation error that claims there's no such thing as a <distributed> tag! What's the story with that? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|