public < E > E updateProperty ( final E entity , final String name , final Object newValue ) { query ( dbOom . entities ( ) . updateColumn ( entity , name , newValue ) ) . autoClose ( ) . executeUpdate ( ) ; BeanUtil . declared . setProperty ( entity , name , newValue ) ; return entity ; }
Updates single property in database and in the bean .