cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: OT: [RT] Use of flowscript or the pyramid of contracts
Date Mon, 19 Apr 2004 11:02:01 GMT
On Mon, Apr 19, 2004 at 12:32:38PM +0200, Leon Widdershoven wrote:
> 
> To me, hibernate is overkill and yet another thing to manage. The
> advantage of esql is that it is simple, and has a single layer access
> to the database.
> 
> Hibernate is more complicated to set up, and then has to be maintained.
> If you use plain SQL, only the queries have to be maintained. If you
> use hibernate, it also has to be maintained.
> 
> For plain old statements like select * from foo where bla=<xsp:request.../>
> it's just overkill to me.
> 
> I do think hibernate is very good - for advanced usage. I think it
> is a shame that people are forced to either use xsp or use plain
> java.sql access to the database in flowscript.
You are not right. Setting up hibernate and writing first application
consisting of 5 tables took me 1 hour. For two weeks I been gathering strength
to do that because I've been as scared as you are :)
	lg
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message