Hi everybody.
I'm a trainee who is trying to do reverse engineering. In order to do that I can use MyEclipse trial version and everything goes all right, but I'm not able to use the free tools.
I don't know if my trainer would spend money in purchasing MyEclipse, so I'm a little worried.
Anyway, the fact is that when I want to create a Hibernate Console Configuration (because I've already written my Hibernate.cfg.xml file), I follow every step to fill the blanks (name, configuration file, mapping files I have and classpath where my JDBC driver is) and click the finish button ... nothing happens.
I go to "Hibernate Configurations" which appears in Hibernate Console view and nothing is there. However, and this is the most amazing thing, when I try to make another configuration, I'm not allowed because "a configuration with that name already exists!" I can't believe it.
So, what's the problem? Is MyEclipse disturbing Eclipse? I don't think so because I read in any place that they can work together (perhaps in MyEclipse page or forums).
Well, I think that this is the problem when I try to do "hibernate code generation", but I'm not sure. When I try to run this "hibernate code generation" I get the next exception:
Code:
Exception while generating code
Reason:
org.hibernate.MappingException: Resource: grid.hbm.xml not found
I can swear that file is in the classpath (actually it's in the main folder), and I can't edit my hibernate configuration because it doesn't appear in "Hibernate Configurations".
What can I do?
Thanks a lot for helping me.