Package org.restsql.core

Examples of org.restsql.core.BinaryObject


  }

  @Override
  public Object getResultByLabel(final ResultSet resultSet) throws SQLException {
    if (isBinaryType()) {
      return new BinaryObject(resultSet.getBytes(qualifiedColumnLabel));
    } else {
      return resultSet.getObject(qualifiedColumnLabel);
    }
  }
View Full Code Here


  }

  @Override
  public Object getResultByNumber(final ResultSet resultSet) throws SQLException {
    if (isBinaryType()) {
      return new BinaryObject(resultSet.getBytes(columnNumber));
    } else {
      return resultSet.getObject(columnNumber);
    }
  }
View Full Code Here

TOP

Related Classes of org.restsql.core.BinaryObject

Copyright © 2018 www.massapicom. 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.