mybatis
呼啦啦圈
这个作者很懒,什么都没留下…
展开
-
spring开发中,测试sql
@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:applicationContext-native-test.xml" }) @Slf4j public class ProductCfgDaoTest { @Autowired private Produ...原创 2020-03-23 10:46:58 · 439 阅读 · 0 评论 -
Mybatis基础,mybatis核心配置文件properties元素
peroperties元素可外部配置且可动态替换的,既可以在典型的 Java 属性文件中配置,亦可通过 properties 元素的子元素来传递为dataSource元素配置<properties> 2 <property name="driver" value="com.mysql.jdbc.Driver" /> 3 <property name="url" value="jdbc转载 2017-07-06 16:37:32 · 667 阅读 · 0 评论