Kawai Wiki

Compare Revisions

Ignore whitespace Rev 175 → Rev 176

/trunk/src/main/java/org/kawai/AppManager.java
24,8 → 24,8
import org.mentawai.core.Context;
import org.mentawai.core.Filter;
import org.mentawai.core.Props;
import org.mentawai.db.C3P0ConnectionHandler;
import org.mentawai.db.ConnectionHandler;
import org.mentawai.db.mysql.MySQLBoneCPConnectionHandler;
import org.mentawai.filter.AuthenticationFilter;
import org.mentawai.filter.AuthorizationFilter;
import org.mentawai.filter.ExceptionFilter;
79,7 → 79,7
String user = props.getString("jdbc.user");
String pass = props.getString("jdbc.pass");
this.connHandler = new C3P0ConnectionHandler(driver, url, user, pass);
this.connHandler = new MySQLBoneCPConnectionHandler(driver, url, user, pass);
}
@Override
/trunk/pom.xml
53,12 → 53,18
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jolbox</groupId>
<artifactId>bonecp</artifactId>
<version>0.7.1.RELEASE</version>
</dependency>
 
<dependency>
<!-- dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
</dependency -->
 
<dependency>
<groupId>mysql</groupId>