79091114

Date: 2024-10-15 17:37:45
Score: 0.5
Natty:
Report link

You need to replace the moduleId property in the PropertyEntity and PropertyEntityId with the module property

@Id
@ManyToOne
@JoinColumn(name = "module_id")
private ModuleEntity module;

See example 164 in Hibernate ORM User Guide.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrey Smelik