摘要: 1、 PreparedStatement 接口继承 Statement, PreparedStatement 实例包含已编译的 SQL 语句,所以其执行速度要快于 Statement 对象。 2、作为 Statement 的子类,PreparedStatement 继承了 Statement 的所有 阅读全文
posted @ 2018-01-08 19:43 Latiny 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Errors running builder 'DeploymentBuilder' on project Errors running builder 'DeploymentBuilder' on project 1.修改java源代码后点击保存,IDE 自动编译并热部署,提示如下错误: Erro 阅读全文
posted @ 2018-01-06 21:38 Latiny 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1 Interrupting someone politely e.g. Excuse me for interrupting, but may I ask a question? Sure. Of course. Go ahead. Just a moment, please. Just a mo 阅读全文
posted @ 2018-01-06 11:40 Latiny 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 工程 -- 右键属性 -- Myeclispse -- web修改一下发布名字就可以了。 阅读全文
posted @ 2018-01-04 16:53 Latiny 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1 最高级用来表明三个或更多事物之间的关系。最高级是通过在形容词之前加 "the" 并在之后加 "-est",或在形容词之前加 "the most"。它的反义句是通过在形容词之前加 "the least" 构成的。 Ms. Buttet has the lowest budget in severa 阅读全文
posted @ 2017-12-29 11:32 Latiny 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Java数据类型分为基本数据类型与引用数据类型。 1 基本数据类型 byte:Java中最小的数据类型,在内存中占1个字节(8 bit),取值范围-128~127,默认值0 short:短整型,2个字节(16 bit),取值范围-32768~32717,默认值0 int:整型,用于存储整数,在内存中 阅读全文
posted @ 2017-12-24 22:42 Latiny 阅读(16351) 评论(6) 推荐(14) 编辑
摘要: 星期数的问题 1 计算日期是周几 这个问题看似很简单,可以用MySQL内置函数来计算 (1) weekday(date)其返回值是0-6,0代表Monday, 6代表Sunday; (2) dayofweek(date)其返回值是1-7,但是它更不好理解,1代表的是Sunday, 6代表的Satur 阅读全文
posted @ 2017-12-22 23:10 Latiny 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 1 开发Servlet程序时,MyEclipse配置好tomcat与JDK之后,启动时控制台报下列错误: 1 java.lang.UnsupportedClassVersionError: org/apache/lucene/store/Directory : Unsupported major.m 阅读全文
posted @ 2017-12-22 12:31 Latiny 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 1 MySQL 数据库中有五种与日期时间有关的数据类型,各种日期数据类型所占空间如下图所示: 2 datetime 与 date datetime 占用8字节,是占用空间最多的一种日期格式。它显示日期,同时也显示时间。5.5及以前的版本不支持微妙级别,任何微妙数值都会被截断之后存入数据库。 date 阅读全文
posted @ 2017-12-18 23:42 Latiny 阅读(6917) 评论(0) 推荐(0) 编辑
摘要: 1 打开cmd 输入要导入的数据库,用户名,密码,dump文件路径 mysql -ulatiny -p123456 employees <E:\employees_db\load_departments.dump 阅读全文
posted @ 2017-12-18 18:43 Latiny 阅读(18698) 评论(0) 推荐(1) 编辑