org.apache.ws.jaxme.pm.generator.jdbc
public static class JaxMeJdbcSG.Mode extends Object
Field Summary | |
---|---|
static JaxMeJdbcSG.Mode | GENERIC Default database mode; types are taken as reported by the JDBC driver. |
static JaxMeJdbcSG.Mode | ORACLE Oracle database mode; the type NUMERIC is interpreted as FLOAT, TINYINT, SMALLINT, INTEGER, BIGINT, or DOUBLE, depending on scale and precision. |
Method Summary | |
---|---|
boolean | equals(Object o) |
String | getName() Returns the modes name. |
int | hashCode() |
String | toString() |
static JaxMeJdbcSG.Mode | valueOf(String pMode) Returns an instance of Mode with
the given name. |
Default database mode; types are taken as reported by the JDBC driver.
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
{@link java.sql.DatabaseMetaData#getDatabaseProductName()}
returns the value "Oracle".
Mode
with
the given name.Throws: IllegalArgumentException The mode name is invalid.