If I remove the association fieldset. It blows up with Entity of type App\Model\Entity\ServiceDataDownload is missing an assigned ID for field 'dataDownload'. The identifier generation strategy for this entity requires the ID field to be populated before EntityManager#persist() is called. If you want automatically generated identifiers instead you need to adjust the metadata mapping accordingly.
On Tuesday, March 18, 2014 3:13:27 PM UTC-4, Timothy Lorens wrote: > > Not quite sure I understand why relationship tables-- such as a 'Type' > (Action Type, User Type, Download Type) tables are getting updated when > there's nothing to be changed/editied-- and they shouldn't be updated at > all, unless you're in the Admin section of the website adding/editing this > data.... > > I have no cascade-option set in my XML Mappers. Where what I look to > correct this problem. Just need to know which direction to go. I don't > expect a direct answer. Thanks in advance. > > MainObjectXML->JoinTableTypeXML->TypeTableXML > > UPDATE DATA_DOWNLOADS SET DOWNLOAD_ID = ?, UPDATE_DT = ? WHERE DOWNLOAD_ID > = ? > Array ( [0] => 101 [1] => 2014-03-18 15:02:01 [2] => 101 ) > > UPDATE SERVICE_DATA_DOWNLOADS SET CLOSE_IND = ?, OBJECTIVE_AHI = ?, > OBJECTIVE_DAYS_OBSERVED = ?, > OBJECTIVE_DAYS_USED = ?, OBJECTIVE_HPD = ?, OBSERVATION_START_DT = ?, > RENEWAL_IND = ?, UPDATE_DT = ? WHERE > SERVICE_ID = ? AND DOWNLOAD_ID = ? > > > > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
