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


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

Re: The easiest framework for Java Database applications development released for production use

Date 2011-02-07 19:40 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: The easiest framework for Java Database applications development released for production use
References (1 earlier) <MPG.27b8fec562e57f9e9897c8@news.justthe.net> <iinp9v$765$1@news.albasani.net> <92e64642-b624-4598-beaa-c57540a30733@k22g2000yqh.googlegroups.com> <iioobf$h14$1@news.albasani.net> <4d507a88$0$23752$14726298@news.sunsite.dk>
Message-ID <4d5090ee$0$23755$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 07-02-2011 18:04, Arne Vajhøj wrote:
> On 07-02-2011 07:25, Lew wrote:
>> yaormaAdmin wrote:
>>> Since yaorma encapsulates all of this boilerplate code (i.e. the
>>> allocation and deallocation of the Statement and Resultset objects and
>>> the opening and closing of the database cursors) this type of error is
>>> prevented. Also, its easier to get the data in the single
>>> Database.getData(sqlString, conn) call than to write the boilerplate
>>
>> And what if you aren't ready to deallocate the Statement?
>
> The philosophy in this type of library is not to cover everything,
> but to cover 90-95% of the cases.
>
> Those with more advanced requirements will have to look elsewhere.

This is how DAAB especially the early versions work.

See:
   http://www.4guysfromrolla.com/articles/070203-1.aspx
for an example of how that was presented.

The code is C#, but the difference from Java is negligible
for this code.

Arne

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: The easiest framework for Java Database applications development released for production use Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:40 -0500
  Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-07 19:29 -0800

csiph-web