public class NativeSequence extends QuerySequence
Purpose:
selectQuery, shouldAcquireValueAfterInsert, shouldSelectBeforeUpdate, shouldSkipUpdate, shouldUseTransaction, updateQuery, wasSelectQueryCreated, wasUpdateQueryCreated
Constructor and Description |
---|
NativeSequence() |
NativeSequence(String name) |
NativeSequence(String name,
int size) |
NativeSequence(String name,
int size,
int initialValue) |
Modifier and Type | Method and Description |
---|---|
protected ValueReadQuery |
buildSelectQuery()
INTERNAL:
|
protected ValueReadQuery |
buildSelectQuery(String seqName,
Integer size)
INTERNAL:
|
boolean |
equals(Object obj) |
void |
onConnect()
INTERNAL:
|
void |
onDisconnect()
INTERNAL:
|
buildUpdateQuery, buildUpdateQuery, createArguments, getSelectQuery, getUpdateQuery, select, setSelectQuery, setShouldAcquireValueAfterInsert, setShouldSelectBeforeUpdate, setShouldSkipUpdate, setShouldUseTransaction, setUpdateQuery, shouldAcquireValueAfterInsert, shouldSelectBeforeUpdate, shouldSkipUpdate, shouldUseTransaction, update, updateAndSelectSequence
createVector, getGeneratedValue, getGeneratedVector, shouldOverrideExistingValue
clone, equalNameAndSize, getDatasourcePlatform, getGeneratedValue, getGeneratedVector, getInitialValue, getName, getPreallocationSize, isConnected, onConnect, onDisconnect, setDatasourcePlatform, setInitialValue, setName, setPreallocationSize, shouldOverrideExistingValue, shouldUsePreallocation, verifyPlatform
public NativeSequence()
public NativeSequence(String name)
public NativeSequence(String name, int size)
public NativeSequence(String name, int size, int initialValue)
public boolean equals(Object obj)
equals
in class QuerySequence
protected ValueReadQuery buildSelectQuery()
buildSelectQuery
in class QuerySequence
protected ValueReadQuery buildSelectQuery(String seqName, Integer size)
buildSelectQuery
in class QuerySequence
public void onConnect()
onConnect
in class QuerySequence
public void onDisconnect()
onDisconnect
in class QuerySequence
Copyright © 2021. All rights reserved.