Hello,

I was wondering what happens with the QueryTargetPolicy when you execute 
Criteria API based queries.
I guess they are transformed to JPQL or even SQL Strings and then delivered to 
the policy, but wouldn't it be nicer to have a criteria-based QueryTargetPolicy?
This would make analysis of the query and selection of slices a lot easier, I 
guess, because no String parsing would be required.

Optionally one could even enable parsing JPQL into criteria based queries for 
this, as a use case for the proposed JPQL to Criteria API parser.

regards,
Michael
___________________________________________________

SMA Solar Technology AG
Aufsichtsrat: Dr. Erik Ehrentraut (Vorsitzender)
Vorstand: Guenther Cramer, Peter Drews, Juergen Dolle, Roland Grebe,
Uwe Hertel, Pierre-Pascal Urbon, Marko Werner
Handelsregister: Amtsgericht Kassel HRB 3972
Sitz der Gesellschaft: 34266 Niestetal
USt-ID-Nr. DE 113 08 59 54
WEEE-Reg.-Nr. DE 95881150
___________________________________________________

Reply via email to