 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dom Guest
|
Posted: Thu Feb 03, 2005 4:48 pm Post subject: SQLUtil static class |
|
|
Hi to everyone,
I have to develop a 3-tier web application.
The application accesses oracle db.
Where can I find a sort of SQLUtil static class in JAVA encapsulating the
most popular JDBC objects and operations,
hiding all the tedium of initialization, exception handling, and cleanup.
This sort of library should have the following operations (for example):
-openConn (AutoCommit)
-closeConn
-select (query, params): returns an ArrayList or an HashMap
-insert/update(query, params): returns a boolean or affeted rows...
-callStoredProcedure(procedure, params, ...): ....
thanks to all
Dom
|
|
| Back to top |
|
 |
JavaJava Guest
|
|
| Back to top |
|
 |
Dom Guest
|
Posted: Fri Feb 04, 2005 10:54 am Post subject: Re: SQLUtil static class |
|
|
"JavaJava" <eckerman (AT) gmail (DOT) com> ha scritto nel messaggio
news:1107453784.130899.185090 (AT) z14g2000cwz (DOT) googlegroups.com...
| Quote: | Check out iBatis, and other then Hibernate, you'll never look back
again.
|
I'd like to find something more simple: I don't need persistence and I've
not to return DTO ...
any other suggestion?
thanks
|
|
| Back to top |
|
 |
Holger Samoht Guest
|
Posted: Fri Feb 04, 2005 5:13 pm Post subject: Re: SQLUtil static class |
|
|
Maybe you want to check for Butler -> butler.sf.net
"Dom" <dom (AT) nospam (DOT) it> schrieb im Newsbeitrag
news:6BsMd.14389$QG6.247194 (AT) twister2 (DOT) libero.it...
| Quote: | Hi to everyone,
I have to develop a 3-tier web application.
The application accesses oracle db.
Where can I find a sort of SQLUtil static class in JAVA encapsulating the
most popular JDBC objects and operations,
hiding all the tedium of initialization, exception handling, and cleanup.
This sort of library should have the following operations (for example):
-openConn (AutoCommit)
-closeConn
-select (query, params): returns an ArrayList or an HashMap
-insert/update(query, params): returns a boolean or affeted rows...
-callStoredProcedure(procedure, params, ...): ....
thanks to all
Dom
|
|
|
| Back to top |
|
 |
JavaJava Guest
|
|
| Back to top |
|
 |
Dom Guest
|
Posted: Mon Feb 07, 2005 1:15 pm Post subject: Re: SQLUtil static class |
|
|
"JavaJava" <eckerman (AT) gmail (DOT) com> ha scritto nel messaggio
news:1107545424.233664.3640 (AT) o13g2000cwo (DOT) googlegroups.com...
It uses Statement instead of PreparedStatement......I think it's not
suitable for complex enterprise applications
Thank
dom
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|