jpql « EJB « JPA Q&A

1. EJB/JPA: Is it called JPQL or EJBQL?

Is the JPA query language called JPQL or EJBQL? I keep reading about them here and there, JPQL seems to appear slightly more often, but frameworks like JBoss Seam use EJBQL ...

2. simple JPQL please see how to solve

I've tried to use JPQL which needs to join 2 tables. Here're entities that join each table. I just put only the attributes that relate to the join

Table : TXN_D
//bi-directional many-to-one ...