Initial SessionFactory creation failed.org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: org.hibernate.MappingException: Could not read mappings from resource: sp.hbm.xml
I added code tags to your post. Note how it's easier to read.
This sounds like a question about the Hibernate side of things. I'll move it to our Object/Relational forum for you. There will be a link to it from the original JDBC location so it will be easy to find.