加上type="pre"(表示在执行insert之前获取主键)后台输出sql在log4j.properties中配置log4j.logger.java.sql=DEBUG,console今天在用ibatis selectKey 生成 oracle sequ...
分类:
其他好文 时间:
2014-06-18 16:48:58
阅读次数:
269
#include#include#includeint main(){ int i;char a=0; for(i=0;i<128;i++) { if(isprint(a)) { std::cout<<a<<" "; std::cout<<std::dec<<i<<" "; std:...
分类:
编程语言 时间:
2014-06-18 16:28:05
阅读次数:
208
1、生成动态链接库[root@typhoeus79 c]# more head.c #include #include typedef struct _point{ int x; int y;}Point;Point * InitPoint(int x,int y){ Point ...
分类:
编程语言 时间:
2014-06-18 15:45:00
阅读次数:
267
参考了这个里面的代码http://bbs.csdn.net/topics/380084274一直报错06-16 23:58:50.698 26148-26161/com.example.myapplication.app W/ContentResolver﹕ Failed to get type f...
分类:
移动开发 时间:
2014-06-18 12:52:30
阅读次数:
267
一、C风格的强制类型转换(Type Cast)很简单,不管什么类型的转换统统是: TYPE b = (TYPE)a 二、C++风格的类型转换提供了4种类型转换操作符来应对不同场合的应用。 const_cast,字面上理解就是去const属性。 static_cast,命名上理解是...
分类:
编程语言 时间:
2014-06-18 12:44:47
阅读次数:
221
The JavaDoc says:SQLQuery org.hibernate.SQLQuery.addScalar(String columnAlias, Type type)Declare a scalar query resultI know whatexecuteScalaris in C#...
分类:
其他好文 时间:
2014-06-17 21:28:36
阅读次数:
236
/** linux/kernel/info.c** Copyright (C) 1992 Darren Senn*//* This implements the sysinfo() system call */#include #include #include #include #include ...
分类:
其他好文 时间:
2014-06-17 21:08:30
阅读次数:
251
我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/.....
分类:
Web程序 时间:
2014-06-17 19:59:52
阅读次数:
241
很多会议投稿都会要求提交的pdf文件用的是type1字体,因为type1字体是矢量字体,无论怎么放大缩小都不会失真。一旦pdf里嵌入了其他非矢量字体,例如type3字体,就会通不过测试,一个典型的例子就是Origin导出的.eps图片。Origin的默认导出设置是:Use Outlines Fo.....
分类:
其他好文 时间:
2014-06-17 15:47:32
阅读次数:
249
You have seen in this chapter that you can manipulate the data within a DataSet in three distinctmanners:? By using the Tables, Rows, and Columns coll...
分类:
Web程序 时间:
2014-06-17 14:07:37
阅读次数:
340