(something you shouldn't be doing inside of a DAO anyway).
Clinton
On 5/24/05, Folashade
Adeyosoye <[EMAIL PROTECTED]>
wrote:
Can
some please post a sample code using the javax.sql.DataSource; to get
connection and to also close the connection in the try final….
Somet
Can some please post a sample code using the javax.sql.DataSource;
to get connection and to also close the connection in the try final….
Something like this…
Thanks
import javax.sql.DataSource;
DataSource dataSource ;
try {
connection = dataSource.getConn
trying to achieve by doing that? You can't really "turn
off" pooling with SimpleDataSource, but you could try one of the other
implementations or write your own to achieve that.
Cheers,
Clinton
On 5/16/05, Folashade
Adeyosoye <[EMAIL PROTECTED]>
wrote:
How
can I
How can I turn off the Database connection pool in the dao.xml
I tried changing the and , but I got
an exception
exception is thrown - java.lang.IndexOutOfBoundsException:
Inde
Title: Help in using iBatis
Try the JPetStore application
From: Sangeetha K
(RBIN/ECB-T1) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 8:01
AM
To:
ibatis-user-java@incubator.apache.org
Subject: Help in using iBatis
Hello,
I'm new to iBatis. I want to know h
My code still produces these errors from
this line in my daoConfig.java, mind you am just trying to get the DAO aspect
to work, no sqlMap
I have also test this with a standalone
app (No Struts) and it worked fine…
I am also using the jars that came with
the JPetStore Application
Is this a normal logger/system out output for iBatis DAO
DEBUG[2005-May-04 22:47:24] -
jdbc.SimpleDataSource(SimpleDataSource.java:506) - SimpleDataSource
forcefully closed/removed all connections.
May 4, 2005 10:47:35 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deplo
.
Brandon
On 5/2/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
> I found it strange enough that it did make a diff if I pass in a
> ServletConfig config or not...
>
> public void init(ServletConfig config) throws ServletException {
> logger.info("
a/jpetstore/jpetst
ore4/src/com/ibatis/jpetstore/persistence/DaoConfig.java
to see how everything fits together?
Is something not working? Are calls to buildDaoManager throwing an
exception?
--- Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
> The best way to find this out is to us
The best way to find this out is to use your IDE to step thru the code and
but break points. I have resulted to that in the last couple of days to
actually see how the framework works but sadly have not been able to get
pass the daoManager = DaoManagerBuilder.buildDaoManager(reader); in my big
manager as a datasource and write a DataSourceFactory
> implementation for it. Then you can conifgure it as a JDBC
> transactionManager with your custom DataSource.
>
> Brandon
>
> On 4/26/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
> > I
: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 11:08 PM
To: ibatis-user-java@incubator.apache.org
Subject: Re: iBatis Dao Setup
" I have my own connectionManager class"
I'm not sure what you mean by this. Please expound on this.
Brandon
On 4/25/05, Fola
: Monday, April 25, 2005 11:08 PM
To: ibatis-user-java@incubator.apache.org
Subject: Re: iBatis Dao Setup
" I have my own connectionManager class"
I'm not sure what you mean by this. Please expound on this.
Brandon
On 4/25/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
>
That was actually due to me refactoring
the package names…
But I don’t have any space in the
real code
thanks
From: Richard Yee
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 11:17
PM
To: ibatis-user-java@incubator.apache.org
Subject: Re: iBatis Dao Setup
Hi all let me see if I can explain my problem and how I have
things setup…
First, my problem is having difficulty converting one of my
working and deployed applications to using iBatis Dao. I basically yanged out
my Dao factory and try to replace it with iBatis version in hopes to use
S
ic static DaoManager getDaoManager() {
return daoManager;
}
}
end class
On 4/22/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
>
>
>
> Thanks for responding, that is what actually baffles me.
>
>
>
> What I actually try to do is load JPetstore
issue with iBATIS.
Throw us a bone here.
Larry
On 4/22/05, Folashade
Adeyosoye <[EMAIL PROTECTED]>
wrote:
Any
help would be appreciated….
I
am having a difficult time getting the iBatis DAO going…
static {
try {
String resource = "net/naijate
Any help would be appreciated….
I am having a difficult time getting the iBatis DAO going…
static {
try {
String resource =
"net/naijatek/fgconline/persistence/dao.xml";
Reader reader =
Resources.getResourceAsReader(resource);
DAO_MANAGER =
DaoMa
Is it in your classpath?
-Original Message-
From: KK [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 12:19 PM
To: ibatis-user-java@incubator.apache.org
Subject: Newbie help
Hello everyone,
I want to use iBatis in my application and started researching and
trying to develop a sm
Has anyone try to load the JPetStore (iBatis DAO / iBatis SQL Mapper) in
JBuilder 2005.
Can not get it to build the java files in the sqlmapdao folder.
Struts
JBuilder
JDK 1.5
Tomcat 5
iBatis DAO
iBatis SQLMapper
Thanks
Has anyone gotten this to work in JBuilder?
21 matches
Mail list logo