自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 Hibernate save方法无法保存的问题

最近做项目使用了hibernate,由于对这个框架不是很熟悉,遇到了很多坑。问题描述:执行save方法时,不报错,中间表的内容没有被保存到数据库中。可能原因:1.实体类没有赋值debug模式查看,传值没有问题,排除这种原因。2.没有配置事务或事务没有提交在代码内手动抛出异常,数据回滚,排除。苦思冥想找不到错误的原因,几天未果。突然想到要保存的表是一张中间表,关联的表

2017-11-10 22:08:21 3505

原创 Hibernate原生sql查询返回结果问题

Hibernate executeFind()返回值问题

2017-10-10 13:01:48 585

原创 spring注入properties文件的can not resolve placeholder问题

一般有三种情况:(1)location中的属性文件配置错误(2)location中定义的配置文件里面没有对应的placeholder值(3)可能是Spring容器的配置问题前两种注意查看拼写,路径基本都能解决,第三种在查阅相关资料后应按如下的方式解决:Spring容器采用反射扫描的发现机制,在探测到Spring容器中有一个org.springfram

2017-08-24 18:09:54 2861

原创 java基础之int数值溢出

int类型在java中占据4个字节,共32位,除去最高位符号位,可以表示的最大值为2^31,即2147483647.当数据运算结果超过int类型的最大值时,就会发生数据溢出:看一下两段读代码:代码1:public class IntOutOfBoundary {public static void main(String[] args) {int a=2147483647;

2017-07-19 23:51:03 1046

原创 关于isEmpty和isBlank的区别

java中关于isEmpty和isBlank的区别

2017-07-17 20:43:21 396

operating system 高清第九版英文

An operating system is a program that manages a computer’s hardware. It also provides a basis for application programs and acts as an intermediary between the computer user and the computer hardware. An amazing aspect of operating systems is how they vary in accomplishing these tasks. Mainframe operating systems are designed primarily to optimize utilization of hardware. Personal computer (PC) operating systems support complex games, business applications, and everything in between. Operating systems for mobile computers provide an environment in which a user can easily interface with the computer to execute programs. Thus, some operating systems are designed to be convenient, others to be efficient, and others to be some combination of the two. Before we can explore the details of computer system operation, we need to know something about system structure. We thus discuss the basic functions of system startup, I/O, and storage early in this chapter. We also describe the basic computer architecture that makes it possible to write a functional operating system. Because an operating system is large and complex, it must be created piece by piece. Each of these pieces should be a well-delineated portion of the system, with carefully defined inputs, outputs, and functions. In this chapter, we provide a general overview of the major components of a contemporary computer system as well as the functions provided by the operating system. Additionally, we cover several other topics to help set the stage for the remainder of this text: data structures used in operating systems, computing environments, and open-source operating systems.

2018-04-26

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除