Colin Williams wrote:

Kris,

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.


Colin,

I've just tried it over here without any problems. Can we see the error (and maybe the code, too)?

Kris

--
Kris Jenkins
Email:  [EMAIL PROTECTED]
Blog:   http://cafe.jenkster.com/
Wiki:   http://wiki.jenkster.com/





Reply via email to