I have long known that myeclipse provides a hql editor for hibernate, which has been used before. However, when I used it today, I suddenly couldn't remember it. I found it for half a day, in my opinion, the control mode adopted by eclispe makes the user interfaces of many tools inconsistent, resulting in the user's inhabits when using a certain control. Location of the myeclipse hql Editor: Right-click your project (assuming your project is called myhql), remember to click on the project root and choose myeclipse> open hql editer, at this time, myeclipse will check your hibernate configuration file and open the required database. I found a problem here. I don't know why I configured it. I used spring + hibernate to write the hibernate configuration file information to spring applicationcontext. xml. However, when you open hql editer, the configuration file is incorrectly displayed. This may be a bug. My configuration is certainly correct, because hibernate operations in my project are normal. I have long known that myeclipse provides a hql editor for hibernate, which has been used before. However, when I used it today, I suddenly couldn't remember it. I found it for half a day, in my opinion, the control mode adopted by eclispe makes the user interfaces of many tools inconsistent, resulting in the user's inhabits when using a certain control. Location of the myeclipse hql Editor: Right-click your project (assuming your project is called myhql), remember to click on the project root and choose myeclipse> open hql editer, at this time, myeclipse will check your hibernate configuration file and open the required database. I found a problem here. I don't know why I configured it. I used spring + hibernate to write the hibernate configuration file information to spring applicationcontext. xml. However, when you open hql editer, the configuration file is incorrectly displayed. This may be a bug. My configuration is certainly correct, because hibernate operations in my project are normal.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.