Pergunta

I'm new to Play! 2.0 with Java and I try to connect my new app to an existing database @work. I build my model class exactly on the existing columns within the DB, but it still tries to evolve my DB ("Database 'default' needs evolution!"). Do I need to change the config concerning the DB (e.g. because of the 'default' thing)?

Thanks for help.

Edit:

I solved my problem. I had to disable the evolutionplugin within the config. After that it accessed the data of the DB correctly.

Foi útil?

Solução

Just for your knowledge:

BE CAREFUL when connecting existing DB with data to Play with evolutions, it can destroy your data!

Disabling evolutions is first step you should do.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top