jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java
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;
	}
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;
	}
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.
Updates single property in database and in the bean .