META-INF.orm.xml Maven / Gradle / Ivy
<?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