Skip to content
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

Error: Entities share the same jpa entity name, which is not allowed #51

Open
jatolmed opened this issue Apr 27, 2022 · 0 comments
Open

Comments

@jatolmed
Copy link

jatolmed commented Apr 27, 2022

Hello, I have this two classes in different packages:

@Entity
@Table(name = "entity_table_1")
public class Entity {
    ... Fields ...
    ... Get, Set ...
}

@Entity
@Table(name = "entity_table_2")
public class Entity {
    ... Other fields ...
    ... Get, Set...
}

With the downloaded from maven central 0.9.15 version it generates the DDL correctly, but with the code in this master branch it keeps stoping by the error "entities share the same JPA entity name [Entity] wich is not allowed".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant