Re-add the following (really "pull up" from CommonQueryContract):
{noformat} org.hibernate.BasicQueryContract.setCacheable ( boolean p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setCacheMode ( CacheMode p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setCacheRegion ( String p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setFetchSize ( int p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setFlushMode ( FlushMode p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setReadOnly ( boolean p1 ) [abstract] : BasicQueryContract org.hibernate.BasicQueryContract.setTimeout ( int p1 ) [abstract] : BasicQueryContract {noformat}
----
Re-add:
{noformat} org.hibernate.cfg.Settings.isStrictJPAQLCompliance ( ) {noformat}
Can simply be default delegating to {{settings.getJpaCompliance().isJpaQueryComplianceEnabled()}}
----
The following were changed to implement {{AutoCloseable}} rather than {{Closeable}}. The inheritance here is a bit unexpected (imo) - {{Closeable}} extends {{AutoCloseable}}, rather than the other way around. Although it generally should not matter (generally this is intended for use in try-with-resources), its not difficult to add back the binary compat by having these extend Closeable. In addition to AutoCloseable, or instead of? Extending AutoCloseable is unnecessary, but imo bettter documenting of the intention.
{noformat} org.hibernate.ScrollableResults org.hibernate.Session org.hibernate.StatelessSession org.hibernate.engine.HibernateIterator {noformat}
----
{noformat} org.hibernate.jpa.HibernateEntityManagerFactory.getEntityManagerFactoryName ( ) [abstract] : String {noformat}
Was removed without being properly deprecated. Unfortunately its meaning and implementation are no longer relevant/meaningful. Best course of action is to: # Re-introduce the method in 5.3 # Deprecate this re-added method # Define this method as a default delegating to grab the name out of the EMF properties
----
Re-add:
{noformat} org.hibernate.metadata.ClassMetadata.getIdentifier ( Object p1, SessionImplementor p2 ) [abstract] : Serializable org.hibernate.metadata.ClassMetadata.getPropertyValuesToInsert ( Object p1, Map p2, SessionImplementor p3 ) [abstract] : Object[ ] org.hibernate.metadata.ClassMetadata.instantiate ( Serializable p1, SessionImplementor p2 ) [abstract] : Object org.hibernate.metadata.ClassMetadata.setIdentifier ( Object p1, Serializable p2, SessionImplementor p3 ) [abstract] : void {noformat}
All can be defaulted to delegate to the forms accepting {{ { SharedSessionContractImplementor}}. |
|