自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

We get old too soon and wise too late

■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

  • 博客(30)
  • 资源 (68)
  • 收藏
  • 关注

原创 教程:Linux下安装JDK.

Step_01_: 根据自己的机器版本下载相应,Linux版本的JDK. e.g.jdk-7u79-linux-x64.tar.gz Step_02_: 将JDK放到指定的位置下. e.g.:/home/mike/mike_software Step_03_: 解压文件. 输入指令:tar -zxvf jdk-7u79-linux-x64.tar.gz 解压后查看: Step_04_:

2017-03-31 19:54:23 451

原创 教程:在SUSE Linux Enterprise Server 11中安装 : lrzsz

About:主机操作系统 : Windows 7 Ultimate, 64-bit 6.1.7601, Service Pack 1.Linux发行版本 : SUSE Linux Enterprise Server 11 (x86_64).虚拟机 : VMware® Workstation 12 Pro.连接工具 : Xshell 5 (Build 0964).Steps:Step_01_

2017-03-31 15:56:53 1123

原创 CSDN-Step_00_Demo

高亮_行分隔Step_01_:-------------------Step_02_:-------------------Step_03_:-------------------Step_04_:-------------------Step_05_:-------------------Step_06_:-------------------Step_07_:

2017-03-31 11:15:10 523

原创 Linux虚拟机联网+Xshell连虚拟机教程(以SUSE为例)

Linux虚拟机联网+Xshell连虚拟机教程(以SUSE为例)Ref:http://download.csdn.net/detail/love_legain/9799718Step_01_:设置虚拟机连接方式:Host-only.Step_02_:更改网络与共享中心的适配器设置.Step_03_:设置本地连接的网络共享.Step_04_:配置VMnet1的IP地址与DNS.Step_05_:配置V

2017-03-30 19:57:36 1642

原创 Avoiding "resource is out of sync with the filesystem".

Avoiding “resource is out of sync with the filesystem”.Ref:http://stackoverflow.com/questions/4343735/avoiding-resource-is-out-of-sync-with-the-filesystemYou can enable this in Window - Preferences - G

2017-03-30 16:57:05 560

原创 TortoiseSVN文件夹没有绿色对号(√)的解决方案.

TortoiseSVN文件夹没有绿色对号(√)的解决方案.Ref : https://zhidao.baidu.com/question/288632286.htmlWindows Explorer Shell 支持 Overlay Icon 最多15个,Windows自身已经使用了4个,所以就只剩下了11个供我们使用。如果你之前安装了例如Groove这样的软件,那么可能我们可利用的就更少了,轮不到

2017-03-30 16:52:09 17944 3

原创 常用的正则表达式(Email地址,网址,IP地址...)

利用正则表达式校验: 中文字符/双字节字符/空白行/Email地址/网址URL/手机(国内)/电话号码(国内)/负浮点数/匹配整数/正浮点数/腾讯QQ号/邮政编码/IP/身份证号/格式日期/正整数/负整数/用户名Ref : http://tools.jb51.net/regex/create_reg 要求匹配 正则表达式格式 中文字符 [\u4e00-\u9fa5] 双字节字符

2017-03-30 16:09:41 1694

原创 匹配任意字符(包括中英文及中英文标点)的正则表达式

匹配任意字符(包括中英文及任意标点)的正则表达式Regex : \\w*|\\W*|[\\u4e00-\\u9fa5]这个表达式匹配一个任意中英文字符.其中: \w : A word character: [a-zA-Z_0-9](匹配一个单词字符);其中: \W : A non-word character: [^\w](匹配一个非单词字符);其中: [\\u4e00-\\u9fa5] :

2017-03-30 15:48:31 24580 1

原创 DB2 SQLCODE 大全/DB2错误信息码对应的解释

DB2 SQLCODE 大全/DB2错误信息码对应的解释Ref(参考文档免积分下载):http://download.csdn.net/detail/love_legain/9798397 Ref(源码免积分下载):http://download.csdn.net/detail/love_legain/9798875DB2错误信息码对应的解释 -###- SQLCODE SQLSTAT

2017-03-30 09:19:24 16053

原创 java.lang.IllegalStateException: Web app root system property already set to different value...

java.lang.IllegalStateException: Web app root system property already set to different value: ‘webapp.root’ = [xxx]Ref:http://stackoverflow.com/questions/5014651/webapproot-in-springErrors:SEVERE: Exce

2017-03-27 13:35:44 1067

原创 Document base does not exist or is not a readable directory

Eclipse tomcat error: Document base does not exist or is not a readable directoryRef:http://stackoverflow.com/questions/8492454/eclipse-tomcat-error-document-base-does-not-exist-or-is-not-a-readable-di

2017-03-27 13:26:39 1179

原创 STRUTS 2-EXAMPLES:Hello World Struts2 project.

STRUTS 2-EXAMPLES:Hello World Struts2 project.Ref(document):http://download.csdn.net/detail/love_legain/9789800 Ref(source code):http://download.csdn.net/detail/love_legain/97898971__.Create a Dynamic

2017-03-22 15:23:30 561

原创 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcherRef:http://stackoverflow.com/questions/5814036/java-lang-classnotfoundexception-org-apache-struts2-dispatcher-filterdispa

2017-03-22 14:27:46 1490

原创 Difference between JSP forward and redirect.

Difference between JSP forward and redirect.Ref:http://stackoverflow.com/questions/6068891/difference-between-jsp-forward-and-redirectExplanation_01:redirect sets the response status to 302 [1], and t

2017-03-22 10:55:35 934

原创 Greedy vs. Reluctant vs. Possessive Quantifiers

Greedy vs. Reluctant vs. Possessive QuantifiersRef_01:http://stackoverflow.com/questions/5319840/greedy-vs-reluctant-vs-possessive-quantifiers Ref_02:http://docs.oracle.com/javase/tutorial/essential/r

2017-03-18 16:04:20 828

原创 MimeMessage Object Hierarchy

MimeMessage Object Hierarchy

2017-03-17 10:13:11 680

原创 Part and Multipart Class Diagram

Relationships between Part interfaces and Message classes.

2017-03-17 10:07:15 584

原创 What Is a X-Mailer Header?

What Is a X-Mailer Header?When you receive an email, the header at the top of the message includes multiple pieces of data about the email. In addition to telling you who sent the email, when the email

2017-03-17 08:47:23 1318

原创 Example: Showing a Message in JavaMail

Example: Showing a Messageimport java.util.*;import java.io.*;import javax.mail.*;import javax.mail.event.*;import javax.mail.internet.*;/* * Demo app that exercises the Message interfaces. * Sho

2017-03-16 17:02:24 399

原创 Environment Properties in JavaMail

Environment PropertiesThis section lists some of the environment properties that are used by the JavaMail APIs. The JavaMail javadocs contain additional information on properties supported by JavaMail.

2017-03-16 16:30:58 416

原创 Internet Mail in JavaMail

Internet MailThe JavaMail specification does not define any implementation. However, the API does include a set of classes that implement Internet Mail standards. Although not part of the specification

2017-03-16 15:52:39 631

原创 Transport Protocols and Mechanisms in JavaMail

Transport Protocols and MechanismsThe Transport abstract class defines the message submission and transport protocol. Subclasses of the Transport class implement SMTP and other transport protocols.Obta

2017-03-16 14:27:27 387

原创 Java中的final关键字

The “final” keyword in JavaTime to explore the “final” keyword.When you use the keyword “final” with a variable declaration, the value stored inside that variable cannot be changed come what may!!So su

2017-03-16 11:45:19 329

原创 Java中String和StringBuffer/StringBuilder的区别

Difference between String and StringBuffer/StringBuilder in JavaWell, the most important difference between String and StringBuffer/StringBuilder in java is that String object is immutable whereas Stri

2017-03-16 11:35:18 559

原创 MIME邮件的组织结构

MIME邮件的组织结构public class MIMEDemo { public static void main(String[] args) throws Exception { Session session = Session.getInstance(new Properties()); MimeMessage msg = new MimeMessa

2017-03-16 09:48:58 939

原创 JavaMail的语法格式(以获取一个邮件为例)

This section defines the syntax and lists the order in which a client application calls some JavaMail methods in order to access and open a message located in a folder:1.A JavaMail client typically beg

2017-03-15 18:07:05 832

原创 All 103 Shortcuts for Eclipse

All 103 Shortcuts for EclipseREF:https://shortcutworld.com/en/Eclipse/win/allManage Files and ProjectsEditor WindowNavigate in EditorSelect TextEdit TextSearch and ReplaceIndentions and CommentsEditing

2017-03-14 17:16:05 545

原创 典型的交响乐乐队包括哪些乐器

The typical symphony orchestra consists of four groups of related musical instruments called the woodwinds, brass, percussion, and strings (violin, viola, cello and double bass).典型的交响乐乐队包括四组乐器:弦乐队、木管乐队

2017-03-05 00:22:34 8165

原创 Why do you read so much?

“Well, my brother has his sword, and I have my mind. And a mind needs books like a sword needs a whetstone. That’s why I read so much, Jon Snow.”Jon Snow : Why do you read so much? 你读那么多书干嘛? Tyrion L

2017-03-04 17:47:38 1064

原创 <context:annotation-config>与<context:component-scan>的区别

<context:annotation-config>与<context:component-scan>的区别声明:本文转自stackoverflow;讲解十分详细,十分精彩,特此分享到CSDN;有时间的话,我会翻译一下,BUT,NOT TODAY; Ref:Difference between <context:annotation-config> vs <context:component-s

2017-03-02 12:00:43 778

UE(ultraedit)本地帮助文档.chm

UE(ultraedit)本地帮助文档.chm

2017-04-23

Linux学习PDF文档下载.rar

Linux学习PDF文档下载.rar

2017-04-19

linux学习chm文档下载.rar

linux学习chm文档下载.rar

2017-04-19

mybatis-3.2.7.pdf

mybatis-3.2.7.pdf

2017-04-16

mybatis-generator-demo.zip

mybatis-generator-demo.zip 自动代码生成 ; ;

2017-04-14

DB2错误码集+源码

博客原文对应的资料; 原文地址:http://blog.csdn.net/Love_Legain/article/details/68483021 主要内容:DB2 SQLCODE 大全/DB2错误信息码对应的解释

2017-03-30

DB2 SQLCODE 大全.pdf

DB2 SQLCODE 大全/DB2错误信息码对应的解释

2017-03-30

HelloWorldStruts2.rar

博客对应的源码文件: 原文博客:http://blog.csdn.net/love_legain/article/details/64919909

2017-03-22

JavaMail API 1.5

JavaMailTM API Design Specification Version 1.5 Oracle America, Inc. 500 Oracle Parkway Redwood City, California 94065, U.S.A.

2017-03-16

阿里巴巴java开发手册(最新版pdf)

阿里巴巴java开发手册(最新版pdf),文字版,可编辑;960k大小;

2017-02-11

Hibernate基础知识演示代码

Hibernate基础知识演示代码

2017-01-25

eclipse的jad反编译插件(jad-decompiler-pl内含教程ugin)

eclipse的jad反编译插件(内含详细教程) 1:下面的操作可能因为版本的问题导致不一致:据说可以支持MyEclipse10.X,9.X,8.X,6.X(我测试过10.7) 2:在文件夹{MYECLIPSE_HOME}(MyEclipse安装目录)\MyEclipse 10\dropins下建立一个文件夹jad,可能myeclipse的版本不一样,路径会有所区别。 在新建的jad文件夹中新建两个文件夹:plugins;features;然后将下载来的jar放入到plugins文件夹中 3:在主程序解压出来得到jad.exe文件,为了方便将他放到jdk的bin目录下,如果放到别的地方需要进行在环境变量里设置路径。 4:启动myelipse,Window->Preferences->Java->JadClipse,进行设置,Path to decomplier项填写你的jad.exe路径,下面那个默认就可以. path to decompile:如C:\Program Files\Java\jdk1.6.0_02\bin\jad.exe(此处不仅仅是路径还包括执行文件) 5:Window->Preferences->General->Editors->File Associations,将.class文件默认成通过JadClipse Class File Viewer打开

2017-01-23

HibernateDemo(hibernate基本用法演示)

hibernate基本用法演示---源码; 配套博客教程:参见我的文章---Hibernate-Usage(basis)(hibernate基本用法)

2017-01-23

hibernate.properties

hibernate.properties # # Hibernate, Relational Persistence for Idiomatic Java # # License: GNU Lesser General Public License (LGPL), version 2.1 or later. # See the lgpl.txt file in the root directory or . # ###################### ### Query Language ### ###################### ## define query language constants / function names hibernate.query.substitutions yes 'Y', no 'N' ## select the classic query parser #hibernate.query.factory_class org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory ################# ### Platforms ### ################# ## JNDI Datasource #hibernate.connection.datasource jdbc/test #hibernate.connection.username db2 #hibernate.connection.password db2 ## HypersonicSQL hibernate.dialect org.hibernate.dialect.HSQLDialect hibernate.connection.driver_class org.hsqldb.jdbcDriver hibernate.connection.username sa hibernate.connection.password hibernate.connection.url jdbc:hsqldb:./build/db/hsqldb/hibernate #hibernate.connection.url jdbc:hsqldb:hsql://localhost #hibernate.connection.url jdbc:hsqldb:test ## H2 (www.h2database.com) #hibernate.dialect org.hibernate.dialect.H2Dialect #hibernate.connection.driver_class org.h2.Driver #hibernate.connection.username sa #hibernate.connection.password #hibernate.connection.url jdbc:h2:mem:./build/db/h2/hibernate #hibernate.connection.url jdbc:h2:testdb/h2test #hibernate.connection.url jdbc:h2:mem:imdb1 #hibernate.connection.url jdbc:h2:tcp://dbserv:8084/sample; #hibernate.connection.url jdbc:h2:ssl://secureserv:8085/sample; #hibernate.connection.url jdbc:h2:ssl://secureserv/testdb;cipher=AES ## MySQL #hibernate.dialect org.hibernate.dialect.MySQLDialect #hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect #hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect #hibernate.connection.driver_class com.mysql.jdbc.Driver #hibernate.connection.url jdbc:mysql:///test #hibernate.connection.username gavin #hibernate.connection.password ## Oracle #hibernate.dialect org.hibernate.dialect.Oracle8iDialect #hibernate.dialect org.hibernate.dialect.Oracle9iDialect #hibernate.dialect org.hibernate.dialect.Oracle10gDialect #hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver #hibernate.connection.username ora #hibernate.connection.password ora #hibernate.connection.url jdbc:oracle:thin:@localhost:1521:orcl #hibernate.connection.url jdbc:oracle:thin:@localhost:1522:XE ## PostgreSQL #hibernate.dialect org.hibernate.dialect.PostgreSQLDialect #hibernate.connection.driver_class org.postgresql.Driver #hibernate.connection.url jdbc:postgresql:template1 #hibernate.connection.username pg #hibernate.connection.password ## DB2 #hibernate.dialect org.hibernate.dialect.DB2Dialect #hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver #hibernate.connection.url jdbc:db2://localhost:50000/somename #hibernate.connection.url jdbc:db2:somename #hibernate.connection.username db2 #hibernate.connection.password db2 ## TimesTen #hibernate.dialect org.hibernate.dialect.TimesTenDialect #hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver #hibernate.connection.url jdbc:timesten:direct:test #hibernate.connection.username #hibernate.connection.password ## DB2/400 #hibernate.dialect org.hibernate.dialect.DB2400Dialect #hibernate.connection.username user #hibernate.connection.password password ## Native driver #hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver #hibernate.connection.url jdbc:db2://systemname ## Toolbox driver #hibernate.connection.driver_class com.ibm.as400.access.AS400JDBCDriver #hibernate.connection.url jdbc:as400://systemname ## Derby (not supported!) #hibernate.dialect org.hibernate.dialect.DerbyDialect #hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver #hibernate.connection.username #hibernate.connection.password #hibernate.connection.url jdbc:derby:build/db/derby/hibernate;create=true ## Sybase #hibernate.dialect org.hibernate.dialect.SybaseDialect #hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver #hibernate.connection.username sa #hibernate.connection.password sasasa #hibernate.connection.url jdbc:sybase:Tds:co3061835-a:5000/tempdb ## Mckoi SQL #hibernate.dialect org.hibernate.dialect.MckoiDialect #hibernate.connection.driver_class com.mckoi.JDBCDriver #hibernate.connection.url jdbc:mckoi:/// #hibernate.connection.url jdbc:mckoi:local://C:/mckoi1.0.3/db.conf #hibernate.connection.username admin #hibernate.connection.password nimda ## SAP DB #hibernate.dialect org.hibernate.dialect.SAPDBDialect #hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB #hibernate.connection.url jdbc:sapdb://localhost/TST #hibernate.connection.username TEST #hibernate.connection.password TEST #hibernate.query.substitutions yes 'Y', no 'N' ## MS SQL Server #hibernate.dialect org.hibernate.dialect.SQLServerDialect #hibernate.connection.username sa #hibernate.connection.password sa ## JSQL Driver #hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver #hibernate.connection.url jdbc:JSQLConnect://1E1/test ## JTURBO Driver #hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver #hibernate.connection.url jdbc:JTurbo://1E1:1433/test ## WebLogic Driver #hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver #hibernate.connection.url jdbc:weblogic:mssqlserver4:1E1:1433 ## Microsoft Driver (not recommended!) #hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver #hibernate.connection.url jdbc:microsoft:sqlserver://1E1;DatabaseName=test;SelectMethod=cursor ## The New Microsoft Driver #hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver #hibernate.connection.url jdbc:sqlserver://localhost ## jTDS (since version 0.9) #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver #hibernate.connection.url jdbc:jtds:sqlserver://1E1/test ## Interbase #hibernate.dialect org.hibernate.dialect.InterbaseDialect #hibernate.connection.username sysdba #hibernate.connection.password masterkey ## DO NOT specify hibernate.connection.sqlDialect ## InterClient #hibernate.connection.driver_class interbase.interclient.Driver #hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb ## Pure Java #hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver #hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb ## Pointbase #hibernate.dialect org.hibernate.dialect.PointbaseDialect #hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver #hibernate.connection.url jdbc:pointbase:embedded:sample #hibernate.connection.username PBPUBLIC #hibernate.connection.password PBPUBLIC ## Ingres ## older versions (before Ingress 2006) #hibernate.dialect org.hibernate.dialect.IngresDialect #hibernate.connection.driver_class ca.edbc.jdbc.EdbcDriver #hibernate.connection.url jdbc:edbc://localhost:II7/database #hibernate.connection.username user #hibernate.connection.password password ## Ingres 2006 or later #hibernate.dialect org.hibernate.dialect.IngresDialect #hibernate.connection.driver_class com.ingres.jdbc.IngresDriver #hibernate.connection.url jdbc:ingres://localhost:II7/database;CURSOR=READONLY;auto=multi #hibernate.connection.username user #hibernate.connection.password password ## Mimer SQL #hibernate.dialect org.hibernate.dialect.MimerSQLDialect #hibernate.connection.driver_class com.mimer.jdbc.Driver #hibernate.connection.url jdbc:mimer:multi1 #hibernate.connection.username hibernate #hibernate.connection.password hibernate ## InterSystems Cache #hibernate.dialect org.hibernate.dialect.Cache71Dialect #hibernate.connection.driver_class com.intersys.jdbc.CacheDriver #hibernate.connection.username _SYSTEM #hibernate.connection.password SYS #hibernate.connection.url jdbc:Cache://127.0.0.1:1972/HIBERNATE ################################# ### Hibernate Connection Pool ### ################################# hibernate.connection.pool_size 1 ########################### ### C3P0 Connection Pool### ########################### #hibernate.c3p0.max_size 2 #hibernate.c3p0.min_size 2 #hibernate.c3p0.timeout 5000 #hibernate.c3p0.max_statements 100 #hibernate.c3p0.idle_test_period 3000 #hibernate.c3p0.acquire_increment 2 #hibernate.c3p0.validate false ############################## ### Proxool Connection Pool### ############################## ## Properties for external configuration of Proxool hibernate.proxool.pool_alias pool1 ## Only need one of the following #hibernate.proxool.existing_pool true #hibernate.proxool.xml proxool.xml #hibernate.proxool.properties proxool.properties ################################# ### Plugin ConnectionProvider ### ################################# ## use a custom ConnectionProvider (if not set, Hibernate will choose a built-in ConnectionProvider using hueristics) #hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider #hibernate.connection.provider_class org.hibernate.connection.DatasourceConnectionProvider #hibernate.connection.provider_class org.hibernate.connection.C3P0ConnectionProvider #hibernate.connection.provider_class org.hibernate.connection.ProxoolConnectionProvider ####################### ### Transaction API ### ####################### ## Enable automatic flush during the JTA beforeCompletion() callback ## (This setting is relevant with or without the Transaction API) #hibernate.transaction.flush_before_completion ## Enable automatic session close at the end of transaction ## (This setting is relevant with or without the Transaction API) #hibernate.transaction.auto_close_session ## the Transaction API abstracts application code from the underlying JTA or JDBC transactions #hibernate.transaction.factory_class org.hibernate.transaction.JTATransactionFactory #hibernate.transaction.factory_class org.hibernate.transaction.JDBCTransactionFactory ## to use JTATransactionFactory, Hibernate must be able to locate the UserTransaction in JNDI ## default is java:comp/UserTransaction ## you do NOT need this setting if you specify hibernate.transaction.manager_lookup_class #jta.UserTransaction jta/usertransaction #jta.UserTransaction javax.transaction.UserTransaction #jta.UserTransaction UserTransaction ## to use the second-level cache with JTA, Hibernate must be able to obtain the JTA TransactionManager #hibernate.transaction.manager_lookup_class org.hibernate.transaction.JBossTransactionManagerLookup #hibernate.transaction.manager_lookup_class org.hibernate.transaction.WeblogicTransactionManagerLookup #hibernate.transaction.manager_lookup_class org.hibernate.transaction.WebSphereTransactionManagerLookup #hibernate.transaction.manager_lookup_class org.hibernate.transaction.OrionTransactionManagerLookup #hibernate.transaction.manager_lookup_class org.hibernate.transaction.ResinTransactionManagerLookup ############################## ### Miscellaneous Settings ### ############################## ## print all generated SQL to the console #hibernate.show_sql true ## format SQL in log and console hibernate.format_sql true ## add comments to the generated SQL #hibernate.use_sql_comments true ## generate statistics #hibernate.generate_statistics true ## auto schema export #hibernate.hbm2ddl.auto create-drop #hibernate.hbm2ddl.auto create #hibernate.hbm2ddl.auto update #hibernate.hbm2ddl.auto validate ## specify a default schema and catalog for unqualified tablenames #hibernate.default_schema test #hibernate.default_catalog test ## enable ordering of SQL UPDATEs by primary key #hibernate.order_updates true ## set the maximum depth of the outer join fetch tree hibernate.max_fetch_depth 1 ## set the default batch size for batch fetching #hibernate.default_batch_fetch_size 8 ## rollback generated identifier values of deleted entities to default values #hibernate.use_identifier_rollback true ## enable bytecode reflection optimizer (disabled by default) #hibernate.bytecode.use_reflection_optimizer true ##################### ### JDBC Settings ### ##################### ## specify a JDBC isolation level #hibernate.connection.isolation 4 ## enable JDBC autocommit (not recommended!) #hibernate.connection.autocommit true ## set the JDBC fetch size #hibernate.jdbc.fetch_size 25 ## set the maximum JDBC 2 batch size (a nonzero value enables batching) #hibernate.jdbc.batch_size 5 #hibernate.jdbc.batch_size 0 ## enable batch updates even for versioned data hibernate.jdbc.batch_versioned_data true ## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default) #hibernate.jdbc.use_scrollable_resultset true ## use streams when writing binary types to / from JDBC hibernate.jdbc.use_streams_for_binary true ## use JDBC 3 PreparedStatement.getGeneratedKeys() to get the identifier of an inserted row #hibernate.jdbc.use_get_generated_keys false ## choose a custom JDBC batcher # hibernate.jdbc.factory_class ## enable JDBC result set column alias caching ## (minor performance enhancement for broken JDBC drivers) # hibernate.jdbc.wrap_result_sets ## choose a custom SQL exception converter #hibernate.jdbc.sql_exception_converter ########################## ### Second-level Cache ### ########################## ## optimize cache for minimal "puts" instead of minimal "gets" (good for clustered cache) #hibernate.cache.use_minimal_puts true ## set a prefix for cache region names hibernate.cache.region_prefix hibernate.test ## disable the second-level cache #hibernate.cache.use_second_level_cache false ## enable the query cache #hibernate.cache.use_query_cache true ## store the second-level cache entries in a more human-friendly format #hibernate.cache.use_structured_entries true ## choose a cache implementation #hibernate.cache.region.factory_class org.hibernate.cache.infinispan.InfinispanRegionFactory #hibernate.cache.region.factory_class org.hibernate.cache.infinispan.JndiInfinispanRegionFactory #hibernate.cache.region.factory_class org.hibernate.cache.internal.EhCacheRegionFactory #hibernate.cache.region.factory_class org.hibernate.cache.internal.SingletonEhCacheRegionFactory hibernate.cache.region.factory_class org.hibernate.cache.internal.NoCachingRegionFactory ## choose a custom query cache implementation #hibernate.cache.query_cache_factory ############ ### JNDI ### ############ ## specify a JNDI name for the SessionFactory #hibernate.session_factory_name hibernate/session_factory ## Hibernate uses JNDI to bind a name to a SessionFactory and to look up the JTA UserTransaction; ## if hibernate.jndi.* are not specified, Hibernate will use the default InitialContext() which ## is the best approach in an application server #file system #hibernate.jndi.class com.sun.jndi.fscontext.RefFSContextFactory #hibernate.jndi.url file:/ #WebSphere #hibernate.jndi.class com.ibm.websphere.naming.WsnInitialContextFactory #hibernate.jndi.url iiop://localhost:900/

2017-01-23

hibernate-dtd-xsd约束文件

hibernate的xsd和dtd约束文件合集;

2017-01-23

hibernate.properties.template

所有数据库连接驱动配置模板 hibernate.connection.driver_class com.mysql.jdbc.Driver hibernate.connection.url jdbc:mysql:///test hibernate.connection.username username hibernate.connection.password password

2017-01-23

mybatis-generator 源码

mybatis-generator 源码测试

2017-01-23

Integration_2.rar(mybatis generator测试源码)

Integration_2.rar(mybatis generator测试源码)

2017-01-23

鸟哥的Linux私房菜

《鸟哥的Linux私房菜:基础学习篇》是最具知名度的Linux入门书《鸟哥的Linux私房菜基础学习篇》的最新版,全面而详细地介绍了Linux操作系统。全书分为5个部分:第一部分着重说明Linux的起源及功能,如何规划和安装Linux主机;第二部分介绍Linux的文件系统、文件、目录与磁盘的管理;第三部分介绍文字模式接口shell和管理系统的好帮手shell脚本,另外还介绍了文字编辑器vi和vim的使用方法;第四部分介绍了对于系统安全非常重要的Linux账号的管理,以及主机系统与程序的管理,如查看进程、任务分配和作业管理;第五部分介绍了系统管理员(root)的管理事项,如了解系统运行状况、系统服务,针对登录文件进行解析,对系统进行备份以及核心的管理等。 本书内容丰富全面,基本概念的讲解非常细致,深入浅出。各种功能和命令的介绍,都配以大量的实例操作和详尽的解析。本书是初学者学习Linux不可多得的一本入门好书。

2017-01-22

UNIX环境高级编程中文版

UNIX环境高级编程中文版 作者: W.Richard Stevens Stephen A.Rago / Stephen A. Rago 出版社: 人民邮电出版社 原作名: Advanced Programming in the UNIX Environment 出版年: 2006-2 页数: 927 定价: 99.00元 装帧: 平装 本书是被誉为UNIX编程“圣经”的Advanced Programming in the UNIX Environment一书的更新版。在本书第一版出版后的十几年中,UNIX行业已经有了巨大的变化,特别是影响UNIX编程接口的有关标准变化很大。本书在保持了前一版的风格的基础上,根据最新的标准对内容进行了修订和增补,反映了最新的技术发展。书中除了介绍UNIX文件和目录、标准I/O库、系统数据文件和信息、进程环境、进程控制、进程关系、信号、线程、线程控制、守护进程、各种I/O、进程间通信、网络IPC、伪终端等方面的内容,还在此基础上介绍了多个应用示例,包括如何创建数据库函数库以及如何与网络打印机通信等。此外还在附录中给出了函数原型和部分习题的答案。 本书内容权威,概念清晰,阐述精辟,对于所有层次UNIX程序员都是一本不可或缺的参考书。 W.Richard Stevens备受赞誉的已帮技术作家,生前著有多种经典的传世之作,包括《UNIX网络编程》(两卷本)、《TCP/IP详解》(三卷本)和本书第1版。 Stephen A.Rago资源UNIX程序员,是当年贝尔实验室的UNIX系统V版本4的开发人员之一,著有《UNIX系统V网络编程》,并曾担任本书第1版的技术审校。他目前是ENC管理人员,专门从事文件服务器和文件系统方向的研究。

2017-01-22

UNIX环境高级编程(第3版)中文版(超清晰pdf)

UNIX环境高级编程(第3版)中文版(超清晰pdf) 《UNIX环境高级编程》是2006年由人民邮电出版社出版的图书,作者是(美)理查德·史蒂文斯、(美)拉戈,译者是张亚英、戚正伟。 本书是被誉为UNIX编程“圣经”的Advanced Programming in the UNIX Environment一书的更新版。在本书第1版出版后的十几年中,UNIX行业已经有了巨大的变化,特别是影响UNIX编程接口的有关标准变化很大。本书在保持了前一版的风格的基础上,根据最新的标准对内容进行了修订和增补,反映了最新的技术发展。书中除了介绍UNIX文件和目录、标准I/O库、系统数据文件和信息、进程环境、进程控制、进程关系、信号、线程、线程控制、守护进程、各种I/O、进程间通信、网络IPC、伪终端等方面的内容,还在此基础上介绍了多个应用示例,包括如何创建数据库函数库以及如何与网络打印机通信等。此外,还在附录中给出了函数原型和部分习题的答案。

2017-01-22

linux bible, 9th edition(超清晰英文原版pdf)

Linux Bible, 9th Edition is the ultimate hands-on Linux user guide, whether you're a true beginner or a more advanced user navigating recent changes. This updated ninth edition covers the latest versions of Red Hat Enterprise Linux 7 (RHEL 7), Fedora 21, and Ubuntu 14.04 LTS, and includes new information on cloud computing and development with guidance on Openstack and Cloudforms. With a focus on RHEL 7, this practical guide gets you up to speed quickly on the new enhancements for enterprise-quality file systems, the new boot process and services management, firewalld, and the GNOME 3 desktop. Written by a Red Hat expert, this book provides the clear explanations and step-by-step instructions that demystify Linux and bring the new features seamlessly into your workflow.

2017-01-22

《鸟哥的Linux私房菜-基础篇》第四版(超清晰pdf)

《鸟哥的Linux私房菜-基础篇》第四版(超清晰pdf) 《鸟哥的Linux私房菜:基础学习篇》是最具知名度的Linux入门书《鸟哥的Linux私房菜基础学习篇》的最新版,全面而详细地介绍了Linux操作系统。全书分为5个部分:第一部分着重说明Linux的起源及功能,如何规划和安装Linux主机;第二部分介绍Linux的文件系统、文件、目录与磁盘的管理;第三部分介绍文字模式接口shell和管理系统的好帮手shell脚本,另外还介绍了文字编辑器vi和vim的使用方法;第四部分介绍了对于系统安全非常重要的Linux账号的管理,以及主机系统与程序的管理,如查看进程、任务分配和作业管理;第五部分介绍了系统管理员(root)的管理事项,如了解系统运行状况、系统服务,针对登录文件进行解析,对系统进行备份以及核心的管理等。 本书内容丰富全面,基本概念的讲解非常细致,深入浅出。各种功能和命令的介绍,都配以大量的实例操作和详尽的解析。本书是初学者学习Linux不可多得的一本入门好书。

2017-01-22

思考,快与慢(超清晰pdf)

在本书中,卡尼曼会带领我们体验一次思维的终极之旅。他认为,我们的大脑有快与慢两种作决定的方式。常用的无意识的“系统1”依赖情感、记忆和经验迅速作出判断,它见闻广博,使我们能够迅速对眼前的情况作出反应。但系统1也很容易上当,它固守“眼见即为事实”的原则,任由损失厌恶和乐观偏见之类的错觉引导我们作出错误的选择。有意识的“系统2”通过调动注意力来分析和解决问题,并作出决定,它比较慢,不容易出错,但它很懒惰,经常走捷径,直接采纳系统1的直觉型判断结果。 本书共分为五部分,第一部分讲述的是通过双系统进行判断与做出决策的基本原理。这部分内容详细说明了系统1的无意识运作和系统2受控制运作的区别,并且说明了系统1的核心,即联想记忆是如何不断对世界上所发生的事作出连贯的解释的。关于直觉性思考的自主且无意识过程的复杂性和丰富程度,以及这些自主过程如何能解释判断的启发法等问题,我试图说出自己的见解,目的是要引入一套用于思考和表达思想的语言。 第二部分对判断启发法的研究作了更新,还探索了一个难题,即为什么很难具备统计型思维。我们思考时总是会把多种事情联系起来,会将一件事情比喻成另一件,会突然想起一件事来,但统计学要求同一时间把多件事情串联起来,而这一点系统1是做不到的。 第三部分描述了我们大脑有说不清楚的局限:我们对自己认为熟知的事物确信不疑,我们显然无法了解自己的无知程度,无法确切了解自己所生活的这个世界的不确定性。我们总是高估自己对世界的了解,却低估了事件中存在的偶然性。当我们回顾以往时,由于后见之明,对有些事会产生虚幻的确定感,因此我们变得过于自信。我对这个问题的看法受《黑天鹅》(The Black Swan)的作者纳西姆·塔勒布(Nassim Taleb)的影响。我希望我这“饮水机旁的闲谈”能明智地借鉴以往经验,同时抵制后见之明和虚幻的确定之感的诱惑。 第四部分的重点是在决策制定的性质和经济因素为理性的前提下讨论经济的原则。1979年,阿莫斯和我发表了关于前景理论的决策模式,此部分在双系统下对前景理论的重要概念提出了新的看法。余下的几章讲的是人们从理性角度出发做出决策的几种方式。可悲的是,人们总是孤立地看待问题,表现出框架效应,即决策的制定往往因为对所回答问题不合逻辑的选择而受到影响。系统1的特征完全能解释这些观察结果,这对标准经济学所倾向的理性假设发起了很大的挑战。 两者间没有共性。例如,我们可以让人们体验两种痛苦。其中一种比另一种要更痛苦,因为体验的时间更长。系统1有一大特点,即记忆的自主形成是有其原则的,如此一来,较为痛苦的那段体验会留下更深刻的记忆。所以,此后当人们选择要回想哪段经历时,他们自然会受记忆自我的引导,将其自身(即经验自我)处于不必要的痛苦中。两种自我间的区别被用来测试人的幸福感,而我们发现使经验自我快乐的事不一定会让记忆自我满足。两种自我同时存在的个体要如何去追求幸福,这一问题引起了把居民的幸福看做政策目标的个人和社会的众多思考。 最后的章节是按倒叙来探索本书所述的三个区别的:经验自我和记忆自我的区别,古典经济学和和行为经济学(从心理学借鉴而来)的区别,以及自主的系统1和需费脑力的系统2的区别。书中还谈及了有价值的闲谈的好处,以及哪些内容有助于提升判断和自行决策的效能。

2017-01-20

深入剖析Tomcat(How Tomcat Works中文版) PDF

《深入剖析Tomcat》深入剖析Tomcat 4和Tomcat 5中的每个组件,并揭示其内部工作原理。通过学习《深入剖析Tomcat》,你将可以自行开发Tomcat组件,或者扩展已有的组件。 Tomcat是目前比较流行的Web服务器之一。作为一个开源和小型的轻量级应用服务器,Tomcat 易于使用,便于部署,但Tomcat本身是一个非常复杂的系统,包含了很多功能模块。这些功能模块构成了Tomcat的核心结构。《深入剖析Tomcat》从最基本的HTTP请求开始,直至使用JMX技术管理Tomcat中的应用程序,逐一剖析Tomcat的基本功能模块,并配以示例代码,使读者可以逐步实现自己的Web服务器。

2017-01-20

毕向东HTML_CSS_JavaScript教程笔记

毕向东HTML_CSS_JavaScript教程笔记(视频配套pdf)

2017-01-20

Struts2权威指南完整版(超清晰pdf)

《struts 2.x权威指南(第3版)》是《struts 2权威指南》的第3版,本书介绍了struts 2最新版本:struts 2.3.1.2。 《struts 2.x权威指南(第3版)》全面介绍了struts 2框架的各知识点,从struts 2框架的mvc原理、struts 2的处理机制开始讲起,全面覆盖了struts 2的action开发、action配置管理、result配置管理、struts 2异常机制、struts 2类型转换、输入校验、文件上传和下载、struts 2国际化支持、struts 2的ajax支持、拦截器机制、convention插件与rest等方面,并详尽讲解了struts 2与spring、hibernate、jsf、sitemesh、jasperreports、jfreechart等框架的整合开发,力求让读者不仅可以掌握struts 2理论知识,而且能真正步入实际开发殿堂。 本书保留了前两版通俗易懂的写作风格:按struts 2.3.1.2的架构体系,细致地介绍了struts 2各个知识点。在介绍过程中,笔者依照读者的学习规律,首先介绍基本概念和基本操作,然后对内容进行深入讲解。在介绍struts 2框架时,既照顾到struts 2初学者的能力,对每个知识点都给出简单的快速上手的示例;同时也考虑到开发者在日后开发中可能遇到的问题,详细讲解了每个知识点的各种用法,本书覆盖了struts 2.1近80%的api。 《struts 2.x权威指南(第3版)》适合于有较好的java编程基础,有一定jsp、servlet等web编程基础或具备初步java ee编程基础的读者阅读。本书给出了struts 2入门级的示范实例,可作为学习struts 2框架的学习指南;也详细讲解了struts 2各个知识点及各选项的详细用法,可作为项目开发的参考手册。

2017-01-20

Mastering Ext JS(英文原版PDF)

[Mastering.Ext.JS(2013.7)].Loiane.Groner.文字版.pdf,

2017-01-19

Thinking in Java 4th Edition.pdf(英文版)

Bruce Eckel是MindView公司(www.MindView.net)的总裁,该公司向客户提供软件咨询和培训。他是C++标准委员会拥有表决权的成员之一,拥有应用物理学学士和计算机工程硕士学位。除本书外,他还是《C++编程思想》的作者,并与人合著了《C++编程思想 第2卷》(这两本书的英文影印版及中文版均已由机械工业出版社引进出版)及其他著作。他已经发表了150多篇论文,还经常参加世界各地的研讨会并进行演讲。

2017-01-19

《Java数据结构和算法》(第2版)(超清晰)pdf

《Java数据结构和算法》(第2版)介绍了计算机编程中使用的数据结构和算法,对于在计算机应用中如何操作和管理数据以取得最优性能提供了深入浅出的讲解。全书共分为15章,分别讲述了基本概念、数组、简单排序、堆和队列、链表、递归、进阶排序、二叉树、红黑树、哈希表及图形等知识。附录中则提供了运行专题Applet和例程、相关书籍和问题解答。《Java数据结构和算法》(第2版)提供了学完一门编程语言后进一步需要知道的知识。本书所涵盖的内容通常作为大学或学院中计算机系二年级的课程,在学生掌握了编程的基础后才开始本书的学习。

2017-01-19

深入理解Java虚拟机:JVM高级特性与最佳实践 第3版.pdf

《深入理解Java虚拟机:JVM高级特性与最佳实践》共分为五大部分,围绕内存管理、执行子系统、程序编译与优化、高效并发等核心主题对JVM进行了全面而深入的分析,深刻揭示了JVM的工作原理。第一部分从宏观的角度介绍了整个Java技术体系、Java和JVM的发展历程、模块化,以及JDK的编译,这对理解本书后面内容有重要帮助。第二部分讲解了JVM的自动内存管理,包括虚拟机内存区域的划分原理以及各种内存溢出异常产生的原因;常见的垃圾收集算法以及垃圾收集器的特点和工作原理;常见虚拟机监控与故障处理工具的原理和使用方法。第三部分分析了虚拟机的执行子系统,包括类文件结构、虚拟机类加载机制、虚拟机字节码执行引擎。第四部分讲解了程序的编译与代码的优化,阐述了泛型、自动装箱拆箱、条件编译等语法糖的原理;讲解了虚拟机的热点探测方法、HotSpot的即时编译器、编译触发条件,以及如何从虚拟机外部观察和分析JIT编译的数据和结果;第五部分探讨了Java实现高效并发的原理,包括JVM内存模型的结构和操作;原子性、可见性和有序性在Java内存模型中的体现;先行发生原则的规则和使用;线程在Java语言中的实现原理;虚拟机实现高效并发所做的一系列锁优化措施。

2017-01-19

让DB2跑得更快 DB2内部解析与性能优化.pdf

本书内容以优化为主题,根据数据库内部原理将DB2数据库对SQL语句及其他操作的内部机制进行详细剖析,并将RDS、DMS、IXM、BPS等DB2内部组件不为人知的一面展现给大家,以期做到对数据库的调优过程知其然并知其所以然。同时本书结合响应时间与资源瓶颈两种性能问题的现象,对数据库调优的整体思路进行详细讲解,对原来老式的调优思路进行整理和改动,结合了DB2V10.1版本的一些新的监控工具及特性,以一种全新的方式阐述DB2数据库性能调优的基本思路及实践方法。 本内容适合DB2数据库管理员、数据库相关应用程序开发人员、系统管理员、系统架构师及有一定数据库基础的用户自学和参考,也可作为DB2培训的参考用书。

2017-01-19

循序渐进DB2-牛新庄

本书主要特色: ◆ 本书有丰富的DB2运行维护实践案例,读者可以通过这些案例加深对DB2认识和理解。 ◆ 面对众多DB2的特点、特性,作者精心选择了与DBA日常工作关系最密切的部分,由易入难逐步讲解。 ◆ 本书中包含了大量的提示点等,这些都是作者对DB2维护工作总结后得到的经验。 ◆ 本书总结了DB2常见问题总结和解决方法,对DBA的日常维护非常有参考价值。 读者对象: 数据库管理人员、数据库开发人员、系统维护人员、数据库初学者及其他数据库从业人员,也可以作为各大中专院校相关专业师生的参考用书和相培训机构的培训教材。

2017-01-19

autocomplete自动提示

autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示autocomplete自动提示

2018-01-09

bandicam套装.rar

bandicam套装.rarbandicam套装.rarbandicam套装.rarbandicam套装.rar

2018-01-07

day16_springboot_笔记

day16_springboot_笔记.docx day16_springboot_笔记.docx day16_springboot_笔记.docx day16_springboot_笔记.docx

2018-01-07

logback-0.9.24

参阅博客:http://blog.csdn.net/Love_Legain/article/details/73740429

2017-06-26

Mybatis自动代码生成

参阅博客:http://blog.csdn.net/Love_Legain/article/details/73729877

2017-06-25

win7快捷键.pdf

win7快捷键.pdf

2017-04-18

windows快捷键(微软官方).pdf

windows快捷键(微软官方).pdf

2017-04-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除