ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kulkarni" <ashish.kulkarn...@gmail.com>
Subject Re: ibatis in web application
Date Wed, 26 Sep 2007 19:34:29 GMT
Hi
I don't mind restarting the web
application, but in weblogic, some times the temp files are deleted,
so i loose all the changes done to the properties file, this is very weird
situation, as it works fine in websphere, tomcat, but causing issue with
weblogic,
Does any one face this situation,

Ashish


On 9/26/07, Kenny Pearce < kenny.pearce@hxti.com> wrote:
>
> What you are doing should work fine. However, depending on where you
> initialize your ibatis client in your servlet code, you may have to
> restart your web application after modifying the file.
>
> Ashish Kulkarni wrote:
> > Hi
> > I need some information about using ibatis in web application, i am
> > using sql maps for java. i have SqlMapConfig.xml and
> > SqlMapConfig.properties file under src folder,
> > SqlMapConfig.properties has database connection information,
> >
> > Now the question is when i create the war file, i do not know what
> > database it is going to connect, so normally i would install this war
> > file and then change the SqlMapConfig.properties file ( which is under
> > WEB-INF\classes) after installing it on application server.
> >
> > Is this the right way to do it, since i am having issues in doing so
> > with weblogic,
> > What is the standard practise, or do i have to create war file after i
> > get the database information, which will be very difficult.
> >
> >
> > Ashish
> >
> >
> >
>
> --
> Kenny Pearce
> Hx Technologies
>

Mime
View raw message