Package net.sf.isolation.logging

Examples of net.sf.isolation.logging.IsoLog.debug()


            this.value = context.getInstance(
                IsoConversionManager.class)
                .convert(value, type);
            return true;
          } catch (IsoConversionException exception) {
            log.debug(exception, propertyName);
          }
        } catch (IllegalStateException exception) {
          log.debug(exception, propertyName);
          if (exception.getCause().getClass() != NoSuchMethodException.class) {
            throw exception;
View Full Code Here


            return true;
          } catch (IsoConversionException exception) {
            log.debug(exception, propertyName);
          }
        } catch (IllegalStateException exception) {
          log.debug(exception, propertyName);
          if (exception.getCause().getClass() != NoSuchMethodException.class) {
            throw exception;
          }
        }
        return false;
View Full Code Here

  public Object process(ResultSet resultSet) throws SQLException {
    IsoLog log = context.getLog();
    IsoReflectionManager reflectionManager = context.getReflectionManager();
    IsoBeanPropertyManager propertyManager = context
        .getBeanPropertyManager();
    log.debug("Processing: {0}", klass);
    List<Object> list = new ArrayList<Object>();
    ResultSetMetaData metaData = resultSet.getMetaData();
    int columnCount = metaData.getColumnCount();
    String[] columnNames = new String[columnCount];
    for (int i = 0; i < columnCount; i++) {
View Full Code Here

        propertyManager.setProperty(bean, type, columnInfo.getName(),
            value);
      }
      list.add(bean);
    }
    log.debug("List size: {0}", Integer.valueOf(list.size()));
    return list;
  }

}
View Full Code Here

  public Object execute(String name, Map<String, Object> parameters) {
    IsoLog log = context.getLog();
    assert name != null : "name is null";
    assert name.length() > 0 : "name is \"\"";
    log.debug("Execute: {0}", name);
    IsoSQLExpression query = queries.get(name);
    if (query == null) {
      throw new NoSuchElementException(name);
    }
    Connection connection = getConnection();
View Full Code Here

    try {
      String sql = query.getSql();
      if (sql == null) {
        throw new IllegalStateException("sql is null");
      }
      log.debug("Sql: {0}", sql);
      PreparedStatement statement = connection.prepareStatement(sql);
      IsoSQLExpressionParameterInformation[] parametersInformation = query
          .getParametersInformation();
      if (parametersInformation != null
          && parametersInformation.length > 0 && parameters != null) {
View Full Code Here

  public Object execute(String name, Object bean) {
    IsoLog log = context.getLog();
    assert name != null : "name is null";
    assert name.length() > 0 : "name is \"\"";
    log.debug("Execute: {0}", name);
    IsoSQLExpression query = queries.get(name);
    if (query == null) {
      throw new NoSuchElementException(name);
    }
    Connection connection = getConnection();
View Full Code Here

    try {
      String sql = query.getSql();
      if (sql == null) {
        throw new IllegalStateException("sql is null");
      }
      log.debug("Sql: {0}", sql);
      PreparedStatement statement = connection.prepareStatement(sql);
      IsoSQLExpressionParameterInformation[] parametersInformation = query
          .getParametersInformation();
      if (parametersInformation != null
          && parametersInformation.length > 0 && bean != null) {
View Full Code Here

          try {
            this.value = context.getConversionManager().convert(
                type, value);
            return true;
          } catch (IsoConversionException exception) {
            log.debug(exception, propertyName);
          }
        } catch (IllegalStateException exception) {
          log.debug(exception, propertyName);
          if (exception.getCause().getClass() != NoSuchMethodException.class) {
            throw exception;
View Full Code Here

            return true;
          } catch (IsoConversionException exception) {
            log.debug(exception, propertyName);
          }
        } catch (IllegalStateException exception) {
          log.debug(exception, propertyName);
          if (exception.getCause().getClass() != NoSuchMethodException.class) {
            throw exception;
          }
        }
        return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.