继承映射在 Annotation 中使用 @Inheritance 注解,并且需要使用 strategy 属性指定继承策略,继承策略有 SINGLE_TABLE、TABLE_PER_CLASS 和 JOINED 三种。 一、SINGLE_TABLE SINGLE_TABLE 是将父类和其所有的子类...
分类:
Web程序 时间:
2015-06-10 15:57:45
阅读次数:
139
1 题目:Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding elemen...
分类:
其他好文 时间:
2015-06-10 13:56:27
阅读次数:
97
You know — one loves the sunset, when one is so sad... 你知道的—当一个人情绪低落的时候,他会格外喜欢看日落...... If someone loves a flower, of which just one single blossom gr...
分类:
其他好文 时间:
2015-06-10 12:15:43
阅读次数:
106
SSO统一验证 SSO(Single Sign On ),SSO统一验证的目的是为了让多个系统使用统一登录入口,用户只需要登录其中一个系统,在cookie时间内便可以不用登录,就直接进入系统了。CAS简介 CAS是SSO的一个框架,全称为:Central Authentication S...
分类:
其他好文 时间:
2015-06-10 11:53:49
阅读次数:
139
题目:
Regular Expression Matching
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input string (not partial).
The...
分类:
其他好文 时间:
2015-06-10 09:02:26
阅读次数:
114
Given an array of integers, every element appears twice except for one. Find that single one.Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using extra me...
分类:
其他好文 时间:
2015-06-10 08:59:53
阅读次数:
114
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-06-09 21:35:35
阅读次数:
113
AVL树:带有平衡条件的二叉查找树,即一棵AVL树是其每个节点的左子树和右子树的高度最多相差1的二叉查找树。一般通过Single Rotate和Double Rotate来保持AVL树的平衡。AVL树的实现如下:1) Single Rotate2)Double Rotate1) Single Rot...
分类:
其他好文 时间:
2015-06-09 21:33:58
阅读次数:
136
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-06-09 21:30:59
阅读次数:
96
1 Intro The figure shows the block diagram of a single-phase state machine. The lower section contains sequential logic (?ip-?ops), while the uppers.....
分类:
其他好文 时间:
2015-06-09 21:24:01
阅读次数:
134