I have a xml-based hibernate library and thought of using it within seam.
But when I want to use EJB3, I assume, that I need an anotation-based description.
But now I have the issue that all MS SQL Views (CREATE VIEW...) aren't found:
org.hibernate.HibernateException: Missing table: TestView
The same code using an existing TestTable in @Table(name="TestTable") works.
Hence the schema and catalog in the persistence.xml is correct...
The xml-based notation works as well:
<hibernate-mapping> <class name="com.dcx.tscm.db.ComponentSets" table="ComponentSets" schema="dbo" catalog="tscm">