Topic: [Hibernate]one-to-one

  Print this page

1.[Hibernate]one-to-one Copy to clipboard
Posted by: rqn
Posted on: 2004-10-27 14:32

我有个user表和passwd表,是1对1的关系。
也有两个BEAN:userBean和passwdBean
是不是要在 userBean里写个setPasswd(passwdBean bean),getPasswd(),还要在passwdBean中写setUser(...)??


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923