-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in PanacheJpaRepositoryEnhancer #5274
Comments
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
If the entity type is not fixed in the hierarchy yet, don't generate the bridge Fix quarkusio#5274
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
If the entity type is not fixed in the hierarchy yet, don't generate the bridge Fix quarkusio#5274
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
FroMage
added a commit
to FroMage/quarkus
that referenced
this issue
Nov 7, 2019
Being fixed in #5276 |
ia3andy
pushed a commit
to dmlloyd/quarkus
that referenced
this issue
Nov 19, 2019
* Panache: do not create findById bridge for abstract entity repositories If the entity type is not fixed in the hierarchy yet, don't generate the bridge Fix quarkusio#5274 * Test for quarkusio#5274: duplicate findById for abstract repositories * Fix quarkusio#5274 for Mongo too * Test for quarkusio#5274 for Mongo
mmusgrov
pushed a commit
to mmusgrov/quarkus
that referenced
this issue
Dec 13, 2019
* Panache: do not create findById bridge for abstract entity repositories If the entity type is not fixed in the hierarchy yet, don't generate the bridge Fix quarkusio#5274 * Test for quarkusio#5274: duplicate findById for abstract repositories * Fix quarkusio#5274 for Mongo too * Test for quarkusio#5274 for Mongo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When implementing
PanacheRepositoryBase
on an abstract class so I can extend from it on my repositories when running the jar I get the following error:Caused by: java.lang.ClassFormatError: Duplicate method name "findById" with signature "(Ljava.lang.Object;)Ljava.lang.Object;" in class file com/flowkode/panache/TestEntityRepository
To Reproduce
Steps to reproduce the behavior:
TestEntityRepository
if you comment line 8 and uncomment line 9, everything runs well.The text was updated successfully, but these errors were encountered: