Use java.sql.Date and try it.

Best Regards,
Ramdhan YK,
Acefusion .com Pte Ltd.
Singapore - 469001
DID: +65-2499341
Fax: +65-4412800
Never Never Never Give Up on what u really want TO DO.
Dream The Dream Until The Dream Comes TRUE.


                                                                                       
                           
                    "Rhodes, Phillip                                                   
                           
                    C."                     To:     "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]> 
                    <Phillip.Rhodes@        cc:                                        
                           
                    alcoa.com>              Subject:     [JRun-Talk] CMP with Oracle 
date type problem            
                                                                                       
                           
                    09/19/00 05:34                                                     
                           
                    AM                                                                 
                           
                    Please respond                                                     
                           
                    to jrun-talk                                                       
                           
                                                                                       
                           
                                                                                       
                           



I have an cmp entity bean with a date field.  If I try to create this
entity
bean, I get an error. that tells me invalid column type.

The attribute in my entity bean is a java.util.Date and in oracle it is a
Date data type.


Anybody run into this?
Thanks.

javax.servlet.ServletException: System exception/error caught by container;
nested exception is: java.sql.SQLException: Invalid column type: setObject
java.rmi.RemoteException: System exception/error caught by container;
nested
exception is: java.sql.SQLException: Invalid column type: setObject
java.sql.SQLException: Invalid column type: setObject at
oracle.jdbc.dbaccess.DBError.check_error(DBError.java:421)





Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA  15212
(412) 553-4900  (phone)  (412) 553-2484 (fax)

------------------------------------------------------------------------------

Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.




------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to