Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
3.1.3:
Mapping documents:
[b] How do we map view query in hibernate mapping file
This is my view.
create view con_metrix as
select trans_log.CONTRACT_NAME contractName,
avg(trans_log.PROVIDER_WS_TOTAL_TIME) averageTime ,
MAX(trans_log.PROVIDER_WS_TOTAL_TIME) maxRespTime,
MIN(trans_log.PROVIDER_WS_TOTAL_TIME) minRespTime,
COUNT(trans_log.STATUS) status from CON_TRANSACTION_LOG trans_log
GROUP by
trans_log.CONTRACT_NAME, trans_log.STATUS;
How can i map this to mapping xml
Thanks
Shanmugam.VE