Santiago,

Fist of all, thank you very must for your interest for JOnAS and for
those two contributions.
I apologize to have not taken into account your work sooner,
I don't unsderstand why we miss those two mails.

I introduce your first contribution in the current version of JOnAS.
In the WHERE clause associated to a finder method for an entity with
CMP,
the parameters can be followed by a number, that specifies the method
parameter number that will be used by the query in this position.
For example:
        Enumeration findByTextAndDateCondition(String text, java.sql.Date date)
        WHERE (description like ?1 OR summary like ?1) AND (?2 > date)
Note that parameters must be numbered starting from 1, (instead 0),
(same convention as in the EJB Query Langage define in the spec. EJB
2.0)

About your second contribution, this problem is resolved now 
since JOnAS version 2.0.3.

Thanks again.
Kind regards.
Hélène.

Santiago Gala wrote:
> 
> This is the message in which I sent the modification regarding genIC for
> CMP beans. The code is still valid, although it will need some work to
> integrate in the new Jonas 2.0
> 
>  http://www.enhydra.org/community/mailingLists/ejb-container-group/msg00039.html
> 
> This is another message in which I pointed out an error in the
> BeanNaming class. This error is still in Jonas 2.0, and it impedes that
> two different beans share the same home and remote class, as the name of
> the implementation classes depends on the remoteclass name, and not on
> the bean name. I evaluated that it is trivial to adapt it to jonas 2.0.
> 
> http://www.enhydra.org/community/mailingLists/ejb-container-group/msg00040.html
> 
> Sorry for the delay, but I was out of the office. Later, I forgot.
> 
> Regards,
>     Santiago
> 
> P.S.) There is plenty of room for improvements. The var names could be
> used, instead of numbers. Also, with xml configuration, the conditional
> stuff could use constructs such as <if-true> <else> ... instead of the
> ugly {} syntax.
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to