SVN trunk commit: Bug#261076 JPQL cache hits
https://bugs.eclipse.org/bugs/show_bug.cgi?id=261076
Also bugs, 298830, 307164, 255535, 261674, 264275
Code review: Andrei
Changes:
- Added method to check if an _expression_ is by primary key
- Changed pagination alias to use a1, a2, etc. instead of field names
which can conflict, removed maxAliasLength
- Fixed logging type
- Removed some unnecessary getClass in registerNotRegisteredNewObjectForPersist
- Added missing properties to query copying
- Fixed cache check to check cache bypass flag
- Disable cache check in ReadObjectQuery prepare if not a primary key
_expression_
- Create primary key JPQL queries as ReadObjectQuerys
- Allow getResultList, getResultCollection if the query is a
ReadObjectQuery
- Fixed ElementCollection default mapping to use owning descriptor for
embeddables
- Fixed generics support to handle collection of a nested generic type
- Added test for ElementCollection from an Embeddable
- Added test for nested generics in Entity class and m-1, 1-m
relationship
- Added test for JPQL cache hits
- Added test for native query hints
- Exclude complex like tests unless Oracle Corporation