It makes no sense to extend a class from an interface. I guess Rafael should write something about his ideas with the new model. I guess the idea is to make all the DAO's in net/jjforum/dao into interfaces, and the create the implementations of them inside net/jforum/dao/hibernate. But I haven't looked at it proberly yet. [originally posted on jforum.net by lazee]
I was looking others DAO's and some of then, like ForumDAO, were extending HibernateGenericDAO, and this class should be similar to UserDAO, shouldn't?
[originally posted on jforum.net by Guilherme Moreira]
Well, i've finished the migration of UserDAO, and make all the tests, but i1m not good with tests, if someone wants, watches my tests and send/post others. [originally posted on jforum.net by Guilherme Moreira]
Another question, there is a method which adds a user with a Id, in hibernate it'll work only if in Entity we remove the Annotation GeneratedValue or if already has one user with Id
What can i do? [originally posted on jforum.net by Guilherme Moreira]