| <!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.6.0_24) on Sat Jun 11 11:32:53 EEST 2011 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| JdbcAdapter (Cayenne Documentation 3.0.2 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2011-06-11"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="JdbcAdapter (Cayenne Documentation 3.0.2 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= 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="class-use/JdbcAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-all.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/apache/cayenne/dba/JdbcActionBuilder.html" title="class in org.apache.cayenne.dba"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/dba/JdbcPkGenerator.html" title="class in org.apache.cayenne.dba"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/dba/JdbcAdapter.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JdbcAdapter.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.apache.cayenne.dba</FONT> |
| <BR> |
| Class JdbcAdapter</H2> |
| <PRE> |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cayenne.dba.JdbcAdapter</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/cayenne/dba/db2/DB2Adapter.html" title="class in org.apache.cayenne.dba.db2">DB2Adapter</A>, <A HREF="../../../../org/apache/cayenne/dba/derby/DerbyAdapter.html" title="class in org.apache.cayenne.dba.derby">DerbyAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/frontbase/FrontBaseAdapter.html" title="class in org.apache.cayenne.dba.frontbase">FrontBaseAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/h2/H2Adapter.html" title="class in org.apache.cayenne.dba.h2">H2Adapter</A>, <A HREF="../../../../org/apache/cayenne/dba/hsqldb/HSQLDBAdapter.html" title="class in org.apache.cayenne.dba.hsqldb">HSQLDBAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/ingres/IngresAdapter.html" title="class in org.apache.cayenne.dba.ingres">IngresAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/mysql/MySQLAdapter.html" title="class in org.apache.cayenne.dba.mysql">MySQLAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/openbase/OpenBaseAdapter.html" title="class in org.apache.cayenne.dba.openbase">OpenBaseAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/oracle/OracleAdapter.html" title="class in org.apache.cayenne.dba.oracle">OracleAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/postgres/PostgresAdapter.html" title="class in org.apache.cayenne.dba.postgres">PostgresAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/sqlite/SQLiteAdapter.html" title="class in org.apache.cayenne.dba.sqlite">SQLiteAdapter</A>, <A HREF="../../../../org/apache/cayenne/dba/sybase/SybaseAdapter.html" title="class in org.apache.cayenne.dba.sybase">SybaseAdapter</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>JdbcAdapter</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></DL> |
| </PRE> |
| |
| <P> |
| A generic DbAdapter implementation. Can be used as a default adapter or as a superclass |
| of a concrete adapter implementation. |
| <P> |
| |
| <P> |
| <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 <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#ejbqlTranslatorFactory">ejbqlTranslatorFactory</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#extendedTypes">extendedTypes</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#identifiersEndQuote">identifiersEndQuote</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#identifiersStartQuote">identifiersStartQuote</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#pkGenerator">pkGenerator</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsBatchUpdates">supportsBatchUpdates</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsFkConstraints">supportsFkConstraints</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsGeneratedKeys">supportsGeneratedKeys</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsUniqueConstraints">supportsUniqueConstraints</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/dba/TypesHandler.html" title="class in org.apache.cayenne.dba">TypesHandler</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#typesHandler">typesHandler</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/apache/cayenne/dba/JdbcAdapter.html#JdbcAdapter()">JdbcAdapter</A></B>()</CODE> |
| |
| <BR> |
| Creates new JdbcAdapter with a set of default parameters.</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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#bindParameter(java.sql.PreparedStatement, java.lang.Object, int, int, int)">bindParameter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true" title="class or interface in java.sql">PreparedStatement</A> statement, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> object, |
| int pos, |
| int sqlType, |
| int scale)</CODE> |
| |
| <BR> |
| Binds an object value to PreparedStatement's numbered parameter.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#buildAttribute(java.lang.String, java.lang.String, int, int, int, boolean)">buildAttribute</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> typeName, |
| int type, |
| int size, |
| int scale, |
| boolean allowNulls)</CODE> |
| |
| <BR> |
| Creates and returns a DbAttribute based on supplied parameters (usually obtained |
| from database meta data).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#configureExtendedTypes(org.apache.cayenne.access.types.ExtendedTypeMap)">configureExtendedTypes</A></B>(<A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A> map)</CODE> |
| |
| <BR> |
| Installs appropriate ExtendedTypes as converters for passing values between JDBC |
| and Java layers.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createEJBQLTranslatorFactory()">createEJBQLTranslatorFactory</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns an <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc"><CODE>EJBQLTranslatorFactory</CODE></A> used to generate visitors for |
| EJBQL to SQL translations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createFkConstraint(org.apache.cayenne.map.DbRelationship)">createFkConstraint</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbRelationship.html" title="class in org.apache.cayenne.map">DbRelationship</A> rel)</CODE> |
| |
| <BR> |
| Returns a SQL string that can be used to create a foreign key constraint for the |
| relationship.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createPkGenerator()">createPkGenerator</A></B>()</CODE> |
| |
| <BR> |
| Creates and returns a primary key generator.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createTable(org.apache.cayenne.map.DbEntity)">createTable</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> entity)</CODE> |
| |
| <BR> |
| Returns a SQL string that can be used to create database table corresponding to |
| <code>ent</code> parameter.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createTableAppendColumn(java.lang.StringBuffer, org.apache.cayenne.map.DbAttribute)">createTableAppendColumn</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> sqlBuffer, |
| <A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A> column)</CODE> |
| |
| <BR> |
| Appends SQL for column creation to CREATE TABLE buffer.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createTableAppendPKClause(java.lang.StringBuffer, org.apache.cayenne.map.DbEntity)">createTableAppendPKClause</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> sqlBuffer, |
| <A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> entity)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createUniqueConstraint(org.apache.cayenne.map.DbEntity, java.util.Collection)">createUniqueConstraint</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> source, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A>> columns)</CODE> |
| |
| <BR> |
| Returns a DDL string to create a unique constraint over a set of columns.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#dropTable(org.apache.cayenne.map.DbEntity)">dropTable</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> table)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>since 3.0 in favor of "dropTableStatements"</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#dropTableStatements(org.apache.cayenne.map.DbEntity)">dropTableStatements</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> table)</CODE> |
| |
| <BR> |
| Returns a collection of SQL statements needed to drop a database table.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#externalTypesForJdbcType(int)">externalTypesForJdbcType</A></B>(int type)</CODE> |
| |
| <BR> |
| Returns an array of RDBMS types that can be used with JDBC <code>type</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#findAdapterResource(java.lang.String)">findAdapterResource</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>since 3.0 replaced with protected method <A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#findResource(java.lang.String)"><CODE>findResource(String)</CODE></A>.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#findResource(java.lang.String)">findResource</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| * Locates and returns a named adapter resource.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/query/SQLAction.html" title="interface in org.apache.cayenne.query">SQLAction</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getAction(org.apache.cayenne.query.Query, org.apache.cayenne.access.DataNode)">getAction</A></B>(<A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A> query, |
| <A HREF="../../../../org/apache/cayenne/access/DataNode.html" title="class in org.apache.cayenne.access">DataNode</A> node)</CODE> |
| |
| <BR> |
| Uses JdbcActionBuilder to create the right action.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getBatchTerminator()">getBatchTerminator</A></B>()</CODE> |
| |
| <BR> |
| Returns default separator - a semicolon.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getEjbqlTranslatorFactory()">getEjbqlTranslatorFactory</A></B>()</CODE> |
| |
| <BR> |
| Returns a translator factory for EJBQL to SQL translation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getExtendedTypes()">getExtendedTypes</A></B>()</CODE> |
| |
| <BR> |
| Returns a map of ExtendedTypes that is used to translate values between Java and |
| JDBC layer.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getIdentifiersEndQuote()">getIdentifiersEndQuote</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getIdentifiersStartQuote()">getIdentifiersStartQuote</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getPkGenerator()">getPkGenerator</A></B>()</CODE> |
| |
| <BR> |
| Returns primary key generator associated with this DbAdapter.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/access/trans/QualifierTranslator.html" title="class in org.apache.cayenne.access.trans">QualifierTranslator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getQualifierTranslator(org.apache.cayenne.access.trans.QueryAssembler)">getQualifierTranslator</A></B>(<A HREF="../../../../org/apache/cayenne/access/trans/QueryAssembler.html" title="class in org.apache.cayenne.access.trans">QueryAssembler</A> queryAssembler)</CODE> |
| |
| <BR> |
| Creates and returns a default implementation of a qualifier translator.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/dba/QuotingStrategy.html" title="interface in org.apache.cayenne.dba">QuotingStrategy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#getQuotingStrategy(boolean)">getQuotingStrategy</A></B>(boolean needQuotes)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#initIdentifiersQuotes()">initIdentifiersQuotes</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/merge/MergerFactory.html" title="class in org.apache.cayenne.merge">MergerFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#mergerFactory()">mergerFactory</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setEjbqlTranslatorFactory(org.apache.cayenne.access.jdbc.EJBQLTranslatorFactory)">setEjbqlTranslatorFactory</A></B>(<A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A> ejbqlTranslatorFactory)</CODE> |
| |
| <BR> |
| Sets a translator factory for EJBQL to SQL translation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setPkGenerator(org.apache.cayenne.dba.PkGenerator)">setPkGenerator</A></B>(<A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A> pkGenerator)</CODE> |
| |
| <BR> |
| Sets new primary key generator.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setSupportsBatchUpdates(boolean)">setSupportsBatchUpdates</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setSupportsFkConstraints(boolean)">setSupportsFkConstraints</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setSupportsGeneratedKeys(boolean)">setSupportsGeneratedKeys</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setSupportsUniqueConstraints(boolean)">setSupportsUniqueConstraints</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsBatchUpdates()">supportsBatchUpdates</A></B>()</CODE> |
| |
| <BR> |
| Returns <code>true</code> if the target database supports batch updates.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsFkConstraints()">supportsFkConstraints</A></B>()</CODE> |
| |
| <BR> |
| Returns true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsGeneratedKeys()">supportsGeneratedKeys</A></B>()</CODE> |
| |
| <BR> |
| Returns true if a target database supports key autogeneration.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#supportsUniqueConstraints()">supportsUniqueConstraints</A></B>()</CODE> |
| |
| <BR> |
| Returns true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#tableTypeForTable()">tableTypeForTable</A></B>()</CODE> |
| |
| <BR> |
| Returns the name of the table type (as returned by |
| <code>DatabaseMetaData.getTableTypes</code>) for a simple user table.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#tableTypeForView()">tableTypeForView</A></B>()</CODE> |
| |
| <BR> |
| Returns the name of the table type (as returned by |
| <code>DatabaseMetaData.getTableTypes</code>) for a view table.</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.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></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="pkGenerator"><!-- --></A><H3> |
| pkGenerator</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A> <B>pkGenerator</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="typesHandler"><!-- --></A><H3> |
| typesHandler</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/TypesHandler.html" title="class in org.apache.cayenne.dba">TypesHandler</A> <B>typesHandler</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="extendedTypes"><!-- --></A><H3> |
| extendedTypes</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A> <B>extendedTypes</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsBatchUpdates"><!-- --></A><H3> |
| supportsBatchUpdates</H3> |
| <PRE> |
| protected boolean <B>supportsBatchUpdates</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsFkConstraints"><!-- --></A><H3> |
| supportsFkConstraints</H3> |
| <PRE> |
| protected boolean <B>supportsFkConstraints</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsUniqueConstraints"><!-- --></A><H3> |
| supportsUniqueConstraints</H3> |
| <PRE> |
| protected boolean <B>supportsUniqueConstraints</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsGeneratedKeys"><!-- --></A><H3> |
| supportsGeneratedKeys</H3> |
| <PRE> |
| protected boolean <B>supportsGeneratedKeys</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ejbqlTranslatorFactory"><!-- --></A><H3> |
| ejbqlTranslatorFactory</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A> <B>ejbqlTranslatorFactory</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="identifiersStartQuote"><!-- --></A><H3> |
| identifiersStartQuote</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>identifiersStartQuote</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="identifiersEndQuote"><!-- --></A><H3> |
| identifiersEndQuote</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>identifiersEndQuote</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="JdbcAdapter()"><!-- --></A><H3> |
| JdbcAdapter</H3> |
| <PRE> |
| public <B>JdbcAdapter</B>()</PRE> |
| <DL> |
| <DD>Creates new JdbcAdapter with a set of default parameters. |
| <P> |
| </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="getIdentifiersStartQuote()"><!-- --></A><H3> |
| getIdentifiersStartQuote</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getIdentifiersStartQuote</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIdentifiersEndQuote()"><!-- --></A><H3> |
| getIdentifiersEndQuote</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getIdentifiersEndQuote</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBatchTerminator()"><!-- --></A><H3> |
| getBatchTerminator</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getBatchTerminator</B>()</PRE> |
| <DL> |
| <DD>Returns default separator - a semicolon. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getBatchTerminator()">getBatchTerminator</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAdapterResource(java.lang.String)"><!-- --></A><H3> |
| findAdapterResource</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> <B>findAdapterResource</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>since 3.0 replaced with protected method <A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#findResource(java.lang.String)"><CODE>findResource(String)</CODE></A>.</I> |
| <P> |
| <DD>Locates and returns a named adapter resource. A resource can be an XML file, etc. |
| <p> |
| This implementation is based on the premise that each adapter is located in its own |
| Java package and all resources are in the same package as well. Resource lookup is |
| recursive, so that if DbAdapter is a subclass of another adapter, parent adapter |
| package is searched as a failover. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findResource(java.lang.String)"><!-- --></A><H3> |
| findResource</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> <B>findResource</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD>* Locates and returns a named adapter resource. A resource can be an XML file, etc. |
| <p> |
| This implementation is based on the premise that each adapter is located in its own |
| Java package and all resources are in the same package as well. Resource lookup is |
| recursive, so that if DbAdapter is a subclass of another adapter, parent adapter |
| package is searched as a failover. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="configureExtendedTypes(org.apache.cayenne.access.types.ExtendedTypeMap)"><!-- --></A><H3> |
| configureExtendedTypes</H3> |
| <PRE> |
| protected void <B>configureExtendedTypes</B>(<A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A> map)</PRE> |
| <DL> |
| <DD>Installs appropriate ExtendedTypes as converters for passing values between JDBC |
| and Java layers. Called from default constructor. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPkGenerator()"><!-- --></A><H3> |
| createPkGenerator</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A> <B>createPkGenerator</B>()</PRE> |
| <DL> |
| <DD>Creates and returns a primary key generator. This factory method should be |
| overriden by JdbcAdapter subclasses to provide custom implementations of |
| PKGenerator. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createEJBQLTranslatorFactory()"><!-- --></A><H3> |
| createEJBQLTranslatorFactory</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A> <B>createEJBQLTranslatorFactory</B>()</PRE> |
| <DL> |
| <DD>Creates and returns an <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc"><CODE>EJBQLTranslatorFactory</CODE></A> used to generate visitors for |
| EJBQL to SQL translations. This method should be overriden by subclasses that need |
| to customize EJBQL generation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPkGenerator()"><!-- --></A><H3> |
| getPkGenerator</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A> <B>getPkGenerator</B>()</PRE> |
| <DL> |
| <DD>Returns primary key generator associated with this DbAdapter. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getPkGenerator()">getPkGenerator</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPkGenerator(org.apache.cayenne.dba.PkGenerator)"><!-- --></A><H3> |
| setPkGenerator</H3> |
| <PRE> |
| public void <B>setPkGenerator</B>(<A HREF="../../../../org/apache/cayenne/dba/PkGenerator.html" title="interface in org.apache.cayenne.dba">PkGenerator</A> pkGenerator)</PRE> |
| <DL> |
| <DD>Sets new primary key generator. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsFkConstraints()"><!-- --></A><H3> |
| supportsFkConstraints</H3> |
| <PRE> |
| public boolean <B>supportsFkConstraints</B>()</PRE> |
| <DL> |
| <DD>Returns true. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsFkConstraints()">supportsFkConstraints</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSupportsFkConstraints(boolean)"><!-- --></A><H3> |
| setSupportsFkConstraints</H3> |
| <PRE> |
| public void <B>setSupportsFkConstraints</B>(boolean flag)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsUniqueConstraints()"><!-- --></A><H3> |
| supportsUniqueConstraints</H3> |
| <PRE> |
| public boolean <B>supportsUniqueConstraints</B>()</PRE> |
| <DL> |
| <DD>Returns true. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsUniqueConstraints()">supportsUniqueConstraints</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSupportsUniqueConstraints(boolean)"><!-- --></A><H3> |
| setSupportsUniqueConstraints</H3> |
| <PRE> |
| public void <B>setSupportsUniqueConstraints</B>(boolean flag)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="dropTable(org.apache.cayenne.map.DbEntity)"><!-- --></A><H3> |
| dropTable</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>dropTable</B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> table)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>since 3.0 in favor of "dropTableStatements"</I> |
| <P> |
| <DD>Returns a SQL string to drop a table corresponding to table DbEntity. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#dropTable(org.apache.cayenne.map.DbEntity)">dropTable</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="dropTableStatements(org.apache.cayenne.map.DbEntity)"><!-- --></A><H3> |
| dropTableStatements</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>dropTableStatements</B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> table)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#dropTableStatements(org.apache.cayenne.map.DbEntity)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a collection of SQL statements needed to drop a database table. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#dropTableStatements(org.apache.cayenne.map.DbEntity)">dropTableStatements</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTable(org.apache.cayenne.map.DbEntity)"><!-- --></A><H3> |
| createTable</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>createTable</B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> entity)</PRE> |
| <DL> |
| <DD>Returns a SQL string that can be used to create database table corresponding to |
| <code>ent</code> parameter. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createTable(org.apache.cayenne.map.DbEntity)">createTable</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTableAppendPKClause(java.lang.StringBuffer, org.apache.cayenne.map.DbEntity)"><!-- --></A><H3> |
| createTableAppendPKClause</H3> |
| <PRE> |
| protected void <B>createTableAppendPKClause</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> sqlBuffer, |
| <A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> entity)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTableAppendColumn(java.lang.StringBuffer, org.apache.cayenne.map.DbAttribute)"><!-- --></A><H3> |
| createTableAppendColumn</H3> |
| <PRE> |
| public void <B>createTableAppendColumn</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> sqlBuffer, |
| <A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A> column)</PRE> |
| <DL> |
| <DD>Appends SQL for column creation to CREATE TABLE buffer. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createTableAppendColumn(java.lang.StringBuffer, org.apache.cayenne.map.DbAttribute)">createTableAppendColumn</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>sqlBuffer</CODE> - the <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang"><CODE>StringBuffer</CODE></A> to append the column type to<DD><CODE>column</CODE> - the <A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map"><CODE>DbAttribute</CODE></A> defining the column to append type for<DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createUniqueConstraint(org.apache.cayenne.map.DbEntity, java.util.Collection)"><!-- --></A><H3> |
| createUniqueConstraint</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>createUniqueConstraint</B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> source, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A>> columns)</PRE> |
| <DL> |
| <DD>Returns a DDL string to create a unique constraint over a set of columns. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createUniqueConstraint(org.apache.cayenne.map.DbEntity, java.util.Collection)">createUniqueConstraint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createFkConstraint(org.apache.cayenne.map.DbRelationship)"><!-- --></A><H3> |
| createFkConstraint</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>createFkConstraint</B>(<A HREF="../../../../org/apache/cayenne/map/DbRelationship.html" title="class in org.apache.cayenne.map">DbRelationship</A> rel)</PRE> |
| <DL> |
| <DD>Returns a SQL string that can be used to create a foreign key constraint for the |
| relationship. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createFkConstraint(org.apache.cayenne.map.DbRelationship)">createFkConstraint</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="externalTypesForJdbcType(int)"><!-- --></A><H3> |
| externalTypesForJdbcType</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>externalTypesForJdbcType</B>(int type)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#externalTypesForJdbcType(int)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns an array of RDBMS types that can be used with JDBC <code>type</code>. Valid |
| JDBC types are defined in java.sql.Types. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#externalTypesForJdbcType(int)">externalTypesForJdbcType</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getExtendedTypes()"><!-- --></A><H3> |
| getExtendedTypes</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/access/types/ExtendedTypeMap.html" title="class in org.apache.cayenne.access.types">ExtendedTypeMap</A> <B>getExtendedTypes</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getExtendedTypes()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a map of ExtendedTypes that is used to translate values between Java and |
| JDBC layer. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getExtendedTypes()">getExtendedTypes</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="buildAttribute(java.lang.String, java.lang.String, int, int, int, boolean)"><!-- --></A><H3> |
| buildAttribute</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</A> <B>buildAttribute</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> typeName, |
| int type, |
| int size, |
| int scale, |
| boolean allowNulls)</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#buildAttribute(java.lang.String, java.lang.String, int, int, int, boolean)">DbAdapter</A></CODE></B></DD> |
| <DD>Creates and returns a DbAttribute based on supplied parameters (usually obtained |
| from database meta data). |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#buildAttribute(java.lang.String, java.lang.String, int, int, int, boolean)">buildAttribute</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - database column name<DD><CODE>typeName</CODE> - database specific type name, may be used as a hint to determine the |
| right JDBC type.<DD><CODE>type</CODE> - JDBC column type<DD><CODE>size</CODE> - database column size (ignored if less than zero)<DD><CODE>scale</CODE> - database column scale, i.e. the number of decimal digits (ignored if |
| less than zero)<DD><CODE>allowNulls</CODE> - database column nullable parameter</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tableTypeForTable()"><!-- --></A><H3> |
| tableTypeForTable</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>tableTypeForTable</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#tableTypeForTable()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns the name of the table type (as returned by |
| <code>DatabaseMetaData.getTableTypes</code>) for a simple user table. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#tableTypeForTable()">tableTypeForTable</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="tableTypeForView()"><!-- --></A><H3> |
| tableTypeForView</H3> |
| <PRE> |
| public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>tableTypeForView</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#tableTypeForView()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns the name of the table type (as returned by |
| <code>DatabaseMetaData.getTableTypes</code>) for a view table. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#tableTypeForView()">tableTypeForView</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQualifierTranslator(org.apache.cayenne.access.trans.QueryAssembler)"><!-- --></A><H3> |
| getQualifierTranslator</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/access/trans/QualifierTranslator.html" title="class in org.apache.cayenne.access.trans">QualifierTranslator</A> <B>getQualifierTranslator</B>(<A HREF="../../../../org/apache/cayenne/access/trans/QueryAssembler.html" title="class in org.apache.cayenne.access.trans">QueryAssembler</A> queryAssembler)</PRE> |
| <DL> |
| <DD>Creates and returns a default implementation of a qualifier translator. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getQualifierTranslator(org.apache.cayenne.access.trans.QueryAssembler)">getQualifierTranslator</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAction(org.apache.cayenne.query.Query, org.apache.cayenne.access.DataNode)"><!-- --></A><H3> |
| getAction</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/query/SQLAction.html" title="interface in org.apache.cayenne.query">SQLAction</A> <B>getAction</B>(<A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A> query, |
| <A HREF="../../../../org/apache/cayenne/access/DataNode.html" title="class in org.apache.cayenne.access">DataNode</A> node)</PRE> |
| <DL> |
| <DD>Uses JdbcActionBuilder to create the right action. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getAction(org.apache.cayenne.query.Query, org.apache.cayenne.access.DataNode)">getAction</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="bindParameter(java.sql.PreparedStatement, java.lang.Object, int, int, int)"><!-- --></A><H3> |
| bindParameter</H3> |
| <PRE> |
| public void <B>bindParameter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true" title="class or interface in java.sql">PreparedStatement</A> statement, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> object, |
| int pos, |
| int sqlType, |
| int scale) |
| throws <A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</A>, |
| <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#bindParameter(java.sql.PreparedStatement, java.lang.Object, int, int, int)">DbAdapter</A></CODE></B></DD> |
| <DD>Binds an object value to PreparedStatement's numbered parameter. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#bindParameter(java.sql.PreparedStatement, java.lang.Object, int, int, int)">bindParameter</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true" title="class or interface in java.sql">SQLException</A></CODE> |
| <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsBatchUpdates()"><!-- --></A><H3> |
| supportsBatchUpdates</H3> |
| <PRE> |
| public boolean <B>supportsBatchUpdates</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsBatchUpdates()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns <code>true</code> if the target database supports batch updates. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsBatchUpdates()">supportsBatchUpdates</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSupportsBatchUpdates(boolean)"><!-- --></A><H3> |
| setSupportsBatchUpdates</H3> |
| <PRE> |
| public void <B>setSupportsBatchUpdates</B>(boolean flag)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsGeneratedKeys()"><!-- --></A><H3> |
| supportsGeneratedKeys</H3> |
| <PRE> |
| public boolean <B>supportsGeneratedKeys</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsGeneratedKeys()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns true if a target database supports key autogeneration. This feature also |
| requires JDBC3-compliant driver. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsGeneratedKeys()">supportsGeneratedKeys</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSupportsGeneratedKeys(boolean)"><!-- --></A><H3> |
| setSupportsGeneratedKeys</H3> |
| <PRE> |
| public void <B>setSupportsGeneratedKeys</B>(boolean flag)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEjbqlTranslatorFactory()"><!-- --></A><H3> |
| getEjbqlTranslatorFactory</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A> <B>getEjbqlTranslatorFactory</B>()</PRE> |
| <DL> |
| <DD>Returns a translator factory for EJBQL to SQL translation. This property is |
| normally initialized in constructor by calling |
| <A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createEJBQLTranslatorFactory()"><CODE>createEJBQLTranslatorFactory()</CODE></A>, and can be overridden by calling |
| <A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#setEjbqlTranslatorFactory(org.apache.cayenne.access.jdbc.EJBQLTranslatorFactory)"><CODE>setEjbqlTranslatorFactory(EJBQLTranslatorFactory)</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setEjbqlTranslatorFactory(org.apache.cayenne.access.jdbc.EJBQLTranslatorFactory)"><!-- --></A><H3> |
| setEjbqlTranslatorFactory</H3> |
| <PRE> |
| public void <B>setEjbqlTranslatorFactory</B>(<A HREF="../../../../org/apache/cayenne/access/jdbc/EJBQLTranslatorFactory.html" title="interface in org.apache.cayenne.access.jdbc">EJBQLTranslatorFactory</A> ejbqlTranslatorFactory)</PRE> |
| <DL> |
| <DD>Sets a translator factory for EJBQL to SQL translation. This property is normally |
| initialized in constructor by calling <A HREF="../../../../org/apache/cayenne/dba/JdbcAdapter.html#createEJBQLTranslatorFactory()"><CODE>createEJBQLTranslatorFactory()</CODE></A>, so |
| users would only override it if they need to customize EJBQL translation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mergerFactory()"><!-- --></A><H3> |
| mergerFactory</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/merge/MergerFactory.html" title="class in org.apache.cayenne.merge">MergerFactory</A> <B>mergerFactory</B>()</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#mergerFactory()">mergerFactory</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initIdentifiersQuotes()"><!-- --></A><H3> |
| initIdentifiersQuotes</H3> |
| <PRE> |
| protected void <B>initIdentifiersQuotes</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQuotingStrategy(boolean)"><!-- --></A><H3> |
| getQuotingStrategy</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/dba/QuotingStrategy.html" title="interface in org.apache.cayenne.dba">QuotingStrategy</A> <B>getQuotingStrategy</B>(boolean needQuotes)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getQuotingStrategy(boolean)">getQuotingStrategy</A></CODE> in interface <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </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="class-use/JdbcAdapter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-all.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/apache/cayenne/dba/JdbcActionBuilder.html" title="class in org.apache.cayenne.dba"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/dba/JdbcPkGenerator.html" title="class in org.apache.cayenne.dba"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/dba/JdbcAdapter.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JdbcAdapter.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> |
| Copyright © 2001-2011 <a href="http://cayenne.apache.org/">Apache Cayenne</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |