Christian Beikov

Results 516 comments of Christian Beikov

I guess what you are after is `hibernate.auto_quote_keyword`, but IMO this should be enabled by default in Hibernate. Not sure if the JPA spec should specify this behavior, but it's...

I can only assume what the OP meant, but Blaze-Persistence adds functions for getting and setting values in JSON types on top of JPA for many databases: https://persistence.blazebit.com/documentation/1.6/core/manual/en_US/#json_get

Whatever your requirement is, I don't think the JPA metamodel will be enough for you. You can write your own annotation processor to create whatever static metamodel that you want,...

Unless we consider representing the result type of table valued functions as entities/embeddables, which I think is nice.

The request seems very valid and useful to me. Many databases support count distinct of tuples. For those that don't, it's possible to implement query transformations.

If you think you found a bug or want to request a feature in Hibernate ORM, please do that through the Hibernate ORM community channels. This is not the proper...

I agree that CTEs should be added to JPA. For now, you can use Blaze-Persistence if you really need this for e.g. recursive CTEs: https://persistence.blazebit.com/documentation/core/manual/en_US/index.html#recursive-ctes

IMO this is a very bad idea. This will cause lots of queries to be issued that nobody expected before. Existing applications will suffer a lot if this is done....

If this method were to always actually query the database, why have it? Why not just use `find()` then? There will always be situations where it could happen that an...

The applications I developed and saw so far made use of `getReference` when appropriate. It's a perfect match especially when you have FK constraints actually, because when you set a...