想要深入了解MongoDB如何存储数据之前,有一个概念必须清楚,那就是Memeory-Mapped Files。Memeory-Mapped Files下图展示了数据库是如何跟底层系统打交道的。内存映射文件是OS通过mmap在内存中创建一个数据文件,这样就把文件映射到一个虚拟内存的区域;虚拟内存对于...
分类:
数据库 时间:
2015-03-12 23:52:50
阅读次数:
294
问题: MyEclipse中:Some characters cannot be mapped
using 'ISO-8859-1' character encoding
分析:由于默认的字符是ISO-8859-1,当有中文的时候,保存将会导致以上问题
解决方案:
window --> Preferences --> General --> Content Typ...
分类:
移动开发 时间:
2015-03-12 09:49:43
阅读次数:
196
some characters
cannot be mapped using iso-8859-1 character encoding
some characters cannot be mapped using iso-8859-1 character encoding
Eclipse中新建一个.properties文件,如果输入中文保存时就会提示错误
Rea...
分类:
移动开发 时间:
2015-03-07 18:45:06
阅读次数:
132
项目中,用到一个序列作单号,框架用的是ssh,在dao层去拿的时候,运行时报错为dual is not mapped,[select *.nextval nextvalue from dual]后来检查发现,获取方式不对,于是改成下面这样,就可以正常获取了 //获取seq的最后一个值 p...
分类:
数据库 时间:
2015-02-27 21:23:47
阅读次数:
226
引言: 在基于SpringData/JPA来快速开发若干功能过程中,碰到了table is not Mapped问题,经过一番辛苦的调试测试之后,才发现了一个@Entity的属性name的妙用。...
分类:
移动开发 时间:
2015-02-04 14:38:55
阅读次数:
379
{Copyright ?1999 by Delphi 5 Developer's Guide - Xavier Pacheco and Steve Teixeira}unit MainFrm;interfaceuses Windows, Messages, SysUtils, Classes, G....
分类:
移动开发 时间:
2015-01-31 07:03:01
阅读次数:
265
Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User user where user.name=?0 and user.pass=?1]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requi...
分类:
移动开发 时间:
2015-01-19 23:34:39
阅读次数:
298
按照书本上的Struts2的例子,运行会出现错误:HTTP Status 404 - There is no Action mapped for namespace [/] and action name [sayHelloAction!sayStruts2] ...貌似在struts.xml中配置...
分类:
移动开发 时间:
2015-01-14 21:09:30
阅读次数:
233
使用IBatis作数据缓存1.SqlMapConfig.xml中2.cacheModel cacheModel的属性值等于指定的cacheModel元素的name属性值。属性cacheModel定义查询mapped statement的缓存。每一个查询mapped statement可以使用不同或相...
分类:
编程语言 时间:
2015-01-08 17:36:51
阅读次数:
171
使用boost里面的mapped_file_sink,mapped_file_source和mapped_file_parameters来copy大文件的例子。...
分类:
移动开发 时间:
2015-01-07 16:48:59
阅读次数:
549