posted 13 years ago
Hi,
I have a application that uses several tables, I would like to change one table for a view that contains the same columns and data types, must I to change the application code (hibernate mapping files, daos etc) or hibernate not disting a table from a view. Suppose that the table and the view are identical.
For example, I develop a application that use a table named APP_TABLE. The application is finished and works perfect, but one day I need to change the APP_TABLE for a view that contains the same data and types (maybe with additional columns but not revelavant)
Must I to change the existing application or the application can work with the view without touch any line of previous code??
Regards.
SCJP 6 - SCWCD 5 - SCBCD 5