Entity with field Array of objects. How to correctly describe this Entity use Hibernate ogm?

47 Views Asked by At

I am a tester. I 'm doing my first java automation project using Hibernate ogm. I 've been thinking about this problem several days, but I can 't find a solution.

This is my document in bd: enter image description here

This is Entity: enter image description here

I have difficulty describing the fields from the red frame. Without these fields there are no problems, my test works. As soon as I add fields from the red frame, my SessionFactory falls. I have no idea how to do it right. I will be glad of any help and advice.

0

There are 0 best solutions below