今天个人coding的模块测试,所以闲暇之余继续研究solr,然后顺带写了一个实例,随便搞的,solr真心不熟,期待认识热爱搜索的朋友,共同进步.1.配置schema.xml文件[solr\collection1\conf\目录下]因为schema默认定义了一些Field,我们这里选取[id,tit...
分类:
其他好文 时间:
2014-12-15 13:38:02
阅读次数:
250
一、使用toad导出数据库结构的sql:
菜单[DataBase]---[Export]----[Generate Schema Script],
二、打开的窗口,框架默认已勾选,只需填写保存路径即可;
三、打开powerdesigner,菜单[Reverse Engineer]----[Database],
四、弹出窗口填写模型名称,选择oracle版本...
分类:
数据库 时间:
2014-12-15 12:13:54
阅读次数:
269
一、Spring头信息
Spring配置文件的头部信息一般是固定不变的,但每一个标签都有自己的含义,xml命名空间格式如下:
xml version="1.0" encoding="UTF-8"?>
beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www...
分类:
编程语言 时间:
2014-12-15 10:25:07
阅读次数:
189
我在进行Mybatis调试时出现了下面的警告提示:
Generation Warnings Occured
Table configuration with catalog null, schema null, and table 表名 did not resolve to any tables
Mybatis generator操作没有产生结果。
多处找资料发现在我的
ge...
分类:
其他好文 时间:
2014-12-15 09:03:37
阅读次数:
901
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="ht...
分类:
数据库 时间:
2014-12-14 13:22:11
阅读次数:
280
现在我们开始研究载入的数据部分(importing data)在正式开始前,我们先介绍一个存储了大量音乐媒体的网站http://musicbrainz.org ,这里的数据都是免费的,一个大型开放社区提供。MusicBrainz每天都提供一个数据快照(snapshot)的SQL文件,这些数据可以被导...
分类:
其他好文 时间:
2014-12-12 18:22:56
阅读次数:
315
spring配置文件:applicationContext.xml
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p...
分类:
编程语言 时间:
2014-12-11 14:06:14
阅读次数:
162
每个mysql都有一个库information_schema,里面有一张表TABLES存储了所有数据库表的信息,因此,可以从这张表中查看数据库大小和表大小查询数据库大小select concat(round((sum(data_length)+sum(index_length))/1024/1024...
分类:
数据库 时间:
2014-12-10 17:46:05
阅读次数:
222
转载自http://blog.csdn.net/legendj/article/details/9950963 今天在写spring aop示例的时候,在spring.xml文件中添加spring aop的schema后出现红叉,spring配置文件如下: ...
分类:
编程语言 时间:
2014-12-10 10:32:44
阅读次数:
200
ORACLE 第一章创建授权
通过命令查看控制文件,数据文件,日志文件:
控制文件 : Desc v$controlfile;
数据文件 :desc v$datafile;
日志文件: desc v$logfile;
1. 执行导入 .sql文件
命令语法如下:
directory_path\store_schema.sql
其中 ...
分类:
数据库 时间:
2014-12-09 21:35:07
阅读次数:
361