Bugs item #983945, was opened at 2004-07-02 10:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=983945&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: radl (radl01)
Assigned to: Nobody/Anonymous (nobody)
Summary: CMP and Sybase JConnect (Short field)
Initial Comment:
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.JDBCUtil) in
setParameter method a litle bit: I added one more case
Code:
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;
Jan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=983945&group_id=22866
-------------------------------------------------------
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-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development