开发者

Ebean and playframework

开发者 https://www.devze.com 2023-04-09 09:40 出处:网络
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

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:

  1. Does anybody use the play-module in a commercial project?

  2. Does the module works with play 1.2?

  3. What databases-platforms are supported? I found a special-class for Hsql.

  4. 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:

  1. 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 :)
  2. There seems to be a module, code here, that should be compatible. Never tried it though
  3. Supported DB include: Oracle, MySql, Postgres, H2, SQL Server, SQLite. Maybe mroe, but these should be enough
  4. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号