質問

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