|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.chur.ant.db.profiles.AbstractDBProfile
org.chur.ant.db.profiles.impl.MySQLProfile
public class MySQLProfile
Date: Mar 29, 2007 Time: 5:03:42 PM Author: Sergey Churikov
| Constructor Summary | |
|---|---|
MySQLProfile()
|
|
| Method Summary | |
|---|---|
SQLCommandProducer<Record> |
createDeleteSQLProducer()
|
SQLCommandProducer<Record> |
createInsertSQLProducer()
|
SQLCommandProducer<UpdateRecord> |
createUpdateSQLProducer()
|
boolean |
isExceptionCanBeIgnored(java.sql.SQLException ex)
This this method it is possible to handle some cases when SQL operation can be continue even database error occured (say in case of Oracle we ignore ORA-00942 error: table or view does not exist). |
java.lang.String |
toString()
|
java.lang.String |
typeName(int sqlType,
int len,
java.lang.Integer precision)
Comparison method, i.e. |
java.lang.String |
viewNameColumn()
This method is used only in ViewStructTask to retrieve information about a view. |
java.lang.String |
viewOwnerColumn()
This method is used only in ViewStructTask to retrieve information about a view. |
java.lang.String |
viewsCatalog()
This method is used only in ViewStructTask to retrieve information about a view. |
java.lang.String |
viewSqlColumn()
This method is used only in ViewStructTask to retrieve information about a view. |
| Methods inherited from class org.chur.ant.db.profiles.AbstractDBProfile |
|---|
convert |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MySQLProfile()
| Method Detail |
|---|
public java.lang.String typeName(int sqlType,
int len,
java.lang.Integer precision)
DBProfile
sqlType - java.sql.Types valuelen - field len value
public java.lang.String viewsCatalog()
DBProfile
public java.lang.String viewSqlColumn()
DBProfile
public java.lang.String viewNameColumn()
DBProfile
public java.lang.String viewOwnerColumn()
DBProfile
public boolean isExceptionCanBeIgnored(java.sql.SQLException ex)
DBProfile
ex - database error
public SQLCommandProducer<UpdateRecord> createUpdateSQLProducer()
public SQLCommandProducer<Record> createInsertSQLProducer()
public SQLCommandProducer<Record> createDeleteSQLProducer()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||