从数据库中获取数据

问题描述:



我需要一个示例应用程序来从db中获取数据,并且我正在使用spring 2.5以及hibernate和maven,而我的数据库是mysql,实际上我搜索了很多示例,但我无法理解.我是弹簧和冬眠的新手,所以请给我一个很好的例子,让我可以理解.

Hi,

I need a sample application to fetch data from db and i am using spring 2.5 and hibernate and maven and my database is mysql actually i searched the lot of examples but and i cant understand. I am new to springs and hibernate so please, give me some good example such that i can understand.

问Google博士和yee会发现 ^ ]
Ask Dr Google and yee shall find ...[^]