Questions tagged [genericdao]
48 questions
0
votes
1 answer
Best practices for Spring Transactions and generic DAOs & Services
I work on a Java EE application with Spring and JPA (EclispeLink). We developed a user-friendly interface for administrating the database tables. As I know more about Spring and Transactions now, I decided to refactor my code to add better…

Coralie
- 107
- 3
- 17
0
votes
2 answers
GenericDAO and NoSuchBeanDefinitionException: No unique bean Spring 3.0
I'm using Spring 3.0 with a genericDAO. I have this:
public interface GenericDAO
...
@Repository("genericDAO")
public class GenericDAOImpl implements GenericDAO {
...
public interface A…

CalamarBicefalo
- 87
- 2
- 11
0
votes
1 answer
One generic business service layer for all controller in MVC
I create a service class which contain the following method
selectAll() return Obj Array
selectOne(); return Obj Array
insert(Obj); return int
delete(); return int
update(); return int
I want to make this class generic as Controller can pass any…

Both FM
- 770
- 1
- 14
- 33