Hi all,
I had a problem with Short CMP fields with JConnect JDBC driver for ASE/ASA. JConnect
does not support setObject() method with Short Object type.
I had to change a source code (org.jboss.ejb.plugins.cmp.jdbc.JDBCUtils) in
setParameter method a litle bit: I added one more case
| case Types.SMALLINT: // due to setObject problem with JConnect
| if (value instanceof Short) {
| ps.setShort(index, ((Short)value).shortValue());
| } else {
| ps.setObject(index, value, jdbcType);
| }
| break;
|
I'm sorry I posted this code in this forum but I don't know where and how to noticed
JBoss developers.
JBoss 3.2.3
Jan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840594#3840594
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840594
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user