📄 oracle.jdbc.driver.oracletypes.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Thu Dec 02 03:30:11 PST 1999 --><title> Class oracle.jdbc.driver.OracleTypes</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-oracle.jdbc.driver.html">This Package</a> <a href="oracle.jdbc.driver.OracleStatement.html#_top_">Previous</a> <a href="oracle.jdbc.driver.StructMetaData.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class oracle.jdbc.driver.OracleTypes</h1><pre>java.lang.Object | +----oracle.jdbc.driver.OracleTypes</pre><hr><dl> <dt> public class <b>OracleTypes</b> <dt> extends Object</dl><P>This class defines constants that are used to identify SQL types.The actual type constant values are equivalent to those in XOPEN.<p><hr><a name="index"></a><h2> <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ARRAY"><b>ARRAY</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#BFILE"><b>BFILE</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#BIGINT"><b>BIGINT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#BINARY"><b>BINARY</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#BIT"><b>BIT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#BLOB"><b>BLOB</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CHAR"><b>CHAR</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CLOB"><b>CLOB</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CURSOR"><b>CURSOR</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#DATE"><b>DATE</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#DECIMAL"><b>DECIMAL</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#DOUBLE"><b>DOUBLE</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#FIXED_CHAR"><b>FIXED_CHAR</b></a> <dd> Use this type when binding to a CHAR column in the where clause of a Select statement. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#FLOAT"><b>FLOAT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#INTEGER"><b>INTEGER</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#LONGVARBINARY"><b>LONGVARBINARY</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#LONGVARCHAR"><b>LONGVARCHAR</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#NULL"><b>NULL</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#NUMBER"><b>NUMBER</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#NUMERIC"><b>NUMERIC</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#OTHER"><b>OTHER</b></a> <dd> OTHER indicates that the SQL type is database specific andgets mapped to a Java object which can be accessed viagetObject and setObject. <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#RAW"><b>RAW</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#REAL"><b>REAL</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#REF"><b>REF</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ROWID"><b>ROWID</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#SMALLINT"><b>SMALLINT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#STRUCT"><b>STRUCT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TIME"><b>TIME</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TIMESTAMP"><b>TIMESTAMP</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TINYINT"><b>TINYINT</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#VARBINARY"><b>VARBINARY</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#VARCHAR"><b>VARCHAR</b></a> <dd> </dl><h2> <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl> <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#OracleTypes()"><b>OracleTypes</b></a>() <dd> </dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="BIT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BIT</b><pre> public static final int BIT</pre><a name="TINYINT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TINYINT</b><pre> public static final int TINYINT</pre><a name="SMALLINT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>SMALLINT</b><pre> public static final int SMALLINT</pre><a name="INTEGER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>INTEGER</b><pre> public static final int INTEGER</pre><a name="BIGINT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BIGINT</b><pre> public static final int BIGINT</pre><a name="FLOAT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FLOAT</b><pre> public static final int FLOAT</pre><a name="REAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>REAL</b><pre> public static final int REAL</pre><a name="DOUBLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>DOUBLE</b><pre> public static final int DOUBLE</pre><a name="NUMERIC"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>NUMERIC</b><pre> public static final int NUMERIC</pre><a name="DECIMAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>DECIMAL</b><pre> public static final int DECIMAL</pre><a name="CHAR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CHAR</b><pre> public static final int CHAR</pre><a name="VARCHAR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>VARCHAR</b><pre> public static final int VARCHAR</pre><a name="LONGVARCHAR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LONGVARCHAR</b><pre> public static final int LONGVARCHAR</pre><a name="DATE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>DATE</b><pre> public static final int DATE</pre><a name="TIME"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TIME</b><pre> public static final int TIME</pre><a name="TIMESTAMP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TIMESTAMP</b><pre> public static final int TIMESTAMP</pre><a name="BINARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BINARY</b><pre> public static final int BINARY</pre><a name="VARBINARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>VARBINARY</b><pre> public static final int VARBINARY</pre><a name="LONGVARBINARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>LONGVARBINARY</b><pre> public static final int LONGVARBINARY</pre><a name="ROWID"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ROWID</b><pre> public static final int ROWID</pre><a name="CURSOR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CURSOR</b><pre> public static final int CURSOR</pre><a name="BLOB"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BLOB</b><pre> public static final int BLOB</pre><a name="CLOB"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CLOB</b><pre> public static final int CLOB</pre><a name="BFILE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>BFILE</b><pre> public static final int BFILE</pre><a name="STRUCT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>STRUCT</b><pre> public static final int STRUCT</pre><a name="ARRAY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ARRAY</b><pre> public static final int ARRAY</pre><a name="REF"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>REF</b><pre> public static final int REF</pre><a name="NULL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>NULL</b><pre> public static final int NULL</pre><a name="NUMBER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>NUMBER</b><pre> public static final int NUMBER</pre><a name="RAW"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>RAW</b><pre> public static final int RAW</pre><a name="OTHER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>OTHER</b><pre> public static final int OTHER</pre><dl> <dd> OTHER indicates that the SQL type is database specific andgets mapped to a Java object which can be accessed viagetObject and setObject.<p></dl><a name="FIXED_CHAR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>FIXED_CHAR</b><pre> public static final int FIXED_CHAR</pre><dl> <dd> Use this type when binding to a CHAR column in the where clause of a Select statement. A non padded comparision willbe done unlike in CHAR and VARCHAR case. Not particularlyneeded for an insert as the database will pad it.<p></dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="OracleTypes"></a><a name="OracleTypes()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>OracleTypes</b><pre> public OracleTypes()</pre><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-oracle.jdbc.driver.html">This Package</a> <a href="oracle.jdbc.driver.OracleStatement.html#_top_">Previous</a> <a href="oracle.jdbc.driver.StructMetaData.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -