This has nothing to do with Tapestry, it's a matter of your object/relational mapper.

Uli

Am 21.04.2009 13:20 schrieb kk4Nabble:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to