Top "Metamodel" questions

Metamodel is a collection of concepts (frames, rules, terms, constraints, models and theories) that are applicable and useful for modeling a predefined class of problems.

Get model's fields in Django

Given a Django model, I'm trying to list all of its fields. I've seen some examples of doing this using …

django django-models introspection metamodel
How to generate the JPA entity Metamodel?

In the spirit of type safety associated with the CriteriaQuery JPA 2.0 also has an API to support Metamodel representation of …

java hibernate jpa annotation-processing metamodel
JPA Criteria API: LEFT JOIN for optional relationships

I'm using the Criteria API basically the first time. It's about abstracting queries for a generic builder: public TypedQuery<…

java sql jpa criteria-api metamodel
Creating queries using Criteria API (JPA 2.0)

I'm trying to create a query with the Criteria API from JPA 2.0, but I can't make it work. The problem …

java jpa jpa-2.0 criteria-api metamodel
How to implement polymorphic JPA entities with generic relations

I'm trying to use JPA 2.0 to create polymorphic entities with generic relations. There should be two tables, an event table …

java hibernate jpa-2.0 metamodel
JPA Static Metamodel not recognized by IntelliJ

I generated the application with JHipster with Gradle as the build tool. When I created entity I added filtering support, …

jpa intellij-idea jpa-2.0 jhipster metamodel
How to generate JPA Metamodel with Gradle 5.x

I am currently trying to upgrade from gradle 4.8.1 to 5.1.1 but fail with generating the hibernate metamodel for our code. The …

java hibernate jpa gradle metamodel
How to get SingularAttribute mapped value of a persistent object?

I have a persistent object (Action) and auto generated data model (Action_). By having an object of Action class and …

jakarta-ee jpa persistence metamodel