开发者

JPA and hibernate for Flex

I'm using JPA but I'm not sure how to use it for relation between two class开发者_如何学运维es. I need to connect them @OneToMany. I have done this before but forgot. Is there any good tutorial for this or an example that is easy to understand.

By the way this is a Flex application where I'm using BlazeDS for connection between Java and Flex.


Have a look at the Introduction to the Java Persistence API in The Java EE 5 Tutorial and more precisely the section on Multiplicity in Entity Relationships.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜