Play! 2.0 DB isn't recognized
-
01-06-2021 - |
문제
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.
해결책
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.
제휴하지 않습니다 StackOverflow