Gavin King

Results 1268 comments of Gavin King

> I got a bit confused because I noticed you already pushed a commit I can't push to your branch though.

This improvement poses only a modest burden on implementers. So consider it done.

> The `readOnly` hint on a transaction should IMO affect the default managed entity mode of a session: Indeed, that would be ideal.

> Entity and single table inherited Entity are not defined in the same project This is simply not allowed. All entities in an inheritance hierarchy must belong to the same...

Sure, but a `jar` file is not a module in the sense of the EE spec.

OK, but that's what XML mappings are for.

> OK, but that's what XML mappings are for. Or, you know, define your indexes in a `jakarta.persistence.schema-generation.create-script-source` DDL file, which is also easy to include at module assembly time.

> Sure, let's ignore half of what JPA is designed for to tinker with low level database stuff manually :) JPA was not designed as a system for database schema...

> Hibernate also have @Index available on the field (which honestly is much more logical place to put it) Not sure about that. Indexes quite commonly involve more than one...

> Unless the Data provider parses the JPQL to the degree that it understands which entity attribute is selected and what type it is such that it could send a...