| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_06) on Wed Jul 19 14:42:46 EDT 2006 --> |
| <TITLE> |
| TypesMapping (Cayenne API Documentation - v.1.2) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.objectstyle.cayenne.dba.TypesMapping class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../objectstyle-javadoc.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="TypesMapping (Cayenne API Documentation - v.1.2)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/objectstyle/cayenne/dba/TypesHandler.html" title="class in org.objectstyle.cayenne.dba"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/objectstyle/cayenne/dba/TypesMapping.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypesMapping.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.objectstyle.cayenne.dba</FONT> |
| <BR> |
| Class TypesMapping</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.objectstyle.cayenne.dba.TypesMapping</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>TypesMapping</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| A utility class that handles mappings of JDBC data types to the database types and Java |
| types. Also contains methods that provide information about JDBC types. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Michael Shengaout, Andrei Adamchik</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#databaseTypes">databaseTypes</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_BIGDECIMAL">JAVA_BIGDECIMAL</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_BOOLEAN">JAVA_BOOLEAN</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_BYTE">JAVA_BYTE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_BYTES">JAVA_BYTES</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_DOUBLE">JAVA_DOUBLE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_FLOAT">JAVA_FLOAT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_INTEGER">JAVA_INTEGER</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_LONG">JAVA_LONG</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_SHORT">JAVA_SHORT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_SQLDATE">JAVA_SQLDATE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_STRING">JAVA_STRING</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_TIME">JAVA_TIME</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_TIMESTAMP">JAVA_TIMESTAMP</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#JAVA_UTILDATE">JAVA_UTILDATE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#NOT_DEFINED">NOT_DEFINED</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_ARRAY">SQL_ARRAY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_BIGINT">SQL_BIGINT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_BINARY">SQL_BINARY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_BIT">SQL_BIT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_BLOB">SQL_BLOB</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_BOOLEAN">SQL_BOOLEAN</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_CHAR">SQL_CHAR</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_CLOB">SQL_CLOB</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_DATE">SQL_DATE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_DECIMAL">SQL_DECIMAL</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_DOUBLE">SQL_DOUBLE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_FLOAT">SQL_FLOAT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_INTEGER">SQL_INTEGER</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_LONGVARBINARY">SQL_LONGVARBINARY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_LONGVARCHAR">SQL_LONGVARCHAR</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_NUMERIC">SQL_NUMERIC</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_OTHER">SQL_OTHER</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_REAL">SQL_REAL</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_SMALLINT">SQL_SMALLINT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_TIME">SQL_TIME</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_TIMESTAMP">SQL_TIMESTAMP</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_TINYINT">SQL_TINYINT</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_VARBINARY">SQL_VARBINARY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#SQL_VARCHAR">SQL_VARCHAR</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#TypesMapping(java.sql.DatabaseMetaData)">TypesMapping</A></B>(java.sql.DatabaseMetaData metaData)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getDatabaseTypes()">getDatabaseTypes</A></B>()</CODE> |
| |
| <BR> |
| Returns an array of string names of the default JDBC data types.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getJavaBySqlType(int)">getJavaBySqlType</A></B>(int type)</CODE> |
| |
| <BR> |
| Get the corresponding Java type by its java.sql.Types counterpart.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getJavaBySqlType(int, int, int)">getJavaBySqlType</A></B>(int type, |
| int length, |
| int precision)</CODE> |
| |
| <BR> |
| Get the corresponding Java type by its java.sql.Types counterpart.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getSqlNameByType(int)">getSqlNameByType</A></B>(int type)</CODE> |
| |
| <BR> |
| Returns a String representation of the SQL type from its JDBC code.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getSqlTypeByJava(java.lang.Class)">getSqlTypeByJava</A></B>(java.lang.Class javaClass)</CODE> |
| |
| <BR> |
| Guesses a default JDBC type for the Java class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getSqlTypeByJava(java.lang.String)">getSqlTypeByJava</A></B>(java.lang.String javaTypeName)</CODE> |
| |
| <BR> |
| Returns default java.sql.Types type by the Java type name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#getSqlTypeByName(java.lang.String)">getSqlTypeByName</A></B>(java.lang.String typeName)</CODE> |
| |
| <BR> |
| Returns a JDBC int type for SQL typem name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#isDecimal(int)">isDecimal</A></B>(int type)</CODE> |
| |
| <BR> |
| Returns true if supplied type is a decimal type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#isNumeric(int)">isNumeric</A></B>(int type)</CODE> |
| |
| <BR> |
| Returns true if supplied type is a numeric type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#pickDataType(int, org.objectstyle.cayenne.dba.TypesMapping.TypeInfo[])">pickDataType</A></B>(int jdbcType, |
| org.objectstyle.cayenne.dba.TypesMapping.TypeInfo[] alts)</CODE> |
| |
| <BR> |
| Method implements an algorithm to pick a data type from a list of alternatives that |
| most closely matches JDBC data type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/dba/TypesMapping.html#supportsLength(int)">supportsLength</A></B>(int type)</CODE> |
| |
| <BR> |
| Returns true if supplied type can have a length attribute as a part of column |
| definition.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="NOT_DEFINED"><!-- --></A><H3> |
| NOT_DEFINED</H3> |
| <PRE> |
| public static final int <B>NOT_DEFINED</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.NOT_DEFINED">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_ARRAY"><!-- --></A><H3> |
| SQL_ARRAY</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_ARRAY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_ARRAY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_BIGINT"><!-- --></A><H3> |
| SQL_BIGINT</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_BIGINT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_BIGINT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_BINARY"><!-- --></A><H3> |
| SQL_BINARY</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_BINARY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_BINARY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_BIT"><!-- --></A><H3> |
| SQL_BIT</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_BIT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_BIT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_BLOB"><!-- --></A><H3> |
| SQL_BLOB</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_BLOB</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_BLOB">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_BOOLEAN"><!-- --></A><H3> |
| SQL_BOOLEAN</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_BOOLEAN</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_BOOLEAN">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_CLOB"><!-- --></A><H3> |
| SQL_CLOB</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_CLOB</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_CLOB">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_CHAR"><!-- --></A><H3> |
| SQL_CHAR</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_CHAR</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_CHAR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_DATE"><!-- --></A><H3> |
| SQL_DATE</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_DATE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_DATE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_DECIMAL"><!-- --></A><H3> |
| SQL_DECIMAL</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_DECIMAL</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_DECIMAL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_DOUBLE"><!-- --></A><H3> |
| SQL_DOUBLE</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_DOUBLE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_DOUBLE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_FLOAT"><!-- --></A><H3> |
| SQL_FLOAT</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_FLOAT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_FLOAT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_INTEGER"><!-- --></A><H3> |
| SQL_INTEGER</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_INTEGER</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_INTEGER">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_LONGVARCHAR"><!-- --></A><H3> |
| SQL_LONGVARCHAR</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_LONGVARCHAR</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_LONGVARCHAR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_LONGVARBINARY"><!-- --></A><H3> |
| SQL_LONGVARBINARY</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_LONGVARBINARY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_LONGVARBINARY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_NUMERIC"><!-- --></A><H3> |
| SQL_NUMERIC</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_NUMERIC</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_NUMERIC">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_REAL"><!-- --></A><H3> |
| SQL_REAL</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_REAL</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_REAL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_SMALLINT"><!-- --></A><H3> |
| SQL_SMALLINT</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_SMALLINT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_SMALLINT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_TINYINT"><!-- --></A><H3> |
| SQL_TINYINT</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_TINYINT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_TINYINT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_TIME"><!-- --></A><H3> |
| SQL_TIME</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_TIME</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_TIME">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_TIMESTAMP"><!-- --></A><H3> |
| SQL_TIMESTAMP</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_TIMESTAMP</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_TIMESTAMP">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_VARBINARY"><!-- --></A><H3> |
| SQL_VARBINARY</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_VARBINARY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_VARBINARY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_VARCHAR"><!-- --></A><H3> |
| SQL_VARCHAR</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_VARCHAR</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_VARCHAR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SQL_OTHER"><!-- --></A><H3> |
| SQL_OTHER</H3> |
| <PRE> |
| public static final java.lang.String <B>SQL_OTHER</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.SQL_OTHER">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_LONG"><!-- --></A><H3> |
| JAVA_LONG</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_LONG</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_LONG">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_BYTES"><!-- --></A><H3> |
| JAVA_BYTES</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_BYTES</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_BYTES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_BOOLEAN"><!-- --></A><H3> |
| JAVA_BOOLEAN</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_BOOLEAN</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_BOOLEAN">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_STRING"><!-- --></A><H3> |
| JAVA_STRING</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_STRING</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_STRING">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_SQLDATE"><!-- --></A><H3> |
| JAVA_SQLDATE</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_SQLDATE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_SQLDATE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_UTILDATE"><!-- --></A><H3> |
| JAVA_UTILDATE</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_UTILDATE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_UTILDATE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_BIGDECIMAL"><!-- --></A><H3> |
| JAVA_BIGDECIMAL</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_BIGDECIMAL</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_BIGDECIMAL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_DOUBLE"><!-- --></A><H3> |
| JAVA_DOUBLE</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_DOUBLE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_DOUBLE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_FLOAT"><!-- --></A><H3> |
| JAVA_FLOAT</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_FLOAT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_FLOAT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_INTEGER"><!-- --></A><H3> |
| JAVA_INTEGER</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_INTEGER</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_INTEGER">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_SHORT"><!-- --></A><H3> |
| JAVA_SHORT</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_SHORT</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_SHORT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_BYTE"><!-- --></A><H3> |
| JAVA_BYTE</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_BYTE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_BYTE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_TIME"><!-- --></A><H3> |
| JAVA_TIME</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_TIME</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_TIME">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="JAVA_TIMESTAMP"><!-- --></A><H3> |
| JAVA_TIMESTAMP</H3> |
| <PRE> |
| public static final java.lang.String <B>JAVA_TIMESTAMP</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.objectstyle.cayenne.dba.TypesMapping.JAVA_TIMESTAMP">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="databaseTypes"><!-- --></A><H3> |
| databaseTypes</H3> |
| <PRE> |
| protected java.util.Map <B>databaseTypes</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="TypesMapping(java.sql.DatabaseMetaData)"><!-- --></A><H3> |
| TypesMapping</H3> |
| <PRE> |
| public <B>TypesMapping</B>(java.sql.DatabaseMetaData metaData) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="supportsLength(int)"><!-- --></A><H3> |
| supportsLength</H3> |
| <PRE> |
| public static boolean <B>supportsLength</B>(int type)</PRE> |
| <DL> |
| <DD>Returns true if supplied type can have a length attribute as a part of column |
| definition. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isNumeric(int)"><!-- --></A><H3> |
| isNumeric</H3> |
| <PRE> |
| public static boolean <B>isNumeric</B>(int type)</PRE> |
| <DL> |
| <DD>Returns true if supplied type is a numeric type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDecimal(int)"><!-- --></A><H3> |
| isDecimal</H3> |
| <PRE> |
| public static boolean <B>isDecimal</B>(int type)</PRE> |
| <DL> |
| <DD>Returns true if supplied type is a decimal type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDatabaseTypes()"><!-- --></A><H3> |
| getDatabaseTypes</H3> |
| <PRE> |
| public static java.lang.String[] <B>getDatabaseTypes</B>()</PRE> |
| <DL> |
| <DD>Returns an array of string names of the default JDBC data types. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pickDataType(int, org.objectstyle.cayenne.dba.TypesMapping.TypeInfo[])"><!-- --></A><H3> |
| pickDataType</H3> |
| <PRE> |
| protected static java.lang.String <B>pickDataType</B>(int jdbcType, |
| org.objectstyle.cayenne.dba.TypesMapping.TypeInfo[] alts)</PRE> |
| <DL> |
| <DD>Method implements an algorithm to pick a data type from a list of alternatives that |
| most closely matches JDBC data type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSqlTypeByName(java.lang.String)"><!-- --></A><H3> |
| getSqlTypeByName</H3> |
| <PRE> |
| public static int <B>getSqlTypeByName</B>(java.lang.String typeName)</PRE> |
| <DL> |
| <DD>Returns a JDBC int type for SQL typem name. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSqlNameByType(int)"><!-- --></A><H3> |
| getSqlNameByType</H3> |
| <PRE> |
| public static java.lang.String <B>getSqlNameByType</B>(int type)</PRE> |
| <DL> |
| <DD>Returns a String representation of the SQL type from its JDBC code. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSqlTypeByJava(java.lang.String)"><!-- --></A><H3> |
| getSqlTypeByJava</H3> |
| <PRE> |
| public static int <B>getSqlTypeByJava</B>(java.lang.String javaTypeName)</PRE> |
| <DL> |
| <DD>Returns default java.sql.Types type by the Java type name. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaTypeName</CODE> - Fully qualified Java Class name. |
| <DT><B>Returns:</B><DD>The SQL type or NOT_DEFINED if no type found.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSqlTypeByJava(java.lang.Class)"><!-- --></A><H3> |
| getSqlTypeByJava</H3> |
| <PRE> |
| public static int <B>getSqlTypeByJava</B>(java.lang.Class javaClass)</PRE> |
| <DL> |
| <DD>Guesses a default JDBC type for the Java class. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavaBySqlType(int)"><!-- --></A><H3> |
| getJavaBySqlType</H3> |
| <PRE> |
| public static java.lang.String <B>getJavaBySqlType</B>(int type)</PRE> |
| <DL> |
| <DD>Get the corresponding Java type by its java.sql.Types counterpart. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>Fully qualified Java type name or null if not found.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavaBySqlType(int, int, int)"><!-- --></A><H3> |
| getJavaBySqlType</H3> |
| <PRE> |
| public static java.lang.String <B>getJavaBySqlType</B>(int type, |
| int length, |
| int precision)</PRE> |
| <DL> |
| <DD>Get the corresponding Java type by its java.sql.Types counterpart. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>Fully qualified Java type name or null if not found.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/objectstyle/cayenne/dba/TypesHandler.html" title="class in org.objectstyle.cayenne.dba"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/objectstyle/cayenne/dba/TypesMapping.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypesMapping.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| <!--@SFLOGO@--> <i>Copyright © 2001-2006 <a href= |
| "http://objectstyle.org" target="_top">ObjectStyle.org</a> All Rights Reserved.</i> |
| |
| </BODY> |
| </HTML> |