http://www.playframework.org/modules/db
Nicolas
2012/4/2 Cwellan <leo.rai...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/z_Q-_ku5BlgJ.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
Nicolas Leroux
You can try the following module:
You can try the following module:http://www.playframework.org/modules/db
Nicolas
2012/4/2 Cwellan:
> Hi,
>
> First, sorry for my bad language, i'm french...
>
> I have a database MySQL with a lot of tables filled.
> I want that play detect automatically the tables of MySQL and create the
> models on play. Is it possible ?
> I know that i can create automatically the table on MySQL with the models of
> Play and i can rule that with the line : %test.jpa.ddl=create/update/...
>
>
> Thanks in advance.
>
> Best regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/z_Q-_ku5BlgJ.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
Nicolas Leroux
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/uLxNC-0VYq0J.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
--
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/5TtXq60cDuoJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
Hi All,
I resolved this issue for play-1.2.2
1, fixed hibernate-tools JavaTypeFromValueVisitor.java 's method as follow:
public Object accept(OneToMany value) {
//return value.getAssociatedClass().getClassName();
return value.getReferencedEntityName();
}
2, copy hibernate3.jar to module/db-1.1.1/lib
that's it, works for me.
_________________________________________________________