thanks alot tomer.

i will try to find time to add it and commit the code to the project withing
the next month
the thing is that the implementation is totally different from the multi
criteria with the sql syntax
i just wanna make sure i'll do it correctly
so if someone from the dev could verify my thoughts:

having a base class for multi criteria with the common logic and two multi
criteria impl classes
one called MultiStatementMultiCriteria and AnonymousBlockMultiCriteria that
create the sql and bind the parameters (the cursors for the anonymous block
are extra parameters)

when creating the concrete multi criteria instance - using the driver to
create it, meaning the current drivers that support multi criteria will
create the MultiStatementMultiCriteria and the odp driver will create the
anonymous block implementation
the method for creating the concrete multi criteria will be added to the
abstract driver with default implementation - creating the multi statement
impl, so the drivers code won't be changed, only the odp driver

drivers that don't support will cause an exception just like today (the
property of IsMultiCriteriaSupport or something like that exists today, for
the odp driver it will return true of course)

also need to add to the sql types the cursor

seems about right?

To unsubscribe from this group, send email to 
nhibernate-development+unsubscribegooglegroups.com or reply to this email with 
the words "REMOVE ME" as the subject.

Reply via email to