* Class to bind object to.
* @return List
*/
public List getList(final String sql, final Class clazz) {
try{
final ResultSetHandler bean = new BeanListHandler(clazz);
return (List) runner.query(conn, sql, null, bean);
}catch (final SQLException e){
if(GlobalSettings.logActive)
new LogEngine().logMessage(e.getStackTrace().toString(), GlobalSettings.logPath, "ERROR");
throw new RuntimeException(e);