- 浏览: 70651 次
- 性别:
- 来自: 北京
最新评论
-
MySSH:
但是我是用的eclipse-SDK-3.5.2的,里面没有or ...
jQuery 工具安装-jqueryWTP -
2022228:
废话,浪费资源
Runnable and Thread
文章列表
spring cource list
- 博客分类:
- spring
http://www.springsource.com/training/class?classID=102697
Early Bird discount
: USD 1255.5 if you register before Aug 14 2011
Course Overview
Core Spring is the four-day flagship Spring
Framework training. In this course, students build a Spring-powered Java
application th ...
Hibernate Lazy
- 博客分类:
- Hibernate
From
http://www.iteye.com/job/topic/1040197?page=6
http://qvjing520.iteye.com/
hibernate中lazy的使用
lazy,延迟加载
Lazy的有效期:只有在session打开的时候才有效;session关闭后lazy就没效了。
lazy策略可以用在:
* <class>标签上:可以取值true/false
* <property>标签上,可以取值true/false,这个特性需要类增强
* <set>/<list>等集 ...
MySQL Note
- 博客分类:
- database
1. Case Sensitivity
在MySQL中,最好case insensitive,省着以后麻烦(跨平台啥的)。
MySQL的Case Sensitivity依赖于操作系统,大部分Unix是区分大小写的,所以只有在Unix上mysql才区分大小写。
Identifier Case Sensitivity
Note:
1. 如何提高查询速度:Index/...
- Follow the rules of DB tuning we have to: 1] properly use indexes ( different types ...
Code Analyzer is a java application for C, C++, java, assembly, html,
and user-defined software source metrics. It calculates metrics across
multiple source trees as one project. It has a nice tree view of the
project with flexible report capabilities.
website: http://sourceforge.net/projec ...
1. dynamic-update="true" dynamic-insert="true"
动态更新/插入, 只是更新修改的列。
优点:对于很多列的数据(大于50列)性能有提升, 减少网络传输量
缺点:牺牲一部分性能,用于查找需要更新的列。
Object states
1、Transient状态的特征:
* 在数据库中没有与之匹配的数据
* 没有纳入session的管理
2、Persistent状态的特征:
* persistent状态的对象在数据库中有与之匹配的数据
* 纳入了session的管理
* 在清理缓存(脏数据检查)的时候,会和数据库同步
3、Detached状态的特征:
* 在数据库中有与之匹配的数据
* 没有纳入session的管理
...
Reading Hibernate Reference Documentation (3.6)
http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/index.html
1. Tutorial
2. Architecture
3. Configuration
4. Persistent Classes
5. Basic O/R Mapping
6. Types
7. Collection ...
From: http://www.mydeveloperconnection.com/html/spring-hibernate-QnA.htm
Q. Explain DI or IOC pattern.
A: Dependency injection (DI) is a programming design pattern and architectural
model, sometimes also referred to as inversion of control or IOC, although
technically speaking, dependency ...
From: http://www.roseindia.net/hibernate/examples/hibernate-advantages-and-disadvantages.html
Advantages of Hibernate
Hibernate is better then plain JDBC:
You
can use Hibernate which generates the SQL on the fly and then
automatically executes the necessary SQL statements. This ...
Software
1. mysql
我用Yum装的mysql, 原来它的安装路径是 /usr/bin
Command: rpm -ql mysql-server
参考:Fedora 14 下安装MySql 5
Useful Command
1. su
Shortcuts
1. Return to wondows
Default shortcut is ...
1. SELECT auto_increment
SELECT Auto_increment
FROM information_schema.tables
WHERE table_name='the_table_you_want' /* Can end here if only 1 DB */
AND table_schema = DATABASE(); /* See comment below if > 1 DB */
From:
http://stackoverflow.com/questions/933565/get-auto-incr ...
程序需求:http://joezxy.iteye.com/blog/366794
import java.math.BigDecimal;
public class Algorithm {
public static void main(String[] args) {
powerWrapper(95.123,12);
powerWrapper(0.4321,20);
powerWrapper(5.1234,15);
powerWrapper(6.7592,9);
powerWrapper(98.999,10);
powerWra ...
Name
Licene
Demo
Comment
atleap
Apache 2.0
license
good
dotCMS
http://www.dotcms.org/products/dotcms-open-source/demos/
JadaSite
GPL v3
good
DSPACE
Slide
Java: Open Source Conte ...
robbin: "Mac的价值观是Think Different,Ruby的价值观是coding for fun,Java的价值观是everthing in one platform,微软的价值观是even idiot can coding。 我喜欢Mac和Ruby的价值观,所以我选择他们。"
Apple: Think Different
今天看ifeng遇着个错,可以帮助我们多了解它:
Java/Spring/Tomcat 6.0/Oracle
http://ifeng.itcpn.net/more/51193/cms_a_flwlist-1/1/
-----------------------------------------------------------------------------------------
HTTP Status 500 -
type Exception report
message
description The server encountered an i ...
- 2009-09-05 16:24
- 浏览 1291
- 评论(0)