`
文章列表
  select table_name ,column_name from information_schema.columns where table_schema='mydb' and column_name='mycol'  查找mydb数据库中mycol字段都在哪些表中存在。          
  原文出自:http://www.mkyong.com/mongodb/java-mongodb-insert-a-document/ 返回目录:http://ysj5125094.iteye.com/blog/2192754     Java MongoDB : Insert a document In this tutorial, we show you 4 ways to insert below JSON data into a “document“, via Java MongoDB API. 译:在本教程中
  原文出自:http://www.mkyong.com/mongodb/java-authentication-access-to-mongodb/ 返回目录:http://ysj5125094.iteye.com/blog/2192754    Java MongoDB : Authentication example By default, MongoDB is run in trust environment (authentication with a username and password is NOT required). In this tutorial, we ...
    mongodb中文社区地址,学习MongoDB的好地方: http://www.mongoing.com/      
  原文出自:http://www.mkyong.com/mongodb/java-mongodb-hello-world-example/ 返回目录:http://ysj5125094.iteye.com/blog/2192754      Java + MongoDB hello world example   A simple Java + MongoDB hello world example – how to connect, create database, collection and document, save, update, remove, get and ...
  格式化JSON: http://www.bejson.com   格式化SQL: http://www.dpriver.com/pp/sqlformat.htm   XML,CSS,SQL,JSON,HTML/JS 通用格式化 : http://www.bejson.com/go.html?u=http://www.bejson.com/otherFormat    
  文章出自:http://my.oschina.net/xiaotian120/blog/198225   redmine: 1、框架采用spring mvc + mybatis2、初始化数据脚本fileupload.sys\src\main\resources\init.sql数据库配置文件fileupload.sys\src\main\resources\jdbc.propertieslog4j配置文件fileupload.sys\src\main\resources\log4j.propertieslog4j采用分错误级别进行记录日志,比如错误日志只需要在fusys_erro ...
  原文出自:http://www.mkyong.com/mongodb/mongodb-import-and-export-example/ 返回目录:http://ysj5125094.iteye.com/blog/2192754      MongoDB Import And Export Example In this tutorial, we show you how to backup and restore MongoDB with the commands : mongoexport and mongoimport. 译:在本教程中,我们告诉你如何使用mongo ...
  原文出自:http://www.mkyong.com/mongodb/mongodb-authentication-example/ 返回目录:http://ysj5125094.iteye.com/blog/2192754      MongoDB Authentication Example This guide shows you how to enable authentication in MongoDB. The authentication is disabled by default. To configure it, you must first add a ...
  原文出自:http://www.mkyong.com/mongodb/mongodb-hello-world-example/ 返回目录:http://ysj5125094.iteye.com/blog/2192754    MongoDB Hello World Example   A quick guide to show you how to do basic operations like create, update, find, delete record and indexing in MongoDB. This example is using MongoDB ...
  原文出自:http://www.mkyong.com/mongodb/how-to-install-mongodb-on-windows/ 返回目录:http://ysj5125094.iteye.com/blog/2192754     How To Install MongoDB On Windows   In this tutorial, we will show you how to install MongoDB on Windows. 译:在本教程中,我们将告诉你如何在Windows上安装MongoDB。   MongoDB 2.2.3 Windows ...
  原文出自:http://www.mkyong.com/tutorials/java-mongodb-tutorials/   Java MongoDB Tutorial 译:java MongoDB 教程   MongoDB, noSQL open source database, written in C++, with many great features like map-reduce , auto sharding, replication, high availability and etc. 译:MongoDB是noSQL的一种,属于开源数据库,用c++写的, ...
  文章出自:http://chenzhou123520.iteye.com/blog/1849881     需求:使用MyBatis往MySQL数据库中插入一条记录后,需要返回该条记录的自增主键值。   方法:在mapper中指定keyProperty属性,示例如下:   <insert id="insertAndGetId" useGeneratedKeys="true" keyProperty="userId" parameterType="com.chenzhou.mybatis.User&q ...
  Mysql中的find_in_set的使用方法介绍,需要的朋友可以参考一下   使用举例: 用户表(user)中的一个字段(purview)代表该用户的权限 将用户的所有权限id存入此字段。比如有:1,2,3,4,5这样的五个权限 查找哪些用户拥有权限id为1的权限 select * from user where find_in_set('1',purview);   sql语句   sql解释:查出所有拥有1这个权限的所有用户的信息。 这样设计数据表的目的是减少表的数量,但是会增加更新的难度!  
  案例如下: 集合A,B,分别有a,b,c,d,e属性,要求从集合A中根据关联属性剔除掉B集合中的数据,得到新的数据集C,C的展示属性为a,b,其中关联属性为a,b,c。 即:遍历集合A中每条数据,判定集合B中不存在与集合A中属性a,b,c相等的数据则符合要求并保存在集合C中。   要求:同一个应用服务下,同一用户   具体操作如下:   > db.A.find() { "_id" : ObjectId("5018da521781352fe25bf4d2"), "a" : "1", &q ...
Global site tag (gtag.js) - Google Analytics