Does play framework have anything like quickly generator of models by schema? I like symfony + doctrine infrastructure, but I can't use it in this case.
标签:
playframework
相关问题
- PlayFramework: how to transform each element of a
- Could not import the newly generated play framewor
- Play Framework Unicode symbols in HTTP Header
- Putting output of 'git describe' in templa
- org.scala-sbt#sbt;${{sbt.version}}: not found on e
相关文章
- Testing request with CSRF Token in Play framework
- How to map an abstract collection with jpa?
- play2 framework my template is not seen. : package
- How does @Inject in Scala work
- play framework 2.0 - unexpected exception - Key No
- Error integration fingerprint U.are.U SDK with jav
- Custom bridge table in playframework ebean
- how to handle fileupload into a table in play fram
The db module can do that
http://www.playframework.org/modules/db-1.1.1/home#aCreatingyourdomainmodelfromthedatabasea
I think Minute-Project should do what you want. How ever you still need a lot of time to make the generated code suitable. A second possibility is the jpa-gen-module.
I don't know of one in Play, but you can probably use the Hibernate tools to generate
@Entity
classes and modify them afterwards to extendModel
orGenericModel
.