Mantis - Resin
Viewing Issue Advanced Details
1013 minor always 03-23-06 16:26 04-04-06 16:53
ferg  
ferg  
high  
closed  
fixed  
none    
none 3.0.19  
0001013: amber issue
(rep by P Budzik)

we are currenlty using Resin-Pro 3.0.18 (licence no: 004524)
We've noticed important bug in CMP (ejb 2.0) sub-system. code that worked well for months suddenly stoped working. it is situation like this:

Domain domain = DomainHome.create(....)

it is given full not-null parameter list and creation is successfull (no exceptions), but if we in the next line issue:

System.out.prinln(domain.getCrdate()) it prints "null" and actually
it is null in database. or even for instance:

Domain domain = DomainHome.create(....)
domain.setFoo("bar");
System.out.prinln(domain.getFoo();

also results with null. It concerns few fields of the object not all. This happens only at the time of creation. Updates are correct but if in separate transaction. This as I suppose a problem with session vs setters. The state of object is not synchronized agains the database.


Notes
(0001013)
ferg   
04-04-06 16:53   
ejb/0am4