|
Is there plan to utilize http://docs.oracle.com/javaee/6/api/javax/persistence/QueryHint.html to allow Dialect specific hints?
i.e my wish list is: @NamedQuery(name = "QueueMessage.bySystem", query = "select m from QueueMessage m where system = :system", hints=@QueryHint(name="SqlServer.ReadPast", value="true")) Would end up giving: Select field1, system from queue_message WITH (READPAST)
Or even some way to extend the dialect to provide this functionality as needed.
|