Examples of RubyFixnum


Examples of org.jruby.RubyFixnum

      try {
        int offset = (int) ((RubyFixnum) _offset).getLongValue();
        int fd = (int) ((RubyFixnum) _fd).getLongValue();
        int whence = (int) ((RubyFixnum) _whence).getLongValue();
        int where = postgresqlConnection.getLargeObjectAPI().loSeek(fd, offset, whence);
        return new RubyFixnum(context.runtime, where);
      } catch (IOException e) {
        throw newPgError(context, "lo_lseek failed: " + e.getLocalizedMessage(), null, getClientEncodingAsJavaEncoding(context));
      } catch (PostgresqlException e) {
        throw newPgError(context, "lo_lseek failed: " + e.getLocalizedMessage(), e.getResultSet(), getClientEncodingAsJavaEncoding(context));
      }
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.