I created a java project, selected MyEclipse & Added Hibernate Capabilities. I was also able to create Database Profile, which connects to Oracle 10G. I am able to see all the tables, see table data etc.
But When I selected some of the tables and tried to create Hibernate mappings, it creates *.hbm.xml files, which has xml validation errors. I looked at the *.hbm.files and made sure it is pointing to right dtd as shown below.
——————————————————————————
<?xml version=”1.0″ encoding=’UTF-8′?>
<!DOCTYPE hibernate-mapping PUBLIC
“-//Hibernate/Hibernate Mapping DTD 3.0//EN”
“http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd” >
——————————————————————————-
Also, I am getting following error, when I try to create Hibernate Session.
org.hibernate.MappingException: Error reading resource: TestDelete.hbm.xml