Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsErroneously duplicated @DiscriminatorValue - don't try this at home
https://www.eclipse.org/forums/index.php/mv/msg/271953/773070/#msg_773070
same persistence hierarchy. My mistake, no doubt about it, but I can't help but
wonder if it could have been easier to diagnose. Firstly no guidance from my
IDE (NB7). Secondly no error messages in the server log. Thirdly
Query.getResultList was sporadically returning null values in mapped fields when
they weren't null and hanging the deployment to the app server
(eclipselink.ddl-generation=create-tables).
Due to my inability to spot the silly mistake some of the steps I took to
rectify the problem:
- re-installing glassfish from scratch
- re-installing NetBeans from scratch
- discarding a days work and restoring the project from backup
This problem manifests itself in a "everything's gone horribly wrong" kind of
way, so it would be great if some consistency checking could be performed by
the implementation.
I'm using EclipseLink 2.3.0.v20110604-r9504.
Regards,
Brendan.]]>Brendan Healey2011-12-31T11:23:31-00:00Re: Erroneously duplicated @DiscriminatorValue - don't try this at home
https://www.eclipse.org/forums/index.php/mv/msg/271953/777503/#msg_777503
James Sutherland2012-01-10T16:00:15-00:00