This is hibernate/jpa specific and has nothing to do with Tapestry. So yes,
it should work if it did before.

2009/4/21 kk4Nabble <kavya....@gmail.com>

>
> Hi all,
>
> If we wanted to have one to one relationship to other entity, in  tapestry
> 4
> we used to do in following way.
>
> @OneToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
>        @JoinColumn(name = "detail_oid")
>        public Detail getDetail() {
>                return Detail;
>        }
>
>        public void setDetail(Detail Detail) {
>                this.Detail = Detail;
>        }
>
> Is it the same way in tapestry 5?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/relationship-between-the-entities-%28database--tables%29-in-tapestry-5-tp23153944p23153944.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to