Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN Commit: Bug#251594 Add missing query hints

SVN Commit: Bug#251594 Add missing query hints

 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=251594

 

Split work into two phases, this is the first phase (easy ones).

 

Changes:

Added the following hints:

- maintain-cache

- prepare

- jdbc.cache-statement

- sql.hint

- flush

- jdbc.native-connection

- cursor

- cursor.initial-size

- cursor.page-size

- cursor.scrollable

- cursor.size-sql

- fetch-group.name

- fetch-group.attribute

- fetch-group.default

- cache-usage +support modify queries

- exclusive-connection

- inheritance.outer-join

- history.as-of

- history.as-of-scn

- jdbc.first-result

 

Also fixed,

- native queries are always created as DataRead, and not all properties copied

over if switched to DataModify, need to use copyFromQuery(), current code will

also fail for existing NamedStoredProcedureQuery.

- getSingleResult should allow returning of Cursors and Maps, (and Sets)

- need to add getResultCursor()

 

And improved all hint comments.

 

Code Review: Andrei (pending)

 

 


Back to the top