Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
java.lang.Object | +----jora.Cursor
Method Summary | |
void | delete()
|
java.lang.Object | next()
|
java.lang.Object[] | toArray(int maxElements)
|
java.lang.Object[] | toArray()
|
void | update()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object next()
If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read.
public void update()
If you are going to update or delete selected records, you should add
"for update" clause to select statement. So parameter of
jora.Table.select()
statement should contain "for update"
clause:
record.table.Select("where name='xyz' for update");
Attention! Not all database drivers support update operation with cursor. This method will not work with such database drivers.
public void delete()
If you are going to update or delete selected records, you should add
"for update" clause to select statement. So parameter of
jora.Table.select()
statement should contain "for update"
clause:
record.table.Select("where name='xyz' for update");
Attention! Not all database drivers support delete operation with cursor. This method will not work with such database drivers.
public java.lang.Object[] toArray(int maxElements)
maxElements
- limitation for result array size (and also for number
of fetched records)
public java.lang.Object[] toArray()
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |