Wells Fargo Interview Question

how Hibernate know to persist domain object in database