Skip to content

将sessionfactory的构建从构造方法转到static块中#1

Open
gsh199449 wants to merge 1 commit intossjcoding:masterfrom
gsh199449:master
Open

将sessionfactory的构建从构造方法转到static块中#1
gsh199449 wants to merge 1 commit intossjcoding:masterfrom
gsh199449:master

Conversation

@gsh199449
Copy link

将sessionfactory的构建从构造方法转到static块中,在初始化是即加载sessionfactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant