Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26024
| Date | 2011-02-07 18:00 -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 | <740c95bd-a21f-4ad3-8733-6b3b61e44e18@l18g2000yqm.googlegroups.com> <MPG.27b8fec562e57f9e9897c8@news.justthe.net> <iinp9v$765$1@news.albasani.net> <92e64642-b624-4598-beaa-c57540a30733@k22g2000yqh.googlegroups.com> |
| Message-ID | <4d507995$0$23761$14726298@news.sunsite.dk> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
On 06-02-2011 23:30, yaormaAdmin wrote: > On Feb 6, 10:35 pm, Lew<no...@lewscanon.com> wrote: >> yaormama@ĝmail.con says... >> >>>> Yaormama is the easiest ... >>>> Yaormama is also ... large >>>> Yaormama has been deployed and proven ... by single engineers >>>> as well as large ... software development teams. >> >>>> Please visitwww.yaormama.orĝfor all of the details! >> Steve Sobol wrote: >>> There seems to be absolutely NOTHING special about the code snippet on >>> your product's home page. Forgive me for being ignorant, but I don't get >>> what the big deal is. >> >> The big deal is that the vapor-vendors at Yamorama think they're all that by >> spamming newsgroups, but they aren't. > Thanks for the feedback. The special bit in the code shown on the > front page is in the Database.getData(sqlString, conn) call. > Basically it encapsulates the boilerplate code that opens the cursor > on the database side (e.g by creating a Statement and a ResultSet). > Often in large projects someone, somewhere, inevitably forgets to > close the Statement and/or the Resultset in a finally block where an > exception is thrown. This results in a cursor being left open in the > database. Eventually the code is executed enough times to exhaust the > maximum number of cursors allowed for the connection. The next call > that opens a cursor in the database fails. This is often not the > offending code but some perfectly good code that exists in some other > far off place in the code. > > 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 > code to create the statement, create the result set, iterate through > the result set, marshal the data into some type of data object, close > the result set in a finally block, close the statement in a finally > block, etc. So it is more like MS DAAB than an ORM? Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Re: The easiest framework for Java Database applications development released for production use Lew <noone@lewscanon.com> - 2011-02-06 22:35 -0500
Re: The easiest framework for Java Database applications development released for production use Lew <lew@lewscanon.com> - 2011-02-07 09:57 -0800
Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-07 11:19 -0800
Re: The easiest framework for Java Database applications development released for production use Lew <lew@lewscanon.com> - 2011-02-07 08:10 -0800
Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-07 09:32 -0800
Re: The easiest framework for Java Database applications development released for production use Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 18:04 -0500
Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-07 18:59 -0800
Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-07 19:18 -0800
Re: The easiest framework for Java Database applications development released for production use yaormaAdmin <yaorma@gmail.com> - 2011-02-06 20:30 -0800
Re: The easiest framework for Java Database applications development released for production use Steve Sobol <sjsobol@JustThe.net> - 2011-02-06 21:54 -0800
Re: The easiest framework for Java Database applications development released for production use Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 18:00 -0500
Re: The easiest framework for Java Database applications development released for production use Lew <noone@lewscanon.com> - 2011-02-07 21:33 -0500
Re: The easiest framework for Java Database applications development released for production use Lew <noone@lewscanon.com> - 2011-02-07 07:25 -0500
csiph-web