Class JaxbManyToMany

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbManyToMany
All Implemented Interfaces:
Serializable, AssociationAttribute, CollectionAttribute, FetchableAttribute, PersistentAttribute

public class JaxbManyToMany extends Object implements Serializable, AssociationAttribute, CollectionAttribute
See `@jakarta.persistence.ManyToMany` See `@org.hibernate.annotations.SortComparator` See `@org.hibernate.annotations.SortNatural` See `@org.hibernate.annotations.AttributeAccessor`

Java class for many-to-many complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="many-to-many">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="order-by" type="{http://www.hibernate.org/xsd/orm/mapping}order-by" minOccurs="0"/>
           <element name="order-column" type="{http://www.hibernate.org/xsd/orm/mapping}order-column" minOccurs="0"/>
           <element name="sort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         </choice>
         <choice>
           <element name="map-key" type="{http://www.hibernate.org/xsd/orm/mapping}map-key" minOccurs="0"/>
           <sequence>
             <element name="map-key-class" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-class" minOccurs="0"/>
             <choice>
               <element name="map-key-temporal" type="{http://www.hibernate.org/xsd/orm/mapping}temporal" minOccurs="0"/>
               <element name="map-key-enumerated" type="{http://www.hibernate.org/xsd/orm/mapping}enumerated" minOccurs="0"/>
               <sequence>
                 <element name="map-key-attribute-override" type="{http://www.hibernate.org/xsd/orm/mapping}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
                 <element name="map-key-convert" type="{http://www.hibernate.org/xsd/orm/mapping}convert" maxOccurs="unbounded" minOccurs="0"/>
               </sequence>
             </choice>
             <choice>
               <element name="map-key-column" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-column" minOccurs="0"/>
               <sequence>
                 <element name="map-key-join-column" type="{http://www.hibernate.org/xsd/orm/mapping}map-key-join-column" maxOccurs="unbounded" minOccurs="0"/>
                 <element name="map-key-foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
               </sequence>
             </choice>
           </sequence>
         </choice>
         <element name="join-table" type="{http://www.hibernate.org/xsd/orm/mapping}join-table" minOccurs="0"/>
         <element name="cascade" type="{http://www.hibernate.org/xsd/orm/mapping}cascade-type" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="target-entity" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fetch" type="{http://www.hibernate.org/xsd/orm/mapping}fetch-type" />
       <attribute name="fetch-mode" type="{http://www.hibernate.org/xsd/orm/mapping}plural-fetch-mode" />
       <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
       <attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="mapped-by" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="orphan-removal" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also: