This content has been marked as final.
Show 1 reply
-
1. Re: 2 @OneToOne(mappedBy =
epbernard Jul 1, 2005 7:18 AM (in response to enztp)@OneToOne(mappedBy = "usuario") @OneToOne(mappedBy = "area") @Id(generate = GeneratorType.NONE) @Column(updatable = true, name = "cd_ccust", nullable = false, length = 5) public String getCodigoCentroCusto()
This code should not work. you can't have a @OneToOne on a property of type string