Hi,
I have a stored proc as given following:
tmp_usersreport is a global temp table defined in ORACLE DB.
My Hibernate mapping is called sp.hbm.xml:
My return DTO is:
Java Code to call stored proc:
Exception is:
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:17)
at test4.test(test4.java:55)
at test4.main(test4.java:17)
Caused by: org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
Please Help. This is my first post here.
Thanks in adv.
I have a stored proc as given following:
tmp_usersreport is a global temp table defined in ORACLE DB.
My Hibernate mapping is called sp.hbm.xml:
My return DTO is:
Java Code to call stored proc:
Exception is:
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:17)
at test4.test(test4.java:55)
at test4.main(test4.java:17)
Caused by: org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
Please Help. This is my first post here.
Thanks in adv.