question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support automatic mapping through JPA models

See original GitHub issue

We have just found this great library and started to use it for our project. As of now we are using Spring Boot with Hibernate. Hence we have all models already written as JPA Pojos.

Right now I need to duplicate my mappings via implementing anAbstractMapping instance per entity. It would be great if a JpaMapping class would exist that we could use instead.

Maybe something like this is already in the making on your side?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
bytefishcommented, Apr 28, 2020

OK! I write some documentation and prepare a release. 👍

1reaction
cheffecommented, Apr 27, 2020

Thanks a lot for your efforts. I will look into it after the breakfast 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mapping JPA Entities into DTOs in Spring Boot Using MapStruct
Avoid boilerplate code by automatically mapping JPA entities into DTOs in Spring Boot and Java by harnessing MapStruct.
Read more >
Ultimate Guide - Association Mappings with JPA and Hibernate
Association mappings are one of the key features of JPA and Hibernate. They model the relationship between two database tables as attributes in...
Read more >
How to map a composite identifier using an automatically ...
Although not a very common mapping, you can map a composite identifier where one of the Primary Key columns is auto-generated. While for...
Read more >
JPA / Hibernate One to One Mapping Example with Spring Boot
In this article, you'll learn how to map a one to one bidirectional relationship using JPA, Hibernate and Spring Boot.
Read more >
Dynamic Mapping with Hibernate - Baeldung
Note that although Hibernate implements the JPA specification, annotations described here are available only in Hibernate and are not ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found