Done issues

Fix an obvious bug in StandardStack implementation
HHH-13876
Increase the scope of some methods to make them accessible outside of Hibernate ORM
HHH-13878
Slow query log should use System#nanoTime not System#currentTimeMillis
HHH-13879
Introduce an option to Log slow queries instead of all queries
HHH-13249
Remove unnecessary declaration of JtaManager in HibernatePersistenceProviderAdaptor
HHH-13855
Optional one-to-one does not always join the associated entity table when querying
HHH-13875
Gradle plugin causes compile task to be always out of date
HHH-13870
Avoid join on property access mapped by natural id
HHH-12775
Deprecate relevant methods that are supposed to be removed in v6.0
HHH-13874
Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation
HHH-13872
IdTableHelper can skip opening a connection when there's no statements to execute
HHH-13873
Allow Hibernate Types to get access to the current configuration properties using constructor injection
HHH-13103
Pass the merged Integration settings and Persistence Unit properties to buildBootstrapServiceRegistry
HHH-13853
Hibernate ignores fetchgraph
HHH-10732
Cosmetic change of format when reporting version number
HHH-13864
Introduce a module to distribute some helpers useful to compile Hibernate ORM to GraalVM native images
HHH-13863
NPE on scanning for entities in a project having module-info.class resources
HHH-13859
Fix Oracle failing tests
HHH-13858
Expose the doWork() and doReturningWork() APIs on StatelessSession as well
HHH-13861
Make sure javassist is really an optional dependency
HHH-13704
Envers tries to use relationship's entity as value for column instead of numeric identifier (cast class exception happens) for LAZY @ManyToOne
HHH-13760
HibernateProxy might need to be instantiated even with build-time enhancement
HHH-13804
Update hibernate-core/hibernate-spatial dependencies to use org.dom4j:dom4j instead of the >10 year old dom4j:dom4j
HHH-12322
Upgrade to dom4j 2.1.1
HHH-12964
Apply QueryHints.HINT_READONLY to load operations
HHH-11958
int type in Revision number
HHH-6615
Upgrade JPA MetaModel Generator (jpamodelgen) to support Gradle Incremental Compile
HHH-13390
Rework initialization of ProxyFactoryFactory to move responsibility out of PojoEntityTuplizer
HHH-13851
Clear the BytecodeProvider caches both after SessionFactory creation and stop
HHH-13850
Remove mention of Oracle and DB2 not being in MC
HHH-13767
Convert ProxyFactoryFactory and BytecodeProvider into a Service
HHH-13849
org.hibernate.flushMode property not applied
HHH-13677
Envers - modified flag column value set to null from 5.4.7 onwards
HHH-13770
Delete doesn't work when many-to-many uses non-primary key for join table
HHH-13752
Allow extension of PersistenceXmlParser
HHH-13838
fix javadoc warnings in 'hibernate-core'
HHH-13802
Various visibility changes to help prototyping of Hibernate RX
HHH-13823
Error creating hibernate_sequence in MariaDB 10.3
HHH-13472
ForeignGenerator Throws ClassCastException When Using StatelessSession
HHH-13456
Various improvements in the user guides
HHH-13809
OSGi integration tests need to be able to download dependencies from Maven Central using HTTPS
HHH-13822
Initialize the Hibernate VERSION as a real constant
HHH-13837
Correct some typos in the javadocs of hibernate-core module
HHH-13800
Extract org.hibernate.internal.SessionFactoryImpl#prepareEventListeners from SessionFactoryImpl
HHH-13726
Update to Byte Buddy 1.10.7
HHH-13821
Allow NamedQuery to set hint QueryHints.PASS_DISTINCT_THROUGH
HHH-13780
Allow extensions of StandardServiceRegistryBuilder to ignore Environment variables
HHH-13854
Incorrect String format in log
HHH-13808
CoreMessageLogger#unableToLoadCommand is not printing the cause of the error
HHH-13806
Missing from clause in query from BinaryLogicOperatorNode row value constructor translation
HHH-13796
issue 1 of 10791

Fix an obvious bug in StandardStack implementation

Description

As you can see, new node is pushed at the beginning of the linked list, so 'getPrevious()' implementation is wrong. We simply return `internalStack.get( 1 )` (current node corresponds to index of 0).
However, this method has never been used. Also, it has been fixed in v6 for its implementation has been totally changed.

Environment

None

Assignee

Nathan Xu

Reporter

Nathan Xu

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Trivial
Configure