Hi,
I'm using JBoss 3.2.1 and PostgreSQL 7.2and I'm also using the inheritance features of PostgreSQL.
I've created a view and want to have an CMP entity bean that can perform queries on this view.
I've used Middlegen to create the Bean but when I call a finder method I always get a NullPointer Exception. The reason is, that the queries aren't created correctly. The PostgreSQL Server log show the following:
SELECT FROM personv
So JBoss does not tell the DB server "what" to select.
Has anybody already worked with Views and CMP?
Any hints?
Thanks,
phi