- 浏览: 37144 次
- 性别:
- 来自: 南京
-
最新评论
-
mpqi:
我觉得 还可以加个 完整性约束
拙见
oracle 列操作 -
wxq594808632:
引用我觉得很不方便的是
@column这个 如果数据库是 ...
JPA,未来的持久化标准 -
wujiazhao88:
这不是EJB3.0用到的东西咩?好久以前有了
JPA,未来的持久化标准 -
newlife111:
为什么这么多人给新手帖?虽然JPA很早就出来了,我也很早就看了 ...
JPA,未来的持久化标准 -
berlou:
新手帖?JPA出来很久了...
JPA,未来的持久化标准
文章列表
LOG4J 实战配置
一、 配置根Logger,其语法为:
log4j.rootLogger = [ level ] , appenderName1, appenderName2, …
(说明:可以自定义logger(log4j.logger.packageName=[level],appenderName1,…)
1)level:OFF>FATAL>ERROR>WARN>INFO>DEBUG>ALL或者自定义的级别 ...
java的反编译工具,方便使用,拿出来和大家资源共享。
JSEclipse(Eclipse插件)
Eclipse的Ext 2.0.2智能提示.它提供了非常准确的Ext API提示。
1,下载并安装 JSEclipse 插件.
下载地址:http://labs.adobe.com/technologies/jseclipse/
2,用JSEclipse随便打开一个.js文件,这时会出现 JSEclipse 菜单.选择 Add library
,选择一个文件,在弹出的窗口中选择ext-all-debug.js所在的路径.输入
ext-all-debug.js(记住是输入,默认不能选择.js文件的.)
3,重新打开一个.js文件 ...
js 写道
三种安装方式:
1、在线安装
2、下载安装包进行安装
3、下载解压缩包进行安装
一、在线安装方式:
a、打开Help窗口,即:Help > Software Update. 选择 Find and Install
b、选择 "Search for new features to install",点击 Next
c、点击 "New Remote Site" ,将弹出一个 New Update Site 对话框,它包含两个必填项:
1、Name: 填入:JSEclipse from Adobe L ...
数据库中存储数据的方式:
规则表---〉分区表
索引组织表
簇修改列名alter table 表明 rename column rename 老列名 to 新列名
添加 字段
alter table 表名 add(字段名 类型);
删除字段
alter table 表名 drop column 字段名修改列属性
alter table 表名 modify (字段名 新属性)
设置某一个字段为无用状态
alter table 表名 set unuesed column 字段名
删除无用字段
alert table 表名 drop unused clo ...
近年来ORM(Object-Relational Mapping;对象关系映射,即实体对象和数据库表的映射)技术市场人声音鼎沸,异常热闹, Sun在充分吸收现有的优秀ORM框架设计思想的基础上,制定了新的JPA(Java Persistence API)规范。 那么什么是JPA呢?JPA是通过JDK5.0注解或XML描述对象-关系表的映射关系,并将运行期实体对象持久化到数据库中去。 这里我们要先谈一下什么叫实体(Entity),按照JPA规范,具有ORM元数据的领域对象就叫做实体。它应具备一下条件: 1.必须使用javax.persistence.Entity注解或XML映射文件中有对应的< ...
针对,人事对于纷繁芜杂的考勤记录肉眼进行辨别的劳累工作,自行编制了一个小的自动化工具,以期为他们做点小的帮助。
//续2
for(Integer in : exception.keySet())
{
ArrayList<Date> ds = exception.get(in);
if(in == 100)
{
for(Date d : ds)
{
ws[2].addCell(new Label(0,i,String.format("%tF", d),cf));
ws[2].addCell(new Label(1,i++,"absent",cf));
...
- 2009-12-02 17:45
- 浏览 846
- 评论(0)
//续1
WritableCellFormat cf = new WritableCellFormat(new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD));
cf.setBorder(Border.ALL, BorderLineStyle.HAIR, Colour.BLUE);
cf.setAlignment(Alignment.CENTRE);
for(int i=0;i<ws.length;i++)
{
ws[i] = wbook.createSheet( ...
- 2009-12-02 17:45
- 浏览 765
- 评论(0)
@SuppressWarnings("deprecation")
public void deal(Map<Integer, ArrayList<Date>> map) throws Exception
{
Date d = map.values().iterator().next().get(0);
int beginStatistic = Const.beginStatistic;
Calendar smallMonth = new GregorianCalendar(1900+d.getYear(),d.getMonth ...
- 2009-12-02 17:03
- 浏览 826
- 评论(0)
#!/usr/bin/ksh
if [ `echo $0 | grep -c "/"` -gt 0 ];then
cd ${0%/*}
fi
#check whether config.def file exist
if [ ! -f "config.def" ]
then
writeLog "ERROR" "stop" "the config.def file isn't exist,exit monitor application."
return ...
- 2009-12-02 13:24
- 浏览 830
- 评论(0)
#!/usr/bin/ksh
if [ `echo $0 | grep -c "/"` -gt 0 ];then
cd ${0%/*}
fi
VCSHOME="${VCS_HOME:-/opt/VRTSvcs}"
. $VCSHOME/bin/ag_i18n_inc.sh
#check whether config.def file exist
if [ ! -f "config.def" ]
then
writeLog "ERROR" "start&quo ...
- 2009-12-02 13:22
- 浏览 949
- 评论(0)
#!/usr/bin/ksh
if [ `echo $0 | grep -c "/"` -gt 0 ];then
cd ${0%/*}
fi
#check whether config.def file exist
if [ ! -f "config.def" ]
then
writeLog "ERROR" "monitor" "the config.def file isn't exist,exit monitor application."
return 100
el ...
- 2009-12-02 13:20
- 浏览 1034
- 评论(0)