At 09:44 10/17/2000 -0400, Bill Pfeiffer wrote:
>Can anybody explain just what causes this message and how to get rid of it?
>
>[Container factory] Unrecognized jdbc-type: SHORT, using Types.OTHER
>[Container factory] Unrecognized jdbc-type: LONG, using Types.OTHER
>[Container factory] Unrecognized jdbc-type: DATETIME, using Types.OTHER
>[Container factory] Unrecognized jdbc-type: IMAGE, using Types.OTHER
I'm *very* new to JDBC but I'll take a guess they aren't valid types. At
least I don't see them listed on Sun's online tutorial for JDBC
(http://java.sun.com/docs/books/tutorial/jdbc/basics/_retrievingTable.html).
My guess is you want SMALLINT, BIGINT, TIMESTAMP, and (maybe) BINARY. You
can map these in your bean's jaws.xml file:
...
<mapping>
<java-type>java.lang.short</java-type>
<jdbc-type>SMALLINT</jdbc-type>
<sql-type>SHORT</sql-type>
</mapping>
...
If I'm wrong, *please* someone set me straight here...
--------------------------------------------------------------------------
Thad Humphries "Who is this that darkens my counsel
Web Development Manager With words without knowledge?"
Phone: 540/675-3015, ext. 225 - Job 38:1, NIV
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]