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

Log at WARN level in case of contradicting PersistenceUnitManager setup #23257

Closed
odrotbohm opened this issue Jul 9, 2019 · 0 comments
Closed
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@odrotbohm
Copy link
Member

odrotbohm commented Jul 9, 2019

If users configure a LocalContainerEntityManagerFactoryBean and accidentally set both a persistence unit name and packages to scan, the latter are ignored but the message pointing to the invalidity of this setup is only logged at debug level. The observable misbehavior is that apparently the entity scanning silently does not work.

Here's an example StackOverflow question.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 9, 2019
@sbrannen sbrannen changed the title Log into WARN level in case of contradicting PersistenceUnitManager setup Log at WARN level in case of contradicting PersistenceUnitManager setup Jul 9, 2019
@sbrannen sbrannen added in: data Issues in data modules (jdbc, orm, oxm, tx) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 9, 2019
@sbrannen sbrannen self-assigned this Jul 9, 2019
@sbrannen sbrannen added this to the 5.2 RC1 milestone Jul 9, 2019
@sbrannen sbrannen added the type: enhancement A general enhancement label Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants