DatabaseQuery is modifiying for entity

DatabaseQuery is modifiying for entity