All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.orm.xml Maven / Gradle / Ivy

There is a newer version: 5.6.0.Final
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
                 version="1.0">
  <entity class="org.drools.grid.service.directory.impl.AddressImpl" access="FIELD">
      <table name="Address"/>

      <attributes>
          <id name="addressId">
          </id>
          <many-to-one name="gridServiceDescription" target-entity="org.drools.grid.service.directory.impl.GridServiceDescriptionImpl" />
      </attributes>
  </entity>
  
  <entity class="org.drools.grid.service.directory.impl.GridServiceDescriptionImpl" access="FIELD">
      <table name="GridServiceDescription"/>

      <attributes>
          <id name="descId" />
          <basic name="ownerGridId" />
          <one-to-many name="addresses" mapped-by="gridServiceDescription" target-entity="org.drools.grid.service.directory.impl.AddressImpl" fetch="EAGER" >
              <map-key name="transport" /> 
              <cascade>
                  <cascade-all/>
              </cascade>
          </one-to-many>     

      </attributes>
  </entity>  
  
  <entity class="org.drools.grid.timer.impl.ScheduledJob" access="FIELD">
      <table name="ScheduledJob"/>

      <attributes>
          <id name="jobId" />        
          <transient name="jobHandle" />                      
      </attributes>
  </entity>    
</entity-mappings>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy