- 浏览: 6330 次
- 性别:
- 来自: 北京
文章列表
使用weblogic部署web应用时,报如下错误:
<myserver> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101216> <Servlet: "TO-init" failed to preload on startup in Web application: "receive".
java.lang.Throwable
at webl ...
import java.sql.Types;
import org.hibernate.Hibernate;
import org.hibernate.dialect.SybaseDialect;
public class LongCharDialect extends SybaseDialect {
public LongCharDialect(){
super();
registerHibernateType(Types.LONGVARCHAR, Hibernate.STRING.getName());
regis ...
使用字符串“jdbc:oracle:thin:@127.0.0.1:1521:orcl”连接数据库时,抛出异常:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
127.0.0.1:1521:orcl
解决方法:
将li ...
Oracle:
select instance_name, host_name from v$instance;
如何在Java中避免equals方法的隐藏陷阱
译者:赵锟
zhaokun.km (at)gmail.com
转自:http://cocre.com/?p=1051 酷壳
译者注 :你可能会觉得Java很简单,Object的equals实现也会非常简单,但是事实并不是你想象的这样,耐心的读完本文,你会 ...
- 2009-06-20 12:46
- 浏览 758
- 评论(0)