public static class JDBCSessionIdManager.DatabaseAdaptor
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
_blobType |
|
protected java.lang.String |
_longType |
| Constructor | Description |
|---|---|
DatabaseAdaptor() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
adaptTo(java.sql.DatabaseMetaData dbMeta) |
|
java.lang.String |
convertIdentifier(java.lang.String identifier) |
Convert a camel case identifier into either upper or lower
depending on the way the db stores identifiers.
|
java.io.InputStream |
getBlobInputStream(java.sql.ResultSet result,
java.lang.String columnName) |
|
java.lang.String |
getBlobType() |
|
java.lang.String |
getDBName() |
|
java.lang.String |
getLongType() |
|
boolean |
isEmptyStringNull() |
|
boolean |
isRowIdReserved() |
rowId is a reserved word for Oracle, so change the name of this column
|
void |
setBlobType(java.lang.String blobType) |
|
void |
setLongType(java.lang.String longType) |
protected java.lang.String _blobType
protected java.lang.String _longType
public void adaptTo(java.sql.DatabaseMetaData dbMeta)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlobType(java.lang.String blobType)
public java.lang.String getBlobType()
public void setLongType(java.lang.String longType)
public java.lang.String getLongType()
public java.lang.String convertIdentifier(java.lang.String identifier)
identifier - the raw identifierpublic java.lang.String getDBName()
public java.io.InputStream getBlobInputStream(java.sql.ResultSet result,
java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isEmptyStringNull()
public boolean isRowIdReserved()
Copyright © 1995–2018 Webtide. All rights reserved.