Mantis - Resin
Viewing Issue Advanced Details
1214 minor always 06-25-06 10:20 08-01-06 13:39
anonymous  
 
normal  
closed 3.0.19  
fixed  
none    
none 3.1.0  
0001214: Amber: implement the "join" spec in the "from" clause
Here is the error generated by Resin:

expected end of query at 'from'
in "select distinct o from SectorBean o join o.suscripcionList s where s.tipo = ?1"

Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)


workaround: the above query can be rewrite as "select distinct o from SectorBean o where o.suscripcionList.tipo = ?1"

Note: the "join" keyword combined with "fetch" is very useful to manage detached objects.




Notes
(0001306)
fbertra   
06-25-06 18:55   
Reported by me (Francois Bertrand)
(0001486)
westrupp   
08-01-06 11:53   
It is implemented and tested in jpa/1143. (Rodrigo Westrupp)
(0001487)
westrupp   
08-01-06 13:39   
Implemented and tested (jpa/1143). (Rodrigo Westrupp)