Questions tagged [metamodel]

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.

A model is an abstraction of phenomena in the real world; a metamodel is yet another abstraction, highlighting properties of the model itself. A model conforms to its metamodel in the way that a computer program conforms to the grammar of the programming language in which it is written.

Metamodeling, or meta-modeling in software engineering and systems engineering among other disciplines, is the analysis, construction and development of the frames, rules, constraints, models and theories applicable and useful for modeling a predefined class of problems.

Metamodeling is usually defines of a collection of concepts within a certain domain.

cf. wikipedia

225 questions
1
vote
1 answer

How to exclude a Class field from MetaModel auto-generation (OpenJPA)

I have an Entity with a field of byte array type. The static meta model is throwing an error during deploy. I would try to fix it if I wanted to query on that field but I do not. It is binary data @Lob. Is there an @Annotation to make the auto-gen…
TDupard
  • 43
  • 7
1
vote
3 answers

UML class diagram metamodel

Where can I find a simplified class diagram metamodel ? It's for a ATL ATLAS Transformation Language project, I need to transform a entity class diagram to SQL database. thank you .
Sams Good
  • 33
  • 1
  • 5
1
vote
1 answer

JPA2 - How to order by field in Embedded composite primary key in a Join in OpenJPA

I'm trying to replicate the following, working query using the Criteria Query API + RAD/Dali-auto-generated static canonical metamodels for OpenJPA 2.1.2-SNAPSHOT on WebSphere v8.0.0.5: `SELECT * FROM CENTER c INNER JOIN STATE s ON s.ID =…
Chris Harris
  • 1,329
  • 4
  • 17
  • 28
1
vote
0 answers

Defining Mongoid Models on the fly

I would highly appreciate if someone could critique this approach for me. I'm building an application where a user can define several attributes & generate a form to share with his users, much like Wufoo. This is my approach. User has_many sources…
Rahul
  • 412
  • 4
  • 13
1
vote
2 answers

Accessing JPA Class Mapping

Found an article in springsource which describes how to manipulate the schema name at runtime. http://forum.springsource.org/showthread.php?18715-changing-hibernate-schemas-at-runtime We're using pure jpa however where were using a…
skellish
  • 11
  • 1
1
vote
1 answer

Why the metamodel generated by JPA 2.0 makes fields VOLATILE?

The new feature for type safe queries generates a metamodel for the classes, but why these fields aren't final instead of volatile ? public static volatile SingularAttribute topic;
Cosmin Cosmin
  • 1,526
  • 1
  • 16
  • 34
1
vote
1 answer

Unified Process and UML confusion

Im a bit uncertain about the relation between the Unified Modeling Language (UML) and the different modelling perspectives (conceptual, specification and impelementation) endorsed by (R)UP among other OOA/D methodologies. From what I understand the…
DerDres
  • 45
  • 3
1
vote
2 answers

How to validate an Object Diagram (aka "Instance Diagram") against a Meta Model?

I have to develop an API that take as an input a Meta Model (class diagram) and his instance (object diagram) but I don't know how to do it in a programaticly way. I made some research and I found that I can play with EMF API but I'm not sure how to…
TheCyberXP
  • 915
  • 1
  • 12
  • 24
0
votes
1 answer

Creating a meta model using UML convention and creating a data model out of it

Sorry if the question sounds too vague. I will improve based on your feedback. I have managed to prepare a UML model of a problem domain. This is essentially a class diagram describing class attributes and aggregation relationships amongst classes.…
Raj
  • 857
  • 11
  • 26
0
votes
0 answers

Issue with Spring Data Jpa meta-models

I was reading through this tutorial: Advanced Spring Data JPA - Specifications and Querydsl , trying to learn about specifications to build a dynamic filtering system, and how I can implement it in my Maven java springboot project using Spring data…
0
votes
0 answers

Eclipse isn't generating JPA Metamodel files

I'm trying to use the JPA Metamodel generator in Eclipse using the recipes offered in these pages, but Eclipse still isn't generating the desired files and therefore isn't recognizing the use of the metamodel classes and is therefore reporting a…
0
votes
1 answer

How to generate MetaModel for Redis Document entity to use in Redis OM EntityStream queries

I use Redis OM Spring Entity Streams, which provides a Java 8 Streams interface to Query Redis JSON documents using RediSearch. I want to generate a metamodel like Person$ to run the code below. But I couldn't figure out how to generate the…
efk
  • 41
  • 5
0
votes
0 answers

In Hibernate 6.0, hbm.xml multiple column has been disallowed, how to migrate them then?

Reading the migration path from Hibernate version 6.0, they disallowed the multiple column possibility, as stated in https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#hbm-xml-multiple-column-now-disallowed The issue I have…
Sylvain Lecoy
  • 947
  • 6
  • 15
0
votes
1 answer

quarkus project not generating classes with hibernate-jpamodelgen

I'm having troubles generating metamodel classes with hibernate-jpamodelgen to use with Criterta. To reproduce, generate a quarkus project on quarkus.io with Hibernate ORM and add the following dependency to the pom:
beneken
  • 1
  • 1
0
votes
0 answers

papyrus/eclipse project missing required source folder : src

so i have this meta model i m working on. since i m working on meta model in papyrus i didn't really find a solution. So was working on another machine normally , after that i pushed on git and tried to work on it in my personal machine i had this…