Hi.
I have these two entites: Order and OrderItem
--
class Order {
List orderItems;
}
class OrderItems {
Order order;
}
-
How to map this relationship at the XML level?
How can I load an Order with all its order items are fully initialized (no 1
+ N problem plea
No...and going forward, we'll support JavaBeans only in that get/set methods
are properties. The JavaBeans spec and related APIs including BeanInfo are
horrible and have created far more problems for us and others than they have
solved.
In the future we'll support classes as classes, not classes
Does iBATIS use Introspector and BeanInfo? If it does (and it should!), then
you can create a custom BeanInfo class that defines the getter/setter methods
for particular properties.
From: Clinton Begin [mailto:[EMAIL PROTECTED]
Sent: Friday, J
Can you live with simply letting it map directly to the fields?
Clinton
On 7/26/07, Jean-François Daune <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to customize iBATIS by replacing use of Javabeans setter as
> default with custom setter (with a prefix).
>
> Is it possible?
>
> I do not s
Jeff thanks for your response. I just wanted to pass along some
follow-up from this co-worker. They also noticed when running the same
query 100 times that without the types in the resultMap that it was
using more memory than with types. Would iBatis have to instantiate
the objects to perform r