`

identifier of an instance of ……was alter from 2 to null

    博客分类:
  • java
阅读更多
Undefined Error: org.hibernate.HibernateException: identifier of an instance of 
com.shkco.adsr3.staticdata.vo.ClientGroup was altered from 2 to null 

 

List<IClientGroup> clientGroupList = clientGroupService.getAllClientGroup(sessionContext);
		boolean clientGroupValidate = true;
		if(clientGroup != null){
			if(clientGroupList != null){
				for(IClientGroup clientGroups: clientGroupList){
					if(clientGroup.equals(clientGroups.getClientGroupId())){
						clientGroupValidate = false;
						break;
					}
					
				}
			}
			if(Boolean.TRUE.equals(clientGroupValidate)){
				IErrorMessage errorMsg = new ErrorMessage();
				errorMsg.setErrorCode("SUMARAI00035");
				errorMsg.setEnglishMessage("The clientGroup value must be in the DB!");
				errorMsg.setChineseMessage("The clientGroup value must be in the DB!");
				errorMessages.add(errorMsg);
			}
		}

 

 

clientGroupService.getAllClientGroup(sessionContext);

缓存问题

使用evict方法请除缓存……皱眉

分享到:
评论

相关推荐

    超市管理系统

    alter table spkcrb add brmle decimal(12,2) null,status char(1) null,rdrq smalldatetime null,zhrkrq smalldatetime null,zhxsrq smalldatetime null,zhwlrq smalldatetime null,zhdhrq smalldatetime null,...

    微软内部资料-SQL性能优化5

    An index consists of a tree with a root from which the navigation begins, possible intermediate index levels, and bottom-level leaf pages. You use the index to find the correct leaf page. The number ...

    VclZip pro v3.10.1

    If you currently work with VCLZip 2.X with TBlobStreams or some other type of streams, you can either define your own TkpBlobStream for instance which inherits from TkpHugeStream, or use the ...

    servlet2.4doc

    Returns the value of the named attribute as an Object, or null if no attribute of the given name exists. getAttribute(String) - Method in interface javax.servlet.http.HttpSession Returns the object ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object....

    计算机网络第六版答案

    Wifi (802.11) In a wireless LAN, wireless users transmit/receive packets to/from an base station (i.e., wireless access point) within a radius of few tens of meters. The base station is typically ...

    eac3to V3.17

    * fixed: number of subtitles was not appended to demuxed subtitles' file name * fixed: dialnorm removal (for Nero decoder) failed with some 2.0 TrueHD files v3.16 * added undocumented "-no2ndpass" ...

    微软内部资料-SQL性能优化3

    For an example of how to decode value from this column using the information above, let us assume we have the following value: 0x000705001F83D775010002014F0BEC4E With byte swapping within each ...

    Prototype Cheat Sheet

    - **`identify(element)`**: Assigns a unique identifier to an element. - **`immediateDescendants`**: Retrieves immediate child elements. - **`insert(element, {position: content})`**: Inserts content ...

    sqlserverSET QUOTED_IDENTIFIER ON

    ALTER PROCEDURE test @From varchar(100)="zhang.zhanling@itgemini.net" , @To varchar(100)="zhang.zhanling@itgemini.net" ,@eng varchar(1000)=" ", @Bcc varchar(500)="xu.ming;xie.yansheng", @Subject ...

    Oracle数据库表名支持的最大长度是多少

    本文介绍Oralce数据库中,表名可以使用的最大长度。这个长度也是Oracle...*Cause: An identifier with more than 30 characters was specified. *Action: Specify at most 30 characters. 从这个错误提示可以看出

    LTE from A to Z

    1.2.4 Important Characteristics of the LTE Layer 2 and 3..................32 1.2.4.1 Support of the new LTE L1............................................................32 1.2.4.2 Simple IP centric ...

    Keil MDK 编译 ucOS-II 出现的警告和错误解决

    错误:L6238E:os_cpu_a.o(subr) contains invalid call from '~PRES8 (The user did not require code to preserve 8-byte aligment of 8-byte data objects)' function to 'REQ8 (Codewas permitted to depend on ...

    S7A驱动720版本

    - The own address of CIF50 MPI/PB communication way was limited to 31. Now the limit is 126. - Bug-fix in PG-PC Interface (CP5611) communication way. Device could be disabled from polling, after ...

    park an autonomous vehicle

    1. A practical approach to motion generation and control for an omnidirectional mobile robot Paromtchik, I.E.; Rembold, U. Robotics and Automation, 1994. Proceedings., 1994 IEEE International ...

    NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

    While this method saves hours of work and hassle over other rollout approaches, it has the major problem that every cloned system has an identical Computer Security Identifier (SID). This fact ...

    留学生React Native计算器作业-待视频演示.zip

    The user can enter a number to each of the two textinput boxes, then click/tap either of the four images of mathematical operators. Once clicked, it should display a correct answer on the screen. 1. ...

    5G安全白皮书,比较全

    2. OVERVIEW OF 5G SECURITY ARCHITECTURE IN 3GPP 3GPP 5G SECURITY STANDARDS Increased Home Control Unified Authentication Framework Security Anchor Function (SEAF) Subscriber Identifier ...

    Java_implementation_of_access_control_identifier_c_The Class

    Java实现标识符对类的访问控制代码Java implementation of access control identifier code of the class

Global site tag (gtag.js) - Google Analytics