I want to create a kind of database diagram and I use the entity relationship arrow tips to show the relationship between fields, but I only can use it up to down, but not side by side.
Side by Side: http://www.plantuml.com/plantuml/umla/dOtFIiGm48VlynG3Uzb55DkJXDsbMkWBw0kCJRIX-HEIL2XjtzsXUgWzoUOG-7tmpLUbJ34Fra2dfSAKLLG-Zq4bIBrsWIBP3QtFPypqRXHUhpW1uWkr_MVqWvErDpxYeMcU-S6orOFFTKTnwxu1j8PIGZbOE-B-x2lPm6jb3xml5_uEg2Lgbu_5uuddXrP65djGuXV5bcl7edmwmVAdKzuKkljtQeq8mVOyty_JRrI87nygvPYORm00
Up to Down (This works but seems weird): http://www.plantuml.com/plantuml/umla/dStFIWCn4CVn-pp53tffaOgx9mbjgIxq1VG5nireG_Cd95cXTFlk1kjXtPCuno_yvhFFXLCPdAMZqO9S94aevoYPyiduo8dTf7QR3Gg_MS5kXmi1pzoVFb8OlEw23GcBm-6f7bsdynXAT-GqtRuIzPPpXXwSEsF-zeLTj79hzmHijmGiO3ICBylcOKN0kn6hctbeyScfhzgoQHzNTFtbjF-2xlvCVIDArVKuhjVZvKTLwlQ0zk9hiLy0
Some observations.
It's the source arrowhead it doesn't like, your ||-|{ causes an abend, and so does just ||- but -|{ renders fine.
Adding an edge label (eg ": *") stops the abend, but the render is very broken. I.e. Using dummy::id ||-|{ dummy2::field1 : *
http://www.plantuml.com/plantuml/umla/dStFIWCn4CVn-pp53tff5SNTauIsL1Vw0le2usQqeVaJagnGkdrtW_QmxacSum--yzdbmgaCpjB1Q44kaYIKKvHC-MXyvCHkidRhDGg_MS5sYpC1pzmVFr8OlEw23GcB_Vwf7bscUGobEt2Qjgz4lUMSeGVdJfY_VM4NhVnizmHiDWGiO3ICBylcOKN0kn6hc_dGufDJNxLbqpwkwFBBQVy5tVwP-aQKglKutetdAwhKjLUuePtukjel
I thought 'skinparam linetype ortho' might fix it - it did fix attaching the arrowheads, but failed miserably in the placement of the two ends. I've documented it here in case it's a different but related bug for @plantuml to consider:
http://www.plantuml.com/plantuml/umla/dOrDQiCm44RtSug1R9AMbjgh8fAGrf0Bj1UOMjDQH3zcD2w4E7Ul6h9mlIhHGl0zyVHsMKbq21uwPncpid3IOyyPyi75deJ2X3RhDIfzUCRj5a-0-4hjuKlI46sJV19SxFSlvS1vglT9cuvawhvFthsB_Fiv9j4k0RIUSaOxX734UU-DGb_MXJsMlTcKQu7Eeekwh9vMPNuwzhQQWng_ITgEP5dLpoiu_-dKDuNk_vswH8mfzZW-ZAThr9YhR_0ETXmBzJy0
I've added the code for my buggy pic above. But I haven't got an answer for you, the class field to field linking isn't a documented feature (it has been around a while though, here's the earliest reference I found for it: https://forum.plantuml.net/5261) and seems to have bugs.
(--------)