Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27650

Re: Spring DAO accessing database

From leif.roar@invalid.com (Leif Roar Moldskred)
Subject Re: Spring DAO accessing database
Newsgroups comp.lang.java.programmer
References <0d2fa4e0-76e2-42b0-b47a-8a59190a7560@googlegroups.com>
Organization Dimnakorr
Message-ID <1b2dnbrv09hntI7OnZ2dnUVZ8tCdnZ2d@giganews.com> (permalink)
Date 2014-03-02 06:54 -0600

Show all headers | View raw


Navneet Mathpal <navneetmathpal93@gmail.com> wrote:
>
> Hi,
>
> it is necessary to have DAO to access the database in spring
> framework, or we can do it without DAO.
>

No, you don't have to use a DAO idiom to do database access with the
Spring framework; you're free to use whichever database strategy you
prefer. In fact, Spring's JDBCTemplate class is a very convenient help
for doing plain SQL calls.

-- 
Leif Roar Moldskred

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Spring DAO accessing database Navneet Mathpal <navneetmathpal93@gmail.com> - 2014-03-01 10:48 -0800
  Re: Spring DAO accessing database leif.roar@invalid.com (Leif Roar Moldskred) - 2014-03-02 06:54 -0600
    Re: Spring DAO accessing database Navneet Mathpal <navneetmathpal93@gmail.com> - 2014-03-02 05:29 -0800
      Re: Spring DAO accessing database Jeff Higgins <jeff@invalid.invalid> - 2014-03-02 10:57 -0500

csiph-web