Hi Russ,
JPA queries (see the spec) use abstract schema type, not the table name, to represent an entity in the queries. The abstract schema type of an entity defaults to the unqualified entity name.
I'm also concerned about ':extension=?1' condition. It looks like a comparison between a named and a positional parameter, which is not allowed.
thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=232118