Use with Hibernate
Change the connection info in hibernate.cfg.xml
of cn.org.osgi.hibernate bundle;
New Plug-in project,and write persistent class as
you always do,then generate persistent class hb
m file;
Implemention DAO class with cn.org.osgi.hibern
ate.service.CommonDaoService or other commo
n Hibernate DAO API;
评论0