As my understanding on setting hibernate, I need to create
- table meta data file (
person.hbm.xml
), include all the fields mapping - java object (
person.java
)
If we use stored procedures for all transaction, do we still need the above configuration?
It seems hibernate and stored procedures will overlap,
We set up the stored procedure because we don't want the to developer know all the field in db. If tables change, then we need update above files.
Does it mean if we purely use stored procedure, we should just go for JDBC?
If hibernate, we should stay in HQL?