Re: What's the best way to write a JDOQL query to compare dates that doesn't give a warning about using a transient as parameter in query?


Andy
 

The best way to not get a message about passing in a transient persistable object is not to pass in a transient persistable object.
Doing what you say above about passing a Date (which is not a persistable object) does not result in such a warning ... for me.

Join main@datanucleus.groups.io to automatically receive all group messages.