We're updating the issue view to help you get more done. 

Getting warning log for setting session factory multiple times

Description

I am getting the following warning log with hibernate 5.3.0

```
Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@22713d3d after already scoped org.hibernate.internal.SessionFactoryImpl@22713d3d
```

I have been looking at `TypeConfiguration.java.scope:145` and it seems like the scope is setting `SessionFactoryImpl` twice.

```
scope.setSessionFactory( sessionFactory ); // line 147
scope.setSessionFactory( sessionFactory ); // line 158
```

I am wondering
1) the intention behind setting this value twice
2) if it is ok to ignore this warning message

Let me know if there is any additional information required

Environment

None

Status

Assignee

Unassigned

Reporter

guins_j

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

5.3.0.Final

Priority

Trivial