Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

JStatementImpl (jremote API)

Class JStatementImpl


All Implemented Interfaces:
JStatement


public class JStatementImpl
extends Object
implements JStatement

Constructor Summary

Constructor and Description
JStatementImpl(AbstractJRemoteConnection connection)
Constructor.


Method Summary

Modifier and Type
Method and Description
JResultSet
execute(JDynArray queries)
Execute query.
JResultSet
execute(JDynArray queries, JSelectList selectList)
Execute query using an existing select list as a filter.
JResultSet
execute(String query)
Execute query.
JResultSet
execute(String query, JSelectList selectList)
Execute query using an existing select list as a filter.
void
setFetchSize(int rows)
Sets the fetch size.


Constructor Detail

JStatementImpl

public JStatementImpl(AbstractJRemoteConnection connection)
Constructor.
Parameters:
connection -



Method Detail

execute

public JResultSet execute(String query)
                   throws JRemoteException
Description copied from interface: JStatement
Execute query.
Specified by:
execute in interface JStatement
Parameters:
query - as a string
Returns:
result set
Throws:
JRemoteException
See Also:
JStatement.execute(java.lang.String)


execute

public JResultSet execute(JDynArray queries)
                   throws JRemoteException
Description copied from interface: JStatement
Execute query.
Specified by:
execute in interface JStatement
Parameters:
queries - query as a dynamic array
Returns:
result set
Throws:
JRemoteException
See Also:
JStatement.execute(com.jbase.jremote.JDynArray)


execute

public JResultSet execute(String query,
                          JSelectList selectList)
                   throws JRemoteException
Description copied from interface: JStatement
Execute query using an existing select list as a filter.
Specified by:
execute in interface JStatement
Parameters:
query - as a string
Returns:
result set
Throws:
JRemoteException
See Also:
JStatement.execute(java.lang.String, com.jbase.jremote.JSelectList)

execute

public JResultSet execute(JDynArray queries,
                          JSelectList selectList)
                   throws JRemoteException
Description copied from interface: JStatement
Execute query using an existing select list as a filter.
Specified by:
execute in interface JStatement
Parameters:
queries - query as a dynamic array
Returns:
result set
Throws:
JRemoteException
See Also:
JStatement.execute(com.jbase.jremote.JDynArray, com.jbase.jremote.JSelectList)


setFetchSize

public void setFetchSize(int rows)
Description copied from interface: JStatement
Sets the fetch size.
Specified by:
setFetchSize in interface JStatement
See Also:
JStatement.setFetchSize(int)


Back to jREMOTE API


Was this article helpful?