How to configure hibernate in standalone (Swing) application in eclipse?
问题 i usually use hibernate with spring in web applications so i use DI and maven for configuration, now i want to use hibernate in desktop/swing application that doesn't use maven or spring, and i was wondering about the following: What jars do i need ? How to configure the hibernate, and how to make a sample query ? please advise, thanks. 回答1: I don't know about Spring, so you will have to update my answer a little if you really want to use it (for instance Spring has its own mechanism for