11 2012 档案
摘要:SSH整合一、导包Hibernate里面的包:(1)hibernate核心包(2)Required里面的包(3)Jpa里面的包(4)Bytecode——cglib里面的包Sl4j里面的:slf4j-1.5.8——slf4j-nop-1.5.8.jar数据库的连接包:mysql-connector-java-5.0.4-bin.jarSpring里面的包:(1)dist里面所有的包(2)依赖包reqlib——commons-logging.jar(3)Aop里面所有的包(4)连接池jdbc的包reqlib——commons-dbcp.jar和Reqlib——commons-pool...
阅读全文
摘要:Hibernate_01一、要导的包:1、核心包2、Required里面的全部3、Bytecode—>cglib....4、Slf4j—nop—1.5.8.jar二、copy配置文件:hibernate.cfg.xml放入src下project—>etc—>hibernate.cfg.xml并将其改成如下:<hibernate-configuration><session-factory><propertyname="current_session_context_class">thread</property&g
阅读全文
浙公网安备 33010602011771号