Anonymous | Login | Signup for a new account | 12-17-2024 14:50 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000971 | [Resin] | minor | always | 03-04-06 11:59 | 04-04-06 14:52 | ||||
Reporter | gzhu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.19 | Product Version | 3.0.18 | ||||
Product Build | |||||||||
Summary | 0000971: CMP entity bean set method does not work after bean creation and before any non-Primary Key getter is called | ||||||||
Description |
In our case, this is wrapped within a transaction enabled stateless session bean. A sample scenario is like this CMP Entity bean "Foo" fields: id(ejb.pk), name, description method: ejbCreate(int id, String name) -- start a transactional session bean --- FooHome h = ..JNDI lookup...; Foo f = h.create(10, "Some Name"); /** String myname = f.getName(); // a non-primary key getter **/ f.setDescription("Some Description"); --- end session bean --- Above code will not set description field, but it will if you uncomment that getName line. Not sure whether this will have the same incorrect behaviour if above code is not in the same transaction context. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |