| <!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> |
| AutoAdapter (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="AutoAdapter (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/AutoAdapter.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"> |
| PREV CLASS |
| <A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface 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/AutoAdapter.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AutoAdapter.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 AutoAdapter</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.AutoAdapter</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> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>AutoAdapter</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 DbAdapter that automatically detects the kind of database it is running on and |
| instantiates an appropriate DB-specific adapter, delegating all subsequent method calls |
| to this adapter. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</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 <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#adapterFactory">adapterFactory</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/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#dataSource">dataSource</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/AutoAdapter.html#pkGenerator">pkGenerator</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/AutoAdapter.html#AutoAdapter(javax.sql.DataSource)">AutoAdapter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A> dataSource)</CODE> |
| |
| <BR> |
| Creates an AutoAdapter that can detect adapters known to Cayenne.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#AutoAdapter(org.apache.cayenne.dba.DbAdapterFactory, javax.sql.DataSource)">AutoAdapter</A></B>(<A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> adapterFactory, |
| <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A> dataSource)</CODE> |
| |
| <BR> |
| Creates an AutoAdapter with specified adapter factory and DataSource.</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 void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#addFactory(org.apache.cayenne.dba.DbAdapterFactory)">addFactory</A></B>(<A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> factory)</CODE> |
| |
| <BR> |
| Allows application code to add a sniffer to detect a custom adapter.</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/AutoAdapter.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 precision)</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/AutoAdapter.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 precision, |
| 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 <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#createDefaultFactory()">createDefaultFactory</A></B>()</CODE> |
| |
| <BR> |
| Called from constructor to initialize factory in case no factory was specified by |
| the object creator.</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/AutoAdapter.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, or null if foreign keys are not supported.</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/AutoAdapter.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>entity</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/AutoAdapter.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> |
| Append the column type part of a "create table" to the given <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></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/AutoAdapter.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, or null |
| if the unique constraints are not supported.</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/AutoAdapter.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> entity)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>since 3.0 as the decorated method is deprecated.</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/AutoAdapter.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/AutoAdapter.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="../../../../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/AutoAdapter.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> |
| Returns an instance of SQLAction that should handle the query.</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/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#getAdapter()">getAdapter</A></B>()</CODE> |
| |
| <BR> |
| Returns a proxied DbAdapter, lazily creating it on first invocation.</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/AutoAdapter.html#getBatchTerminator()">getBatchTerminator</A></B>()</CODE> |
| |
| <BR> |
| Returns a String used to terminate a batch in command-line tools.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#getDefaultFactory()">getDefaultFactory</A></B>()</CODE> |
| |
| <BR> |
| Returns a DbAdapterFactory configured to detect all databases officially supported |
| by Cayenne.</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/AutoAdapter.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/AutoAdapter.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/AutoAdapter.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/AutoAdapter.html#getPkGenerator()">getPkGenerator</A></B>()</CODE> |
| |
| <BR> |
| 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="../../../../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/AutoAdapter.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> |
| </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/AutoAdapter.html#getQuotingStrategy(boolean)">getQuotingStrategy</A></B>(boolean isQuoteStrategy)</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/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/dba/AutoAdapter.html#loadAdapter()">loadAdapter</A></B>()</CODE> |
| |
| <BR> |
| Opens a connection, retrieves JDBC metadata and attempts to guess adapter form it.</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/AutoAdapter.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/AutoAdapter.html#setDefaultQuoteSqlIdentifiersChars(boolean)">setDefaultQuoteSqlIdentifiersChars</A></B>(boolean isQuoteSqlIdentifiers)</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/AutoAdapter.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 a PK generator override.</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/AutoAdapter.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/AutoAdapter.html#supportsFkConstraints()">supportsFkConstraints</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>since 3.0 - almost all DB's support FK's now and also this flag is less |
| relevant for Cayenne now.</I></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/AutoAdapter.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/AutoAdapter.html#supportsUniqueConstraints()">supportsUniqueConstraints</A></B>()</CODE> |
| |
| <BR> |
| Returns true if a target database supports UNIQUE constraints.</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/AutoAdapter.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/AutoAdapter.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="adapterFactory"><!-- --></A><H3> |
| adapterFactory</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> <B>adapterFactory</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="dataSource"><!-- --></A><H3> |
| dataSource</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A> <B>dataSource</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <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> |
| |
| <!-- ========= 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="AutoAdapter(javax.sql.DataSource)"><!-- --></A><H3> |
| AutoAdapter</H3> |
| <PRE> |
| public <B>AutoAdapter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A> dataSource)</PRE> |
| <DL> |
| <DD>Creates an AutoAdapter that can detect adapters known to Cayenne. |
| <P> |
| </DL> |
| <HR> |
| |
| <A NAME="AutoAdapter(org.apache.cayenne.dba.DbAdapterFactory, javax.sql.DataSource)"><!-- --></A><H3> |
| AutoAdapter</H3> |
| <PRE> |
| public <B>AutoAdapter</B>(<A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> adapterFactory, |
| <A HREF="http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html?is-external=true" title="class or interface in javax.sql">DataSource</A> dataSource)</PRE> |
| <DL> |
| <DD>Creates an AutoAdapter with specified adapter factory and DataSource. If |
| adapterFactory is null, default factory is used. |
| <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="addFactory(org.apache.cayenne.dba.DbAdapterFactory)"><!-- --></A><H3> |
| addFactory</H3> |
| <PRE> |
| public static void <B>addFactory</B>(<A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> factory)</PRE> |
| <DL> |
| <DD>Allows application code to add a sniffer to detect a custom adapter. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>3.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDefaultFactory()"><!-- --></A><H3> |
| getDefaultFactory</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> <B>getDefaultFactory</B>()</PRE> |
| <DL> |
| <DD>Returns a DbAdapterFactory configured to detect all databases officially supported |
| by Cayenne. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createDefaultFactory()"><!-- --></A><H3> |
| createDefaultFactory</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/DbAdapterFactory.html" title="interface in org.apache.cayenne.dba">DbAdapterFactory</A> <B>createDefaultFactory</B>()</PRE> |
| <DL> |
| <DD>Called from constructor to initialize factory in case no factory was specified by |
| the object creator. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAdapter()"><!-- --></A><H3> |
| getAdapter</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A> <B>getAdapter</B>()</PRE> |
| <DL> |
| <DD>Returns a proxied DbAdapter, lazily creating it on first invocation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="loadAdapter()"><!-- --></A><H3> |
| loadAdapter</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface in org.apache.cayenne.dba">DbAdapter</A> <B>loadAdapter</B>()</PRE> |
| <DL> |
| <DD>Opens a connection, retrieves JDBC metadata and attempts to guess adapter form it. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getBatchTerminator()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a String used to terminate a batch in command-line tools. E.g. ";" on |
| Oracle or "go" on Sybase. |
| <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> |
| </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><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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#getAction(org.apache.cayenne.query.Query, org.apache.cayenne.access.DataNode)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns an instance of SQLAction that should handle the query. |
| <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> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="supportsFkConstraints()"><!-- --></A><H3> |
| supportsFkConstraints</H3> |
| <PRE> |
| public boolean <B>supportsFkConstraints</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>since 3.0 - almost all DB's support FK's now and also this flag is less |
| relevant for Cayenne now.</I> |
| <P> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsFkConstraints()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns true if a target database supports FK constraints. |
| <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="supportsUniqueConstraints()"><!-- --></A><H3> |
| supportsUniqueConstraints</H3> |
| <PRE> |
| public boolean <B>supportsUniqueConstraints</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#supportsUniqueConstraints()">DbAdapter</A></CODE></B></DD> |
| <DD>Returns true if a target database supports UNIQUE constraints. |
| <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> |
| </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> |
| </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="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> entity)</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>since 3.0 as the decorated method is deprecated.</I> |
| <P> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#dropTable(org.apache.cayenne.map.DbEntity)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a SQL string that can be used to drop a database table corresponding to |
| entity parameter. |
| <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> |
| </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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createTable(org.apache.cayenne.map.DbEntity)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a SQL string that can be used to create database table corresponding to |
| <code>entity</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="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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createUniqueConstraint(org.apache.cayenne.map.DbEntity, java.util.Collection)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a DDL string to create a unique constraint over a set of columns, or null |
| if the unique constraints are not supported. |
| <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> |
| </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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createFkConstraint(org.apache.cayenne.map.DbRelationship)">DbAdapter</A></CODE></B></DD> |
| <DD>Returns a SQL string that can be used to create a foreign key constraint for the |
| relationship, or null if foreign keys are not supported. |
| <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="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 a primary key generator. |
| <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 a PK generator override. If set to non-null value, such PK generator will be |
| used instead of the one provided by wrapped adapter. |
| <P> |
| <DD><DL> |
| </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 precision, |
| 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>precision</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="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 precision) |
| 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="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="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> |
| </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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html#createTableAppendColumn(java.lang.StringBuffer, org.apache.cayenne.map.DbAttribute)">DbAdapter</A></CODE></B></DD> |
| <DD>Append the column type part of a "create table" to the given <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> |
| <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</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDefaultQuoteSqlIdentifiersChars(boolean)"><!-- --></A><H3> |
| setDefaultQuoteSqlIdentifiersChars</H3> |
| <PRE> |
| public void <B>setDefaultQuoteSqlIdentifiersChars</B>(boolean isQuoteSqlIdentifiers)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <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> |
| </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> |
| </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 isQuoteStrategy)</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> |
| </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/AutoAdapter.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"> |
| PREV CLASS |
| <A HREF="../../../../org/apache/cayenne/dba/DbAdapter.html" title="interface 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/AutoAdapter.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AutoAdapter.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> |