here there is the part of xml config file:
        <db-entity name="PhysicalNode" catalog="PacketDb">
                <db-attribute name="AdditionalArgs" type="VARCHAR" 
length="4000"/>
                <db-attribute name="BatteryLevel" type="SMALLINT"/>
                <db-attribute name="CoordX" type="DOUBLE" isMandatory="true"/>
                <db-attribute name="CoordY" type="DOUBLE" isMandatory="true"/>
                <db-attribute name="CoordZ" type="DOUBLE" isMandatory="true"/>
                <db-attribute name="Creation" type="BIGINT" isMandatory="true"/>
                <db-attribute name="CurrentPwrSrc" type="SMALLINT"/>
                <db-attribute name="ExpectedLifeTime" type="BIGINT"/>
                <db-attribute name="Id" type="INTEGER" isPrimaryKey="true"
isGenerated="true" isMandatory="true" length="10"/>
                <db-attribute name="IsOnline" type="BOOLEAN" 
isMandatory="true"/>
                <db-attribute name="Label" type="VARCHAR" isMandatory="true"
length="255"/>
                <db-attribute name="LastBatteryChange" type="BIGINT"/>
                <db-attribute name="LastMaintenance" type="BIGINT"/>
                <db-attribute name="LastStatusTime" type="BIGINT"/>
                <db-attribute name="MacAddress" type="BLOB" isMandatory="true"
length="24"/>
                <db-attribute name="NSAP" type="BLOB" isMandatory="true" 
length="16"/>
                <db-attribute name="NetworkId" type="INTEGER" 
isMandatory="true"/>
                <db-attribute name="SignalRange" type="FLOAT"/>
                <db-attribute name="Type" type="SMALLINT" isMandatory="true"/>
                <db-attribute name="WakeupPolicy" type="SMALLINT"/>
        </db-entity>


        <obj-entity name="PhysicalNode" className="dbManager.PhysicalNode"
dbEntityName="PhysicalNode">
                <obj-attribute name="additionalArgs" type="java.lang.String"
db-attribute-path="AdditionalArgs"/>
                <obj-attribute name="batteryLevel" type="java.lang.Short"
db-attribute-path="BatteryLevel"/>
                <obj-attribute name="coordX" type="double" 
db-attribute-path="CoordX"/>
                <obj-attribute name="coordY" type="double" 
db-attribute-path="CoordY"/>
                <obj-attribute name="coordZ" type="double" 
db-attribute-path="CoordZ"/>
                <obj-attribute name="creation" type="long" 
db-attribute-path="Creation"/>
                <obj-attribute name="currentPwrSrc" type="java.lang.Short"
db-attribute-path="CurrentPwrSrc"/>
                <obj-attribute name="expectedLifeTime" type="java.lang.Long"
db-attribute-path="ExpectedLifeTime"/>
                <obj-attribute name="isOnline" type="boolean"
db-attribute-path="IsOnline"/>
                <obj-attribute name="label" type="java.lang.String"
db-attribute-path="Label"/>
                <obj-attribute name="lastBatteryChange" type="java.lang.Long"
db-attribute-path="LastBatteryChange"/>
                <obj-attribute name="lastMaintenance" type="java.lang.Long"
db-attribute-path="LastMaintenance"/>
                <obj-attribute name="lastStatusTime" type="java.lang.Long"
db-attribute-path="LastStatusTime"/>
                <obj-attribute name="macAddress" type="byte[]"
db-attribute-path="MacAddress"/>
                <obj-attribute name="nsap" type="byte[]" 
db-attribute-path="NSAP"/>
                <obj-attribute name="signalRange" type="java.lang.Float"
db-attribute-path="SignalRange"/>
                <obj-attribute name="type" type="short" 
db-attribute-path="Type"/>
                <obj-attribute name="wakeupPolicy" type="java.lang.Short"
db-attribute-path="WakeupPolicy"/>
        </obj-entity>

This table is involved in a lot of relationships: is this a possible cause
of failures?

Any other idea?

Let me know!

Thank you very much
Best 
cghersi



--
View this message in context: 
http://cayenne.195.n3.nabble.com/Temporary-ID-hasn-t-been-replaced-on-commit-tp3801043p3801195.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Reply via email to