|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.chur.ant.db.profiles.AbstractDBProfile
org.chur.ant.db.profiles.impl.OracleProfile
public class OracleProfile
Oracle DB profile
Date: Oct 10, 2006 Time: 5:36:32 PM Author: Sergey Churikov
Constructor Summary | |
---|---|
OracleProfile()
|
Method Summary | |
---|---|
SQLCommandProducer<Record> |
createDeleteSQLProducer()
|
SQLCommandProducer<Record> |
createInsertSQLProducer()
|
SQLCommandProducer<UpdateRecord> |
createUpdateSQLProducer()
|
boolean |
isExceptionCanBeIgnored(java.sql.SQLException ex)
The error ORA-00942 ("table or view does not exist") is ignored. |
java.lang.String |
toString()
|
java.lang.String |
typeName(int sqlType,
int len,
java.lang.Integer precision)
Convert field description into ANSI SQL. |
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 OracleProfile()
Method Detail |
---|
public java.lang.String typeName(int sqlType, int len, java.lang.Integer precision)
sqlType
- java.sql.Type valuelen
- field length according to metadataprecision
- precision value if exist
java.lang.IllegalArgumentException
- if sqlType is not supported (the support type see above)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)
ex
-
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 All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |