Tim Holloway wrote:I don't think that there are any org.baeldung artefacts in the world-wide Maven Repository.
Note: this artifact is located at ICM repository (http://maven.icm.edu.pl/artifactory/repo/)
Jiri Nejedly wrote:
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Tim Holloway wrote:It is possible to add 2 related records at the same time in the same transaction, although if you're using auto-generated keys, that means that you have to first get the doctor record saved and populated with its primary key. The patient Entity does not have the doctor ID in it, because this is an ORM and it references a Doctor object which, again, we just generated an ID for, so at that point, the patient record can be saved. The doctor Entity contains a Patient Collection property managing the reverse relationship, so you also have to add the Patient there and re-save the updated Doctor.
stefan nesic wrote:
Edsger W. Dijkstra wrote:Program testing can be used to show the presence of bugs, but never to show their absence!