com.onewebsql.query.adapter
Class SequenceRowHandler

java.lang.Object
  extended by com.onewebsql.query.adapter.SequenceRowHandler
All Implemented Interfaces:
RowHandler<Long>

public class SequenceRowHandler
extends Object
implements RowHandler<Long>

Implementacja interfejsu RowHandler służąca do pobierania wartości sekwencji.


Constructor Summary
SequenceRowHandler()
          Creates a new SequenceRowHandler object.
 
Method Summary
 Long getObject(ResultSet rs)
          Creates an object from the current row in the specified ResultSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceRowHandler

public SequenceRowHandler()
Creates a new SequenceRowHandler object.

Method Detail

getObject

public Long getObject(ResultSet rs)
               throws SQLException
Description copied from interface: RowHandler
Creates an object from the current row in the specified ResultSet.

Specified by:
getObject in interface RowHandler<Long>
Parameters:
rs - SQL query result
Returns:
an object created from the current row in the specified ResultSet
Throws:
SQLException - if an exception is thrown when the object is created


Copyright © 2011-2013 e-point SA. All Rights Reserved.