Report question

Question: When using Hibernate ORM should i model first a class diagram or DB diagram?