Bug 275 : Invalid Update statement when only changed properties have updatable=false
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.6.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
14/04/2010
Updated 
14/04/2010
Type 
Bug
 
Attachments 
No attachments

Found by Rien.

When the only properties that have been changed have updatable=false as thier deployment option.... then the resulting update statement will be invalid with an empty set clause.

update tblSomething set where column=x, column=y etc.

Obviously this results in a SQLException

 
Rob 14 Apr 10:00
Fixed in HEAD

fixed in HEAD.

woResponse

Upload a file