I create a JPAQuery with custom templates:
JPAQuery query = new JPAQuery(em,myTemplates);
but if I clone it with
JPAQuery clonedQuery = query.clone();
clonedQuery is created with the standard JPQLTemplates.
Provided a pull request to fix it
As I said in the pull request, clone is also used to attach a fresh, empty JPAQuery to an EntityManager.
This means that when you don't set templates yourself, syntax errors would occur, since it doesn't correctly attach the query anymore.
I'll provide another pull request, which should respect your custom templates.
Thank you. Testing.... ;-)
With your changes works as expected. 👍
That is good news.
And thank you for the report and suggestion!
Just one question... is there any schedule for 4.0 release?
The milestone page gives you a general idea of the release schedule.
Keep in mind that not all release dates are final and are subject to change(we moved 4.0 around, with additional maintenance releases).
I hope this answers your question.
Yes, thank you.
I tried to get it from roadmap wiki page but link is broken.