问题1:异常:in expected: (possibly an invalid or unmapped class name was used in the query) [from Customer]解决方案:查看HQL语句查询的是否是实体类,映射文件属性是否正确:复制到输出目录à始终复制 。....
分类:
系统相关 时间:
2014-06-27 20:57:29
阅读次数:
606
Information About ModulesCisco Nexus 1000V manages a data center defined by a VirtualCenter. Each server in the data center is represented as a module...
分类:
其他好文 时间:
2014-06-27 17:04:58
阅读次数:
184
//导入这个就行了#import //没有导包的时候,提示如下:Implicit declaration of function 'CC_MD5' is invalid in C99CC_MD5( cStr, strlen(cStr),result);
分类:
其他好文 时间:
2014-06-26 23:50:53
阅读次数:
1090
Malformed or corrupted AST file: 'Unable to load module "/Users/topbar/Library/Developer/Xcode/DerivedData/ModuleCache/3TJWGBUKOEC41/Darwin.pcm": modu...
分类:
移动开发 时间:
2014-06-26 22:50:03
阅读次数:
315
模块模块同类一样,也有 class method 和 instance method。module 没有new不能生成实例对象其中 class method 在模块中称为模块方法,是可以直接调用的。module Foo
def self.hello
puts 'hello world!'
end
def Foo.dear #module全局作用域内的self还是没有变,就是...
分类:
其他好文 时间:
2014-06-26 14:19:28
阅读次数:
163
This post introduces how to use the module pattern to limit the access scope of the methods of object or constructor in the module.
分类:
编程语言 时间:
2014-06-26 12:19:06
阅读次数:
231
前面通过阅读代码知道了如何判断各个模块处理某个消息的先后顺序,那么内部是如何实现的呢?
每当一个模块表示对一个消息感兴趣的时候,就会调用IFloodlightProviderService(具体有Controller类实现)的addOFMessageListener方法进行注册订阅,核心工作是由 ListenerDispatcher类来完成:1)每次增加一个观察者的时候都会判断其是否是...
分类:
其他好文 时间:
2014-06-26 10:23:09
阅读次数:
237
解决QT:forward declaration of 'struct Ui::xxx';invalid use of incomplete struct "Ui::Widget" 等莫名奇妙错误...
分类:
其他好文 时间:
2014-06-26 08:14:03
阅读次数:
260
com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0xc9...
分类:
Web程序 时间:
2014-06-26 07:59:47
阅读次数:
5316
Linux的驱动程序注册过程,大致分为两个步骤:
模块初始化驱动程序注册
下面以内核提供的示例代码pci-skeleton.c,详细说明一个pci设备驱动程序的注册过程。其他设备的驱动代码注册过程基本相同,大家可自行查看。使用的内核代码版本是2.6.38。
1. 模块初始化
1.1 驱动程序入口
所有的设备驱动程序都会有如下两行代码:
1922 module_init(netdrv...
分类:
系统相关 时间:
2014-06-26 06:42:29
阅读次数:
261