`
tangxininjava
  • 浏览: 94293 次
  • 性别: Icon_minigender_1
  • 来自: 遂宁
社区版块
存档分类
最新评论
文章列表
权限菜单就采用递归的方式,后续再优化。 通过页面来分析,页面如下:         利用dtree的话我数据表就这样设计: CREATE TABLE `privilege` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_bin DEFAULT NULL, `parent_i ...
    根据类图建立表 CREATE TABLE `account` ( `account_id` bigint(20) NOT NULL, `name` varchar(255) COLLATE utf8_bin NOT NULL, `currency` varchar(100) COLLATE utf8_bin NOT NULL, `balance` varchar(255) COLLATE utf8_bin NOT NULL, `customer_id` bigint(20) NOT NULL, PRIMARY KEY (`account_id ...
1.设计模式学习,适配器模式       1.练习思考,demo:欧式插座是三孔的,美式插头是用于两孔插座,这时他们之间就需要一个适配器(交流电适配器)来满足需求了。    这上面有三个对象,如何定义哪个是接口,那个是对象 ...
首先表明下这个只是个人记录,看到觉得很烂莫怪。 认真看点书学点知识,脚踏实地的走,记录学到的东西,收获的东西,慢慢的成长。 今天心血来潮,想看下书,百度搜索了下到csdn下载了一本《The J2EE Architect's Handbook》,毕竟想成为J2EE架构师自己觉得自己路还很长,一直觉得自己很笨,做事方法肯定有问题,一会看js,一会看java,一会看j2ee,感觉确认很烦,自己未来的路很迷茫,但是目前中国软件是这个形式呀,要什么都会,数据库,操作系统,java就要学什么设计模式,算法,开源框架,很多,但是没办法,别人都能坚持下来并且成功为什么我不能呢? 各种压力,哎过两年肯定要计 ...

[置顶] mysql.txt

创建数据库新增用户,并赋予用户对数据库的操作权限  2010-12-01 10:26:41|  分类: mysql |  标签: |字号大中小 订阅 . 3.修改id字段的增长初始值    ALTER TBALE TableName AUTO_INCREMENT=1     net start mysql   启动 net stop mysql 暂停 mysql创建数据库和用户   创建数据库:Create DATABASE IF NOT EXISTS ismp default charset utf8 COLLATE utf8_general_ci; 用户授权use mysq ...
已上传的文件: HtmlDom.rar  iBATIS-SqlMaps-2-入门教程.rar  jQuery_1.4.1_中文速查参考.rar  JavaScript中文版.rar  http://www.javabeginner.com http://blog.csdn.net/uniorg/article/details/5439230
ibatis2.x学习实战 1.到谷歌下载ibatis2.x 包 http://code.google.com/p/mybatis/downloads/detail?name=ibatis-2.3.4.726.zip&can=4&q=   2.打开ibatis-2.3.4.726文件夹      3.使用simple_example代码   4.快速构建自己的工程 (我这里使用myeclipse6.5)        测试是否成功?    package ibatistest; import java.sql.SQLException; ...

mongodb java入门

mongodb java入门:       maven工程:          pom.xml           <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"& ...

java排序日志输出

    博客分类:
  • java
1.冒泡排序理解日志输出:       String[] r = {"26","53","48","01","03","38","32","15","09"};            [26, 09, 48, 01, 03, 38, 32, 15, 53] ------------------------------- jCount7 [26, 09, 48, 01, 03, 38, 32, 15 ...
intellij idea 添加maven project:   1.File new Project 选择Maven 勾选Create from archetype 选择列表中的maven-archetype-webapp 2.next 填写GroupId ArtifactId next 3.在Maven home directory这个页面中最下面有个Properties中添加 archetypeCatalog=internal    4.配置tomcat 如图:   如上图选择Deployment,这个时候你会发现无法添加test项目,这是为什么呢? 这是maven和t ...
nginx相同域名不用tomcat端口   nginx.conf 配置如下:         #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include ...
http://tangxininjava.iteye.com/blog/2276211 在上面这篇基础上 使用rabbitmq 当然首先需要安装rabbitmq。关于rabbitmq的安装就不说了。 我安装的windows版本的 安装好了之后访问地址:http://localhost:15672/#/ 默认登录用户名:guest 密码:guest     因为使用的spring boot 代码如下: Application.java package com.zmall; import com.rabbitmq.client.Channel; import com.zma ...
参考来源:https://github.com/hoserdude/spring-boot-mybatis-profile-sandbox 按照上面的例子先导入到自己的IDE中。   第一步配置spring boot的application.properties spring.datasource.url=jdbc:mysql://localhost:3306/mecom spring.datasource.username=root spring.datasource.password=root spring.datasource.driver-class-name=com.m ...

log4j配置

    博客分类:
  • J2EE
log4j 滚动日志原理   11月28号的日志是test.log 那么12月29号的时候会把11月28号的日志重命名为test_2013-11-28.log那么11月29号的日志就会是test.log  然后30号的时候会把test.log重命名为test_2013-11-29.log 30号的日志为test.log     # Attach appender A1 to root. Set root level to Level.DEBUG. log4j.rootLogger=INFO, A2 # Set the level of the logger named " ...

android开发环境

ADT 22.3.0 (October 2013) Dependencies: Java 1.6 or higher is required. Eclipse Helios (Version 3.6.2) or higher is required. This version of ADT is designed for use with SDK Tools r22.3. If you haven't already installed SDK Tools r22.3 into your SDK, use the Android SDK Manager to do so. ...
Global site tag (gtag.js) - Google Analytics