Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Bob Silverberg / Bob Silverberg (Bob Silverberg)
Created: 04/05/2010
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 274015
Priority/Frequency: Major / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
ormsettings.automanageSession="disabled" not flushing on commit In a test that I just did I found that with automanagesession="true", the session is not being flushed when I commit the transaction. Here’s a test script:Author = entityLoadByPK("Author",1);writeDump(Author);Author.setName("Carol");writeDump(Author);transaction {writeDump(Author);Author.setName("Daniel");writeDump(Author);}entityReload(Author);writeDump(Author);Assuming that the Name property of Author contains "Bob" in the database, I’d expect the names in my dumps to be:BobCarolCarolDanielDanielBut I’m seeing:BobCarolCarolDanielBobAnd when I look in the database the value "Bob" is there, which means that when the txn commits, the session is not getting flushed.
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041274
External Customer Info:
External Company:
External Customer Name: Bob Silverberg
External Customer Email: 5AD606C248A4C7F0992015A9
External Test Config: 04/05/2010
Attachments:
Comments: