I’m learning Hibernate and myEcIDE is definately helping. I apologize if this more of general Java questions, but what the heck….
The Hibernate tool makes DAO classes and that’s nice, but I’m thinking that I would prefer to make the DAO classes “plurals” of the object the access and then to make all the methods static. So say I have a class named ‘Request’ and I wanna Hibernate all over its bad self. Then I could write:
Request r = Requests.findByID(“1234”);
r.myVar = “newValue”;
Requests.save(r);
What do you think?
Thanks!
And keep up the great work.