Thanks a lot for the reply.:-)
Otho wrote:
>
> 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
>
>>
>> Hi all,
>>
>> If we wanted to have one to one relationship to other entity, in
>> tapestry
>> 4
>>
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
>
> 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.RE
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, fetc
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;