|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.database.DBSystem
planetj.database.MySQLDBSystem
| Field Summary | |
static java.lang.String |
DRIVER
MYSQL driver |
| Constructor Summary | |
protected |
MySQLDBSystem()
MySQLDBSystem constructor comment. |
protected |
MySQLDBSystem(java.lang.String url)
MySQLDBSystem constructor comment. |
protected |
MySQLDBSystem(java.lang.String pURL,
java.lang.String pAlias)
MySQLDBSystem constructor comment. |
| Method Summary | |
java.lang.String |
correctOperationSQL(java.lang.String originalSQL)
Corrects the SQL to account for difference in the SQL syntax of different DB systems. |
java.lang.String |
correctSQLLiteral(java.lang.String value)
Corrects the given SQL literal by adding additional escape characters to allow the value to be as is. |
java.lang.String |
getColumnDataTypeName(FieldDescriptorRow oldFD)
Gets the correct column data type name for the FD on this system. |
java.lang.String |
getColumnIndicationCharacter()
Returns the character that needs to be used during an insert. |
java.lang.String |
getColumnPrimaryKeyName(FieldDescriptorRow oldFD)
Gets the correct column name which a primary key on this system should refer to for the FD. |
byte |
getLibrarySupportLevel()
Gets the level of library support; this is one of the constants defined in the class. |
void |
handleConnectionEvent(ConnectionEvent ce)
Invoked when a connection event occurs |
protected void |
setURL(java.lang.String pURL)
Sets the url of the system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DRIVER
| Constructor Detail |
protected MySQLDBSystem()
protected MySQLDBSystem(java.lang.String url)
url - java.lang.String
protected MySQLDBSystem(java.lang.String pURL,
java.lang.String pAlias)
pURL - java.lang.StringpAlias - java.lang.String| Method Detail |
public java.lang.String correctOperationSQL(java.lang.String originalSQL)
correctOperationSQL in class DBSystempublic java.lang.String correctSQLLiteral(java.lang.String value)
DBSystem
correctSQLLiteral in class DBSystempublic java.lang.String getColumnDataTypeName(FieldDescriptorRow oldFD)
getColumnDataTypeName in class DBSystemoldFD - The FD for the column of the existing tablepublic java.lang.String getColumnIndicationCharacter()
This char will is necessary when a column name is the same as a reserved keyword for this DBSystem. Such as KEY or USER Creation date: (6/23/2003 2:27:41 PM)
getColumnIndicationCharacter in class DBSystempublic java.lang.String getColumnPrimaryKeyName(FieldDescriptorRow oldFD)
getColumnPrimaryKeyName in class DBSystemoldFD - The FD for the column of the existing tablepublic byte getLibrarySupportLevel()
getLibrarySupportLevel in class DBSystempublic void handleConnectionEvent(ConnectionEvent ce)
handleConnectionEvent in class DBSystemprotected void setURL(java.lang.String pURL)
setURL in class DBSystem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||