Skip to content

Tag: spring-boot

Detached entity passed to persist java spring

So i have a big error when trying to do an update method in my spring application ,the problem is regarding to the Caracter class as thats the one the seems to generate it. When i set my stuff in main and try to update an Anime object in the database the Caracter class gives me the errors presented below

Connecting multiple databases

I would like to connect my application with 2 different databases. This is what I have tried: And so in application.properties I have added: But Intellij tells me: Cannot resolve configuration property ‘spring.wald.datasource.url’ What am I doing wrong? Answer Instead of returning DataSource, you …