Hi,
First of all, thank you very much for your interest to JOnAS.
I correct this problem, and the fix will be available in the next
version of JOnAS. (version 2.1 available very sooner)
Kind regards.
Hélène.
Björn Pewe wrote:
>
> Hi,
>
> I have a cmp entitybean with several String fields, and according to the
> documentation java.lang.String should be mapped to
> varchar or char. But when I look at the code generated by GenIC in for
> example the class JonasNotificationBean (my bean's name is NotificationBean)
> String is mapped to Types.VARBINARY. This will result in a database error.
>
> The code is in the ejbCreate method and looks like this:
> ....
> if (this.firstName == null) {
> pStmt.setNull(6, Types.VARBINARY);
> } else {
> pStmt.setString(6, this.firstName);
> }
> ....
>
> Björn Pewe, LeanOn AB
> Tele: 018-146417
> Mobil: 070-5577417
> Fax:070-3877417
> E-mail: mailto:[EMAIL PROTECTED]
> Webb: http://www.leanon.se
>
> ----
> 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".