- 浏览: 322030 次
- 来自: ...
最新评论
-
梦回秘蓝:
whichisnotuse 写道非也, 除非需要很执行一段代码 ...
什么情况需要 if (log.isDebugEnabled()) {} -
wupy:
一直while的话会不会太耗内存呢?
java socket 长连接 短连接 -
xy2401:
<type-mapping> <sql-t ...
hibernate tools oracle nvarchar2 被映射成Serializable -
xy2401:
xy2401 写道额,原来配置文件可以改啊。。。不过我已经生成 ...
hibernate tools oracle nvarchar2 被映射成Serializable -
郭玉成:
你好, 我已经找到原因了!
java 编译非文本形式的文件
文章列表
We setup all varnish boxes where we need SSL with nginx on :443 and varnishd on :80. The local nginx server proxy-passes everything to localhost:80, with the following config bit: server { ssl on; ssl_certificate /etc/ssl/certs/your.crt; ssl_certificate_key /etc/ssl/private/your.key; listen 443 defau ...
路径是:
maven-model-builder-3.0.3.jar\org.apache.maven.model
http://www.mulesoft.org/documentation/display/MULEIDE/Hot+Deploy+from+Mule+IDE
mule ide还没有跟上mule3的步伐,只能采用上面的方法,触发热部署见下面:
As a bonus, application's master config file is monitored, so if there are any class changes you want to pick up or simply modify the config, save or touch mule-config.xm ...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5:create-from-project (default-cli) on pr
oject test.ws: ${maven.home} is not specified as a directory: 'D:\eclipse workspace\test\test.ws\EMBEDDED'. -> [Help 1]
把Eclipse的maven插件自带的maven换成系统的maven ...
如题,原来是我把该功能关闭了,在“首选项-capabilities-team”功能模块中需要开启“core team support”功能就可以了。
Blood.And.Bone.
- 博客分类:
- life
I AM THE PUNISHMENT OF GOD,
IF YOU HAD NOT COMMITED GREAT SINS,
GOD WOULD NOT HAVE SENT
YOU A PUNISHMENT LIKE ME UPON YOU
-GENGKIS KHAN
https://forum.hibernate.org/viewtopic.php?f=1&t=937401
http://www.coderanch.com/t/218034/ORM/java/hibernate-criteria-like-expression-Long
上面的文章建议不用criteria,这对于我等懒人是不可接受的,继续找
http://hi.baidu.com/piaokes/blog/item/f9681812f1fed055f919b86d.html
这里给出了思路
hibernate3建议使用如下
Restrictions.sqlR ...
参考
http://topic.csdn.net/t/20050629/16/4112826.html
产生唯一值很简单 select newid() as 列名,* from 表
http://huamengxing.iteye.com/blog/120162
NEWID ,而Oracle中使用SYS_GUID
http://bugs.sun.com/view_bug.do?bug_id=4975146
http://forums.oracle.com/forums/thread.jspa?threadID=933725&tstart=0
web应用发布在WebLogic上,使用java applet发生如上问题。
可能的原因:
1、It appears that for some reason it is redirecting to the login page, which it is attempting to read as a Java class resulti ...
windows下编译这个dll有点繁琐,到网上找现成的,
但是在原来的站点找不到匹配最新的tomcat的apr dll,
在bin/tomcat-native.tar.gz文件中的文档中找到站点
http://www.apache.org/dist/tomcat/tomcat-connectors/native/
http://old.nabble.com/Help-understanding-install:install-file-and--Dsources-or--Djavadoc-td26753937.html
不知哪里定义了内部使用的plugin版本,有2.3的install,还是去下载使用2.2的install,导致不能一次安装3个jar到本地库
continue:
原因:超级pom指定了默认版本;
若需要最新版本的插件需要在自己的pom里面指定,或者修改超级pom;
使用maven2构建的eclipse工程,写的测试类在eclipse里运行通过hibernate查询数据,有数据但是查不出来,连SQL语句都不打印,
问题很怪异,进过一番倒腾,发现是类路径的问题导致没有加载hbm映射文件,hibernate竟然也不报错(害人),根本原因还是在于maven2的项目结构问题。
相关设置参见
http://x-spirit.spaces.live.com/blog/cns!CC0B04AE126337C0!569.entry
可能的性能问题参见
http://www.xjinf.com/technology/database/200804/76.html
但是通过JDBC访问时,nvarchar2类型里面的中文排序还是不对
解决方式要么是换成varchar2,要么对jdbc的connection执行“alter session set nls_sort=SCHINESE_PINYIN_M”(需要在注册表先设置,二者缺一不可)
http://opensource.atlassian.com/projects/hibernate/browse/HBX-656
貌似问题还没有解决
难道非得用
<hibernate-reverse-engineering> <type-mapping> <sql-type jdbc-type="OTHER" hibernate-type='string'></sql-type> </type-mapping>
https://docs.sonatype.org/display/M2ECLIPSE/Project+FAQ#ProjectFAQ-WhyresourcefoldersinJavaprojecthaveexcluded%3D%22%22
Why resource folders in Java project have excluded="**"
Many users are confused that when Java project is configured in Eclipse, resource folders gets excluded=&q ...