| ### Showing:
Annotations
Attributes
Diagrams
Properties
Source
Used by

Element cay:sql

Namespace | http://cayenne.apache.org/schema/3.0/modelMap
Annotations |
    Defines arbitrary SQL statement. Note that SQL statement can be customized for different SQL dialects per DbAdapter class. If no adapter-specific statement is found, the one with no adapter label is used by default.
Diagram |
Type | extension of xs:string
Properties |
content: | complex
Used by |
Element | cay:query
Attributes |
QName | Type | Fixed | Default | Use | Annotation
--- | --- | --- | --- | --- | ---
adapter-class | xs:string |  |  | optional |
Source |
    <xs:element name="sql">
      <xs:annotation>
        <xs:documentation>Defines arbitrary SQL statement. Note that SQL statement can be customized for different SQL dialects per DbAdapter class. If no adapter-specific statement is found, the one with no adapter label is used by default.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:string">
            <xs:attribute name="adapter-class" type="xs:string"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
Schema location | file:/Users/ari/svn/cayenne30/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd

Attribute cay:sql / @adapter-class

Namespace | No namespace
Type | xs:string
Properties |
content: | simple
Used by |
Element | cay:sql
Source |
    <xs:attribute name="adapter-class" type="xs:string"/>
Schema location | file:/Users/ari/svn/cayenne30/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd