I have a new problem, I want use hibernate with Captain Casa I get always a ClassNotFoundException, if I use normal App (Main method) it works just fine.
But the connection work with Captain Casa.
If I make a Class and write the mapping for it in hibernate announcement it works. But at the moment when I enter some Entities it can’t find the class anymore.
When I only write @Entity and Table(name=”xx”) it says the primary key is missing. So, it found the class but the a primary key it can’t found it.