In play 2.0 Ebean should become the default persistence l开发者_如何学编程ayer. And after a few days of hibernate frustration I started a look on Ebean. I found the yabe example really impressive. However I had a bunch of questions:
Does anybody use the play-module in a commercial project?
Does the module works with play 1.2?
What databases-platforms are supported? I found a special-class for Hsql.
Is there any update-support for database-tables or is it always drop and create?
Would be great if any one can give some information about.
On your questions:
- I'm not aware of any famous application using it, but for what I saw it has a very active community that uses it. It's been around for 4 years (maybe more), so I expect some reliability :)
- There seems to be a module, code here, that should be compatible. Never tried it though
- Supported DB include: Oracle, MySql, Postgres, H2, SQL Server, SQLite. Maybe mroe, but these should be enough
- EBeans can generate DDL for the database Schema. And it would surprise me if it doesn't have a "update" procedure (it would limit the usefulness a lot!)
- Does anybody use the play-module in a commercial project?
Not yet.
- Does the module works with play 1.2?
I've tried, it does not.
- What databases-platforms are supported? I found a special-class for Hsql.
All that ebean supports.
- Is there any update-support for database-tables or is it always drop and create?
Use the liquibase module for this.
精彩评论