Codota Logo
AbstractJdbc2ResultSet.initRowBuffer
Code IndexAdd Codota to your IDE (free)

How to use
initRowBuffer
method
in
org.postgresql.jdbc2.AbstractJdbc2ResultSet

Best Java code snippets using org.postgresql.jdbc2.AbstractJdbc2ResultSet.initRowBuffer (Showing top 18 results out of 315)

  • Common ways to obtain AbstractJdbc2ResultSet
private void myMethod () {
AbstractJdbc2ResultSet a =
  • Codota IconPreparedStatement preparedStatement;(AbstractJdbc2ResultSet) preparedStatement.executeQuery()
  • Smart code suggestions by Codota
}
origin: postgresql/postgresql

public boolean last() throws SQLException
{
  checkScrollable();
  final int rows_size = rows.size();
  if (rows_size <= 0)
    return false;
  current_row = rows_size - 1;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: postgresql/postgresql

public boolean first() throws SQLException
{
  checkScrollable();
  if (rows.size() <= 0)
    return false;
  current_row = 0;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: postgresql/postgresql

public synchronized void moveToCurrentRow()
throws SQLException
{
  checkUpdateable();
  if (current_row < 0 || current_row >= rows.size())
  {
    this_row = null;
    rowBuffer = null;
  }
  else
  {
    initRowBuffer();
  }
  onInsertRow = false;
  doingUpdates = false;
}
origin: postgresql/postgresql

public boolean previous() throws SQLException
{
  checkScrollable();
  if (onInsertRow)
    throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."),
                PSQLState.INVALID_CURSOR_STATE);
  if (current_row -1 < 0)
  {
    current_row = -1;
    this_row = null;
    rowBuffer = null;
    return false;
  }
  else
  {
    current_row--;
  }
  initRowBuffer();
  return true;
}
origin: postgresql/postgresql

initRowBuffer();
return true;
origin: postgresql/postgresql

initRowBuffer();
onInsertRow = false;
origin: org.ancoron.postgresql/org.postgresql

public boolean last() throws SQLException
{
  checkScrollable();
  final int rows_size = rows.size();
  if (rows_size <= 0)
    return false;
  current_row = rows_size - 1;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: org.ancoron.postgresql/org.postgresql

public boolean first() throws SQLException
{
  checkScrollable();
  if (rows.size() <= 0)
    return false;
  current_row = 0;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public boolean last() throws SQLException
{
  checkScrollable();
  final int rows_size = rows.size();
  if (rows_size <= 0)
    return false;
  current_row = rows_size - 1;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public boolean first() throws SQLException
{
  checkScrollable();
  if (rows.size() <= 0)
    return false;
  current_row = 0;
  initRowBuffer();
  onInsertRow = false;
  return true;
}
origin: org.ancoron.postgresql/org.postgresql

public synchronized void moveToCurrentRow()
throws SQLException
{
  checkUpdateable();
  if (current_row < 0 || current_row >= rows.size())
  {
    this_row = null;
    rowBuffer = null;
  }
  else
  {
    initRowBuffer();
  }
  onInsertRow = false;
  doingUpdates = false;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public synchronized void moveToCurrentRow()
throws SQLException
{
  checkUpdateable();
  if (current_row < 0 || current_row >= rows.size())
  {
    this_row = null;
    rowBuffer = null;
  }
  else
  {
    initRowBuffer();
  }
  onInsertRow = false;
  doingUpdates = false;
}
origin: org.ancoron.postgresql/org.postgresql

public boolean previous() throws SQLException
{
  checkScrollable();
  if (onInsertRow)
    throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."),
                PSQLState.INVALID_CURSOR_STATE);
  if (current_row -1 < 0)
  {
    current_row = -1;
    this_row = null;
    rowBuffer = null;
    return false;
  }
  else
  {
    current_row--;
  }
  initRowBuffer();
  return true;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public boolean previous() throws SQLException
{
  checkScrollable();
  if (onInsertRow)
    throw new PSQLException(GT.tr("Can''t use relative move methods while on the insert row."),
                PSQLState.INVALID_CURSOR_STATE);
  if (current_row -1 < 0)
  {
    current_row = -1;
    this_row = null;
    rowBuffer = null;
    return false;
  }
  else
  {
    current_row--;
  }
  initRowBuffer();
  return true;
}
origin: org.ancoron.postgresql/org.postgresql

initRowBuffer();
return true;
origin: org.ancoron.postgresql/org.postgresql.osgi

initRowBuffer();
return true;
origin: org.ancoron.postgresql/org.postgresql

initRowBuffer();
onInsertRow = false;
origin: org.ancoron.postgresql/org.postgresql.osgi

initRowBuffer();
onInsertRow = false;
org.postgresql.jdbc2AbstractJdbc2ResultSetinitRowBuffer

Popular methods of AbstractJdbc2ResultSet

  • absolute
  • addWarning
  • afterLast
  • beforeFirst
  • checkClosed
  • checkColumnIndex
  • checkResultSet
    Checks that the result set is not closed, it's positioned on a valid row and that the given column n
  • checkScrollable
  • checkUpdateable
  • clearRowBuffer
  • close
  • createArray
  • close,
  • createArray,
  • findColumn,
  • findColumnIndex,
  • getArray,
  • getAsciiStream,
  • getBigDecimal,
  • getBinaryStream,
  • getBlob,
  • getBoolean

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now