oracle 9i的jdbc驱动够蠢

搞死个人,搭建了个jira,文本框中的内容死活显示不出来,拔啦了一下官方安装手册,找到句让人吐血的话:

ojdbc14.jar – if you are using JDK 1.4 or above. Note: the file size should be 1,536,979 (10gR2). The Oracle 9 drivers have the same name and do not support CLOBs.

更新之后,发现原来输入的内容其实已经保存到数据库了,只是显示的时候有问题。

现在剩下的问题是Ofbiz报的NamingException while finding UserTransaction named java:comp/UserTransaction in JNDI 异常了,虽然不影响使用,不过还是抽空找找解决方案吧。

Update: 这个问题怪我没看清楚配置,人家官方网站的安装说明写的很清楚:

修改 entityengine.xml,增加env:
<transaction-factory class=”org.ofbiz.core.entity.transaction.JNDIFactory”>
<user-transaction-jndi jndi-server-name=”default” jndi-name=”java:comp/env/UserTransaction”/>
<transaction-manager-jndi jndi-server-name=”default” jndi-name=”java:comp/env/UserTransaction”/>
</transaction-factory>

- EOF -

3 Comments

  1. giorgio t

    I would want to implement ofbiz (ofbiz, sequoia erp) in a our manufactoring company in China.
    You could for courtesy help me where I can find a company that it develops the software locally.
    Thank you in advance for your support.
    Best regards
    Giorgio

  2. giorgio

    cc

  3. HH

    你试过 4000 个以上的中文字,会出问题吗?

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*