| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.pm.generator.jdbc.JaxMeJdbcSG.Mode
A database mode specifies, how JDBC metadata is being interpreted. The main use is for Oracle, which has a rather peculiar understanding of JDBC metadata.
| Field Summary | |
| static JaxMeJdbcSG.Mode | GENERICDefault database mode; types are taken as reported by the JDBC driver. | 
| static JaxMeJdbcSG.Mode | ORACLEOracle database mode; the type NUMERIC is interpreted as FLOAT, TINYINT, SMALLINT, INTEGER, BIGINT, or DOUBLE, depending on scale and precision. | 
| Method Summary | |
|  boolean | equals(java.lang.Object o) | 
|  java.lang.String | getName()Returns the modes name. | 
|  int | hashCode() | 
|  java.lang.String | toString() | 
| static JaxMeJdbcSG.Mode | valueOf(java.lang.String pMode)Returns an instance of Modewith
 the given name. | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final JaxMeJdbcSG.Mode GENERIC
Default database mode; types are taken as reported by the JDBC driver.
public static final JaxMeJdbcSG.Mode ORACLE
Oracle database mode; the type NUMERIC is interpreted as FLOAT,
 TINYINT, SMALLINT, INTEGER, BIGINT, or DOUBLE, depending on scale
 and precision. This mode is turned on by setting the option
 jdbc.dbmode or if the method
 DatabaseMetaData.getDatabaseProductName()
 returns the value "Oracle".
| Method Detail | 
public java.lang.String toString()
public java.lang.String getName()
public int hashCode()
public boolean equals(java.lang.Object o)
public static JaxMeJdbcSG.Mode valueOf(java.lang.String pMode)
Mode with
 the given name.
java.lang.IllegalArgumentException - The mode name is invalid.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||