<!-- 引入配置文件 -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:jdbc.properties" />
</bean>
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:jdbc.properties" />
</bean>
2016-12-17
driver=com.mysql.jdbc.Driver
url=jdbc:mysql://127.0.0.1:3306/seckill?characterEncoding=utf8&useSSL=true
username=root
password=root
url=jdbc:mysql://127.0.0.1:3306/seckill?characterEncoding=utf8&useSSL=true
username=root
password=root
2016-12-17
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>不能用4.3.4,会提示找不到
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>不能用4.3.4,会提示找不到
2016-12-17
private Set<SuccessKilled> successKilleds = new HashSet<SuccessKilled>();
seckill不需要设置一对多的属性吗?
seckill不需要设置一对多的属性吗?
2016-12-16
目前在慕课网最实用的项目之一,项目完整笔记已上传:https://github.com/yinxiaobai/SSM-Oracle-Redis.git,改用了Oracle数据库(含sql),没有采用Maven
2016-12-15