06 2016 档案

用C3P0获取连接对象的方法
摘要:package gxa.bj.util; import java.sql.Connection;import java.sql.SQLException; import javax.sql.DataSource; import com.mchange.v2.c3p0.ComboPooledDataS 阅读全文

posted @ 2016-06-13 20:48 看你妹儿 阅读(1651) 评论(0) 推荐(0) 编辑

构建主键批注的方法
摘要:package gxa.bj.util; import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;import 阅读全文

posted @ 2016-06-12 23:15 看你妹儿 阅读(186) 评论(0) 推荐(0) 编辑

通过反射,获得数据库增删改查的sql语句的方法
摘要:package gxa.bj.util; import java.lang.reflect.*; public class BeanUtil {// 根据某些条件查询语句 public static String getSelectSQL(Object obj) throws NoSuchMetho 阅读全文

posted @ 2016-06-12 23:14 看你妹儿 阅读(1996) 评论(0) 推荐(0) 编辑

sql语句
摘要:SQL常用命令使用方法:(1) 数据记录筛选:sql="select * from 数据表 where 字段名=字段值 order by 字段名 [desc]"sql="select * from 数据表 where 字段名 like '%字段值%' order by 字段名 [desc]"sql= 阅读全文

posted @ 2016-06-12 22:44 看你妹儿 阅读(158) 评论(0) 推荐(0) 编辑

用js做的注册的验证!
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style type="text/css"> #smail { } </style> <script> var ifMail = false; 阅读全文

posted @ 2016-06-02 16:02 看你妹儿 阅读(492) 评论(0) 推荐(0) 编辑

js input 限制数类型
摘要:JS控制 input 输入字符限制 ENTER键可以让光标移到下一个输入框 <input onkeydown="if(event.keyCode==13)event.keyCode=9" > 只能是中文 <input onkeyup="value=value.replace(/[ -~]/g,'') 阅读全文

posted @ 2016-06-02 10:28 看你妹儿 阅读(739) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示