Consider the following SQL Server view...

create view Employee_DOC
as

select

    FirstName,
    LastName,
    GenderCode,
    GenderDesc = dbo.getCodeDescriprtion( 'GENDER', GenderCode ),
    SSN

from Employees


It uses a derived column and is thus unupdateable (no insert or update). It can 
not be used by an Entity bean if you want that bean to be updateable. What 
would be great is if you could specify a table (or view) to used for reading 
and a different table for saving. This does not appear to be a feature of 
EBJ3/Hibernate, but is there a way to achieve the same outcome?

Amazing product!! My deepest admiration to those responsible.

Jim

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911969#3911969

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911969


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to