Subu,
  Were you ever successful in doing this?  We have been able to create CMP
Entity Beans on views, but have a problem unless we create a pseudo primary
key.

Chip Whiteside

> -----Original Message-----
> From: Vdaygiri, Subu [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 29, 2000 11:20 AM
> To: [EMAIL PROTECTED]
> Subject: CMP and Table View
>
>
> I have a view which is from a SELECT query from 2 tables. I
> am trying to
> write a container-managed (CMP) bean for that view. But I am
> getting these
> errors when I am doing findall on that bean (ProductionView
> is my view in
> the database)
>
> In getallProductionView -before returning enum
> ejbActivate() called.
> ejbLoad() called.
> getProductionID() called.
> ejbStore() called.
> java.rmi.ServerException: RemoteException occurred in server
> thread; nested
> exception is:
>         java.rmi.RemoteException: Transaction aborted (possibly due to
> transaction time out).; nested exception is:
>         javax.transaction.RollbackException
> java.rmi.RemoteException: Transaction aborted (possibly due
> to transaction
> time out).; nested exception is:
>         javax.transaction.RollbackException
> javax.transaction.RollbackException
>
>
> Can anybody help with this ? Has anybody done a CMP bean on a view
> (basically to get around join queries) using Sun's J2EE ?
>
> Thanks a lot,
> Subu
>
> ==============================================================
> =============
> 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".

Reply via email to