摘要: Hibernate的基本数据操作 适用于4.* 。。sessionFactory的创建区别public class NewsTest { private Session session = null; private SessionFactory sf = null; private Transac... 阅读全文
posted @ 2016-01-23 11:22 WhyToHow 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Hibernate中配置文件主配置文件 oracle.jdbc.driver.OracleDriver tiger jdbc:oracle:thin:@localhost:1521:orcl c##scott ... 阅读全文
posted @ 2016-01-23 11:11 WhyToHow 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 熟悉一下简单的进制转换,及移位与异或操作运算符//其他进制转换类似int main() { //printf("%d",add(1,3)); printf("\n"); //八进制转十进制 借1当8 8*8+8+7=79 printf("%d", 0117);//79 printf("\n"); /... 阅读全文
posted @ 2016-01-23 10:42 WhyToHow 阅读(173) 评论(0) 推荐(0) 编辑