Re: [scala] JPA question
Balthazar Crowley wrote:
> Derek,
>
> Thanks for the tip about the hibernate.show_sql property. The column
> it's complaining about is not the Id column, but the column that should
> be inferred as a relation. It's a field that represents a OneToOne
> composition relation. It looks like -- instead of just using the Id of
> the thing contained it's using the serialization of the object.
Right, well, what I meant was that for the other side of the one-to-one
the @Id is a String uuid, which is what really should be stored as the
foreign key. If you're truly getting a serialized version of the object
then that really seems like a Hibernate bug.
Derek