If they're CMP beans, they'll try to write into the tables at commit of 
the transaction - something Oracle will object to (as you point out), 
which will roll back the whole transaction and throw an exception up to 
the client.

Guy Rouillier wrote:

> Oracle controls the read-write access.   If Oracle says you can't write 
> to it, then it doesn't really matter what you declare in a deployment 
> descriptor.  So why do you want to do something on the EJB side?
> 
>     ----- Original Message -----
> 
>     From: Jane Liu <mailto:[EMAIL PROTECTED]>
> 
>     To: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
> 
>     Cc: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ; [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
> 
>     Sent: Sunday, December 16, 2001 2:12 AM
> 
>     Subject: [JBoss-user] data retrieval from readonly table
> 
> 
>     Hi,
> 
>      
> 
>     I want to use entity beans to retrieve data from a oracle database
>     table which I only have read permission. Is that possible? If in
>     jaws.xml, I specify <read-only>true</read-only> will that work? If
>     anyone has experience with similar problem, please help me.
> 
>      
> 
>     Thanks a million!
> 
>      
> 
>     Jane
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to