2 Replies Latest reply on Oct 11, 2007 11:53 AM by robdev

    entity bean to a view?

      Is it possible to map an entity bean to a view and if so how - currently when i do this I get the following during deployment of the EAR file to JBOSS:

      ObjectName: persistence.units:ear=fraud-ear-1.0-SNAPSHOT.ear,jar=fraud-ejb-1.0-SNAPSHOT.jar,unitName=fraud
       State: FAILED
       Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Missing table: tst
      


      Where tst is a view. It seems to be only looking for tables - Is this configurable?