码迷,mamicode.com
首页 >  
搜索关键字:datasource    ( 1515个结果
srping配合hibernate实现POJO与数据库表映射的零配置
第一步:配置数据源 <!-- 配置数据源1 --> <bean name="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property
分类:数据库   时间:2016-03-16 07:12:20    阅读次数:349
LINQ
string [] cities={"London","Amsterdam","San Fran","a"}; GridView1.DataSource=from city in cites where city.length>4 orderby city select city.ToUpper()
分类:其他好文   时间:2016-03-15 00:31:46    阅读次数:199
Spring 事务管理
总结如下: Spring配置文件中关于事务配置总是由三个组成部分,分别是DataSource、TransactionManager和代理机制这三部分,无论哪种配置方式,一般变化的只是代理机制这部分。 DataSource、 TransactionManager这两部分只是会根据数据访问方式有所变化,
分类:编程语言   时间:2016-03-12 17:14:01    阅读次数:317
iOS回调方式
回调理解:事件发生之后去执行某段代码 1、target-action (针对UI控件的某些事件的回调,对象内) 2、辅助对象(delegate和datasource) (对象多个事件的统一管理,对象外) 3、发送通知 (一对多,对象外) 4、block (类似代理,但每一个block对应一个事件)
分类:移动开发   时间:2016-03-07 22:26:47    阅读次数:214
spring使用DataSoure注入参数时报No supported DataSource type found
平常阅读源码什么的没有目的性,所以很少去看什么源码,主要是比较绕看起来吃力,所以一般工作只是找个模版模仿一下。 以上废话,割———————————————————————————————————————————————————————————— 最近照常模仿使用了其它项目里的DataSource用法
分类:编程语言   时间:2016-03-07 22:18:28    阅读次数:286
Can't resolve reference to bean 'dataSource' in parent factory: no parent factory available
1、错误描述2016-03-05 11:19:53 WARN [org.springframework.web.context.support.XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt org.springframework.b...
分类:其他好文   时间:2016-03-05 11:50:54    阅读次数:416
简单的TableView单组数据展示/多组数据展示
1 拖入TableView到UIView中,连线DataSource 2 3 1.实现数据源方法 4 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 5 { 6 retu
分类:其他好文   时间:2016-03-05 01:36:42    阅读次数:251
Spring事务相关记录
一、注解事务的使用: <!-- 数据源 --> <bean id="dataSource" class="org.apache.tomcat.jdbc.pool.DataSource" destroy-method="close"> <property name="driverClassName"
分类:编程语言   时间:2016-03-01 12:57:09    阅读次数:207
druid参考配置
以下是一个参考的连接池配置: <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <!-- 基本属性 url、user、pass
分类:其他好文   时间:2016-02-28 07:36:21    阅读次数:160
0819-TableView
------------------ tableVeiw控件的代理(dataSource) 与delegate属性类似 只是名称不一样 self.dataSource = self;
分类:其他好文   时间:2016-02-26 22:07:30    阅读次数:209
1515条   上一页 1 ... 91 92 93 94 95 ... 152 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!