For the record I don't even use DAO anymore. It's an extra layer of
abstraction that isn't needed unless you know out of the gate that you're
going to have multiple persistence frameworks or databases.
Cheers,
Clinton
On Fri, Jan 9, 2009 at 12:07 AM, Rick wrote:
> I've looked at guice. I was l
Feel free to grab the iBATIS DAO source and make it your own.
No need to start from scratch... it's Apache licensed... :-)
Clinton
On Fri, Jan 9, 2009 at 1:03 PM, Rick wrote:
> On Fri, Jan 9, 2009 at 2:47 PM, Jeff Butler wrote:
> > I meant that you could write plumbing code to support whateve
I didn't see any docs in Ibator about generating code based on stored
functions/procs or packages Is that something that is planned in a future
release? Are there any options I can use now? What if I wanted all my DML
(except select) to go through stored procs, or possibly even have my select
I use guice to inject a SqlMapClient object into my dao implementations.
then I just call the methods on that object as needed.
On Fri, Jan 9, 2009 at 1:03 PM, Rick wrote:
> On Fri, Jan 9, 2009 at 2:47 PM, Jeff Butler wrote:
> > I meant that you could write plumbing code to support whatever yo
On Fri, Jan 9, 2009 at 2:47 PM, Jeff Butler wrote:
> I meant that you could write plumbing code to support whatever you
> want your persistence interface to look like.
>
> Spring SqlMapClientDaoSupport is IoC enabled, and also supports
> Spring's translation of SQLException into more meaningful ru
I meant that you could write plumbing code to support whatever you
want your persistence interface to look like.
Spring SqlMapClientDaoSupport is IoC enabled, and also supports
Spring's translation of SQLException into more meaningful runtime
exceptions. If you don't need that, then I'd just roll
On Fri, Jan 9, 2009 at 2:25 PM, Jeff Butler wrote:
> iBATIS DAO is deprecated, so probably won't be enhanced, may not work
> with future version of iBATIS, etc. But it works perfectly well as a
> simple IoC type of container with a bent towards iBATIS.
>
> Spring is cool but getting bloated. If
iBATIS DAO is deprecated, so probably won't be enhanced, may not work
with future version of iBATIS, etc. But it works perfectly well as a
simple IoC type of container with a bent towards iBATIS.
Spring is cool but getting bloated. If you only need IoC there are
simpler alternatives like guice (
Is it possible that in your ibatis application, the insert statement and
the 'values IDENTITY' statement are executed on different connections.
LiborP
I'm curious about your thoughts on using the ibatis DAO over the
Spring stuff? I'm really only using Spring for being able to extend
SqlMapClientDaoSupport. I'm not doing anything super cool with
swapping out test dao's etc with a different implementation, so I'm
thinking using the preferred Spring
Those loggings come from your own "class".
That's because SqlMapClientTemplate from Spring as a "feature" that allows it
to log the statements you see (connections and sessions) at your class level
even though it's really coming from SqlMapClientTemplate.
To prevent such logs, I change the log l
Hey thanks! That did it!
Only some Information about opened JDBC-Connections and SqlMapSessions are
still in the Log. They seem to be generated in my own classes, although no code
exists for this output in these classes. But this is acceptable.
Daniel
Original-Nachricht
> Da
Try setting java.sql to ERROR.
Christian
-Original Message-
From: Daniel Bick [mailto:werbemai...@gmx.de]
Sent: Friday, January 09, 2009 6:27 AM
To: user-java@ibatis.apache.org
Subject: Turning IBatis Logging off (in JBoss Server)
Hi there!
I have a little (or big?)
Hi all,
I'm new in iBatis. I'm using Swing, Spring, iBatis and Apache Derby in my
desktop project. I'm struggling with receive inserted ID. I'm not able to
find out last inserted ID. To generate new ID I'm using Derby function
IDENTITY_VAL_LOCAL(). This function works fine for generating ID. This
Hi there!
I have a little (or big?) Problem with my J2EE-Application using IBatis/Spring
in an JBoss-Environment (IBatis 2.3.4, Spring 2.5 and JBoss 4.0.3SP1 <- The
last one is a must have!).
IBatis generates tons of debug-messages every time a SQL-Request is sent to the
database (Oracle 10g2)
15 matches
Mail list logo