문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top