Closed vnayar closed 5 months ago
@SingingBush Let me know if there are any gaps or things to be added before this can be merged. There are a few gaps that I'm aware of at the moment including:
@EmbeddedId
has not yet been added.@JoinColumns
in order to implement the concepts of @ManyToOne
and @ManyToMany
.However, the feature adds value even in its current form, as it allows representation of existing databases that use compound keys, something not possible before.
The limitations seem ok as long as it's clearly documented. Could you add some details to the readme about the support for composite keys.
README updated with notes about the current state of implementation. More work will of course come to address these shortcomings as time permits.
More work will be needed to support @OneToMany and @ManyToOne using a composite key, the JPA @JoinColumns annotation will be needed to support this. However, with this change, at least some options exist for dealing with composite-keys rather than just facing a brick wall.
See https://github.com/buggins/hibernated/issues/85