Gavin King

Results 1281 comments of Gavin King

I don't think the issue description really captures the problem here. It's *not* true that Hibernate doesn't let you have an association from `SpecialOrder` to `Customer` where the `customer` field...

> This looks like something that could be easily looked at and resolved. Actually I think this is pretty subtle. > I would still mark this low priority. Right: I...

Yes, on balance I think it's probably best.

@lukasj I think we can just close this one.

This has already been fixed in Hibernate 6. I still don't think the spec needs to say anything about this issue.

So, the interesting thing going on here is that the issue description is a bit wrong, it seems to me. It's not the case that JPA doesn't allow an `@Embedded`...

> How about, if the `@Embeddable` is `final` _and_ not `null` which likely means it has a "storage" specified. I don't understand what you mean here.

I see. My knee-jerk reaction was that's a weird solution but it's growing on me. It's an interesting idea, actually. 🤔

So `@PersistenceContext` / `@PeristenceUnit` injection is defined at the same level as `@Resource` and `@EJB`, and perhaps some others I forget about after all these years. These other annotations don't...