码迷,mamicode.com
首页 >  
搜索关键字:@Configuration    ( 5921个结果
Hibernate current_session_context_class的事务说明
官方文档的原文如下: The hibernate.current_session_context_class configuration parameter defines which org.hibernate.context.CurrentSessionContext implementation should be used. Note that for backwards com...
分类:Web程序   时间:2014-12-17 18:39:02    阅读次数:182
java openSession和getCurrentSession的比较
比较openSession和getCurrentSession这两个方法之前,我们先认识一下这两个方法。 在进行配置信息管理时,我们一般进行一下简单步骤:      Configuration cfg = new Configuration();  // 获得配置信息对象    SessionFactory sf = cfg.configure().buildSessionFa...
分类:编程语言   时间:2014-12-17 16:22:24    阅读次数:183
连接数据库通过配置文件app.config
ConfigurationManager类public static class ConfigurationManager命名空间: System.Configuration程序集: System.Configuration(在 System.Configuration.dll 中)Config.....
分类:移动开发   时间:2014-12-17 14:23:32    阅读次数:249
Configure apt-get to use a proxy (Ubuntu)
http://technoblog.org/2009/07/configure-apt-get-to-use-a-proxy-ubuntu/Open the following configuration file: /etc/apt/apt.conf.d/70debconfAnd add:Acqu...
分类:系统相关   时间:2014-12-17 10:36:39    阅读次数:206
ADO数据访问助手类SQLServeHelper.cs
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Configuration;using System.Data.SqlClient;using System.D...
分类:数据库   时间:2014-12-16 18:44:13    阅读次数:201
config 数据库字符串的读取、修改
config数据库字符串:     读取字符串(2种方法): (1)添加System.Web引用   string connctionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["connectionString"].ToString(); (2)添...
分类:数据库   时间:2014-12-16 11:49:55    阅读次数:167
hadoop(五) - 分布式计算利器MapReduce加强
一. Partitioner是partitioner的基类,如果需要定制partitioner也需要继承该类。 public class DataCount { public static void main(String[] args) throws Exception { Configuration conf = new Configuration(); Job job =...
分类:其他好文   时间:2014-12-15 23:43:24    阅读次数:447
SAS Config文件 处理流程
Processing Options Specified by Additional CONFIG OptionsYou can also specify additional –CONFIG options within any configuration file. When SAS encou...
分类:其他好文   时间:2014-12-15 21:39:02    阅读次数:238
SymmetricDS文档翻译--【Chapter 3. 详细配置(Configuration)[section D]】
1.6.     Conflicts 3.7.1. Conflict Detection andResolution 冲突的检测和解决是SymmetricDS 3.0的新特性。冲突检测是决定是否插入,更新或者删除的策略。冲突是因为目标数据与在源节点先前插入、更新或删除的数据不一致。解决冲突就是当检测到冲突时决定做什么。 冲突检测和解决策略配置在CONFLICT表中。至少为一个NODE_GRO...
分类:其他好文   时间:2014-12-15 12:10:31    阅读次数:183
Hibernate SessionFactory的创建和session的获取
1,当我们调用Configuration config=new Configuration().configure();时候Hibernate会自动在当前的CLASSPATH中搜寻hibernate.cfg.xml文件并将其读取到内存作为后继操作的基础配置。我们也可以指定配置文件名,如果不希望使用默...
分类:Web程序   时间:2014-12-15 11:53:17    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!