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 pc leung <pi...@gmail.com> on 2005/11/30 14:34:40 UTC

Database properties vs context.xml?

In the JPetstore example, the username and password are
stored in database.properties file.

Because I am using Tomcat 5,
I have already mentioned the database properties in META-INF/context.xml.

Do I have to remove the setting in context.xml?
Otherwise I have duplicate data in 2 different files!