The Java Persistence API introduced in Java EE 5 is a subset of EJB 3 and replaces the persistence solution of EJB 2.0 CMP. JPA 1.0 has been defined as part of the EJB 3.0 specification (JSR 220) b...
分类:
其他好文 时间:
2014-09-22 00:47:11
阅读次数:
202
in soapui the XML object used here is from org.w3c.dom package so you need to read this article carefully before we can use xml object very well. http...
分类:
其他好文 时间:
2014-09-20 22:12:49
阅读次数:
215
change the jdbc request : 1.change the driver name,connection string,query string or assert. the object we will use here is : JdbcRequestTestStep Test...
分类:
数据库 时间:
2014-09-20 21:03:49
阅读次数:
320
As you know the groovy script and java script language is the soapui supported .but unfortunately Soapui’s groovy editor had not provided a better edi...
分类:
其他好文 时间:
2014-09-20 20:43:39
阅读次数:
358
Technorati 标签: Soapui pro,web service,apI Testing
分类:
数据库 时间:
2014-09-20 20:41:09
阅读次数:
231
crsd.log: th_select_handler message repeated [ID 338693.1]
——————————————————————————–
Modified 29-JUL-2008 Type PROBLEM Status MODERATED
In this Document
Symptoms
Cause
Solution
Referen...
分类:
其他好文 时间:
2014-09-20 15:53:19
阅读次数:
170
class Solution {public: int atoi(const char *str) { if (str == NULL) return 0; long val =0, pos = 0; char ch = '\0'; in...
分类:
其他好文 时间:
2014-09-20 01:08:46
阅读次数:
179
1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 class Solution { 9 public: 10 double findMedianSortedArra...
分类:
其他好文 时间:
2014-09-19 20:59:36
阅读次数:
254
题目大意:一个有N个点m条边的无向图,可以将路径上k条边的权值变为0,试求此时1-n的最短路径长度。
Sol:我们考虑分层图思想,将图复制k+1份,分别是0~k层,表示此时已经经过的“免费边”条数。
层与层之间的边权值为0且为单向由上层指向下层。
这样我们以0层的1点做单源最短路径。每一层的n点的距离最小值即为答案。
只不过这样的点数为O(K*N),边数为O(K*M),比较慢。
...
分类:
其他好文 时间:
2014-09-19 15:42:55
阅读次数:
223
Implement int sqrt(int x).难度:76,用二分查找。要求是知道结果的范围,取定左界和右界,然后每次砍掉不满足条件的一半,知道左界和右界相遇。算法的时间复杂度是O(logx),空间复杂度是O(1)。 1 public class Solution { 2 public ...
分类:
其他好文 时间:
2014-09-19 13:45:15
阅读次数:
122