需要使用persistence.xml进行配置。 1 2 3 4 org.hibernate.ejb.HibernatePersistence 5 dataSource --> 6 net.etec.ftm.domain.City 7 net.etec.ftm.do...
分类:
其他好文 时间:
2014-10-14 17:39:09
阅读次数:
208
在weblogic服务器上两个工程部署来回切换,经常控制台报告以下错误:
<An exception occurred while deploying an application _appsdir_PactInfo_dir: weblogic.management.ManagementException: weblogic.management.ManagementExce...
分类:
Web程序 时间:
2014-10-14 13:12:28
阅读次数:
355
Hibernate 在不同的缓存区域保存不同的类/集合。 对于类而言,区域的名称是类名。如:com.atguigu.domain.Customer 对于集合而言,区域的名...
分类:
Web程序 时间:
2014-10-13 14:41:19
阅读次数:
169
进程(process)是windows的一个基本概念,它包括了运行一个程序的需要的所有资源。进程之间是相互独立的,一个进程无法访问另一个进程之间的数据(除非采用分步式计算方式),一个进程运行的失败也不会影响到另一个进程的运行。windows就是利用进程将工作划分为多个工作区域的。进程可以理解为一个程...
分类:
编程语言 时间:
2014-10-13 12:03:09
阅读次数:
202
domain的属性类型设置为byte[]1.domain设置classLinkBean{..Stringp_w_picpathName//图片名称byte[]p_w_picpath//图片内容staticmapping={p_w_picpathtype:‘p_w_picpath‘//设置数据库类型}2.controller设置保存之前,先处理上传的文件名//setp_w_picpathfilenameCommonsMultipa..
分类:
其他好文 时间:
2014-10-10 16:04:14
阅读次数:
252
package com.lc.view;
import java.util.Iterator;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.Transaction;
import com.lc.domain.Student;
import com.lc.utils.HibernateUti...
分类:
系统相关 时间:
2014-10-05 19:07:48
阅读次数:
262
解决方案:An error was encountered while running(Domain=FBSOpenApplicationErrorDomain, Code = 4)...
分类:
移动开发 时间:
2014-10-01 11:24:01
阅读次数:
203
在Xtext的官网中是这样说的
“Building your own domain-specific languages has never been so easy. Just put your grammar in place and you not only get the working parser and linker but also first class Eclipse sup...
分类:
其他好文 时间:
2014-10-01 10:17:01
阅读次数:
693
题外话:晓原理、知架构、查日志是排错的三件法宝今天在DC1上新建并链接了一个组策略对像,在客户端刷新时,却报下面的错误:“处理组策略失败。Windows无法应用组策略对象LDAP….”如下图所示:于是在客户端用\\domain.com访问,发现\\domain.com\SYSVOL\domain.com\policies..
分类:
Windows程序 时间:
2014-10-01 02:01:10
阅读次数:
1929
安装好apache启动httpd服务时,出现httpd:Couldnotreliablydeterminetheserver'sfullyqualifieddomainname,usingXXX for ServerName。网上找了不少资料,叫修改安装apache根目录下的httpd/conf/h...
分类:
系统相关 时间:
2014-09-30 21:30:30
阅读次数:
257