You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Scott Purcell <sp...@vertisinc.com> on 2005/11/11 22:17:19 UTC

JPetStore-4.0.5 Setup Question

Hello,

I am interested in seeing how the IBatis persistance framework may assist in some development, so I downloaed the iBATIS_JPetStore-4.0.5.zip.

Upon interrogating the unzipped files, It looks like I can create a web app with the files under web. I can set up my Tomcat with that, so that is good. I use mysql database (on my dev box) , and it looks like there are some scripts under ddl.

Problem is, I cannot find any install directions. I guess I can use the three mysql-* files to create the database in mysql, but how do I tell Ibatis to use my mysql?

I would like to get this up and running, and any info would be appreciated.

Thanks,


Re: JPetStore-4.0.5 Setup Question

Posted by Clinton Begin <cl...@gmail.com>.
There's a properties file for database configuration in the
WEB-INF/classes/properties directory

Cheers,
Clinton

On 11/11/05, Scott Purcell <sp...@vertisinc.com> wrote:
>
> Hello,
>
> I am interested in seeing how the IBatis persistance framework may assist
> in some development, so I downloaed the iBATIS_JPetStore-4.0.5.zip.
>
> Upon interrogating the unzipped files, It looks like I can create a web
> app with the files under web. I can set up my Tomcat with that, so that is
> good. I use mysql database (on my dev box) , and it looks like there are
> some scripts under ddl.
>
> Problem is, I cannot find any install directions. I guess I can use the
> three mysql-* files to create the database in mysql, but how do I tell
> Ibatis to use my mysql?
>
> I would like to get this up and running, and any info would be
> appreciated.
>
> Thanks,
>
>