ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Williams <colinwilliams...@gmail.com>
Subject Re: Indexing POJOs
Date Tue, 15 Feb 2005 00:14:27 GMT

I tried this and it does try to set the property on the id field, but
of course it throws an error because it has used a default constructor
so the id is of type Object.

I need some way to indicate to Ibatis that I want to create my object
with a composite key identifier object, say of type CustomerKey, for
instance with the fields specified.

Your suggestion is part 2, setting the properties of the key object,
is there any solution for part 1.


View raw message