Any suggestions on this? I am trying to inser a NEW Address object.
-Jason Pyeron
class com.pyerotechnics.customer.mmserv.rejistore.tier1.dataobjects.Addresses:>
addr1:t
addr2:t
addr3:t
city:t
id:null
name:test
notes:x
postal:t
state:t
type:Work
typeRef:null
phoneNumbers:null
org.apache.ojb.broker.PersistenceBrokerException: assertValidPkFields failed for
Object of type:
com.pyerotechnics.customer.mmserv.rejistore.tier1.dataobjects.Addresses on insert
at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)
at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)
at
com.pyerotechnics.customer.mmserv.rejistore.tier2.swing.controls.data.AddressEditor.store(AddressEditor.java:76)
at
com.pyerotechnics.customer.mmserv.rejistore.tier2.swing.controls.data.AddressEditor$1.actionPerformed(AddressEditor.java:40)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerMySQLImpl">
<attribute attribute-name="autoNaming" attribute-value="true"/>
</sequence-manager>
...
<class-descriptor
class="com.pyerotechnics.customer.mmserv.rejistore.tier1.dataobjects.Addresses"
table="Addresses">
<field-descriptor name="id"
column="id"
jdbc-type="BIGINT"
primarykey="true"
autoincrement="false"
/>
<field-descriptor name="typeRef"
column="typeRef"
jdbc-type="BIGINT"
/>
<reference-descriptor name="type"
class-ref="com.pyerotechnics.customer.mmserv.rejistore.tier1.dataobjects.AddressTypes">
<foreignkey field-ref="typeRef"/>
</reference-descriptor>
<field-descriptor name="name"
column="name"
jdbc-type="VARCHAR"
/>
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron http://www.pyerotechnics.com -
- Partner & Sr. Manager Pyerotechnics Development, Inc. -
- 500 West University Parkway #1S -
- +1 (410) 808-6646 Baltimore, Maryland 21210-3253 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately. Any other use of the email by you
is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]