Closed spring-projects-issues closed 4 years ago
Luanne Misquitta commented
Not clear to me if this is still an issue based on comments in https://github.com/spring-projects/spring-boot/issues/6673 ?
@Caleb
could you confirm please?
Caleb Cushing commented
I found a way to configure jackson, but this was still a problem, I just worked around it. I'm now putting entities into their own sub package and adding @EntityScan
for each one of those sub packages. I can't imagine there is any reason that a non @NodeEntity
should cause an exception by neo4j.
Basically this is still a problem, unless there is some new version my branch needs to test
Caleb Cushing opened DATAGRAPH-900 and commented
https://github.com/xenoterracide/jacksonconfig
master is stack tracing on startup
also something weird here, I added a
@Profile
("foo") to this, and it was still stack tracing, like it was ignoring the fact that the profile wasn't enabled and still changing this behavior.I do find it particularly interesting that it only affects this Jackson...Builder
I noticed that it was picking everything up as a persistent entity before, but it's not seemed to cause a problem until now. I know that I could organize my code as "package by layer" and put all entities in
.entity
and only put entites in there. I would rather do "package by feature" and instead have packages like.security
.books
Affects: 4.1.2 (Hopper SR2)
Reference URL: https://github.com/spring-projects/spring-boot/issues/6673
Issue Links: