It's not a secret anymore!
The moose likes Other Application Frameworks and the fly likes  JDBC implementation at persistent layer side  in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark " JDBC implementation at persistent layer side  in spring" Watch " JDBC implementation at persistent layer side  in spring" New topic
Author

JDBC implementation at persistent layer side in spring

maha laxmi
Ranch Hand

Joined: Sep 23, 2005
Posts: 68
what is the best approach to do JDBC implementation at persistent layer side in spring framework ;

for larger applications like 500 users hitting the application daily ,this kind of application should i use HibernateDAOsupport class in spring or spring's JDBC Template class;
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 6294
    
  15

I would not base the decision on the number of users but in the complexity of the query you want to execute. In my experience, the convenience that Hibernate provides is usually worth any overhead when it comes to simpler queries. Once you start having more complicated queries involving multiple joins and/or more than two tables, then overhead becomes more of an issue. If you program to DAO interfaces, it is easy enough to switch from a Hibernate implementation to a JDBC implementation.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JDBC implementation at persistent layer side in spring
 
It's not a secret anymore!