Thanks, I will probably just do the right thing and migrate it to EJB 2.0 CMP but will keep your suggestion (mixed) in mind as a backup plan. ---Raymond > -----Original Message----- > From: Ashwani Kalra [SMTP:[EMAIL PROTECTED]] > Sent: Sunday, November 11, 2001 11:00 PM > To: [EMAIL PROTECTED] > Subject: Re: CMP of (user defined) Serializable types? > > EJB 1.1 cannot directly handle such user defined types properly . You can > either use BMP and write the sqls your self. Or you can have mix behaviour > CMP + BMP. do not declare the field which is giving problem and handle it > in > your sql query in the call back methods. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Cheers > Ashwani Kalra > Sr. Mem. Dev. Staff > Aithent Technologies > India > http://www.geocities.com/ashwani_kalra/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > -----Original Message----- > From: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]]On Behalf Of Raymond Blum > Sent: Saturday, November 10, 2001 4:26 AM > To: [EMAIL PROTECTED] > Subject: CMP of (user defined) Serializable types? > > > I am porting an application from Sun's J2EERI to WebLogic 6.1. The > application includes several Entity Beans using CMP which persist > attributes > of user defined types (i.e. "Schema"). These types all implement the > java.io.Serializable interface and thus (I believe) can be persisted to > the > database (i.e. Oracle "LONG RAW" columns, they were CloudScape LONG BIT > columns in the J2EERI implementation). > > When I try to declare any of these attributes as CMP fields, ejbc > complains > that the type ("Schema") is not supported in WLS EJB 1.1. > > 1) Is support for these available only in the 2.0 spec? If so, can anyone > point me at a good example of the WLS 6.1 deployment process (Descriptors, > etc). It looks like all of the BEA samples are EJB 1.1. > > 2) Can CMP support for any Serializable class be acheived in an EJB 1.1 > deployment? > > TIA > ---Raymond > > ========================================================================== > = > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > > ========================================================================== > = > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
