Encoding issue with JBoss 2.4.3 & Interbase 6.01 & Interclient 2.0 
Author Message
 Encoding issue with JBoss 2.4.3 & Interbase 6.01 & Interclient 2.0

Hi

I've got an issue with encoding in JBoss. Problematic characters in Cp1250
from database are replaced by question marks.
How should I configure jdbc connection, if I want to store data in Cp1250.
In documentation, I found some instructions about setting properties for
JDBC driver, but it doesn't function.
I heard that the same problem appears with UTF-8 too.

My configuration is:

------JBoss--------

JBoss-2.4.3_Tomcat-3.2.3 with Interbase 6.01-Interclient 2.0

---jdbc driver-----

I tried both drivers from Inprise

lib\ext\interclient.jar
lib\ext\interclient-core.jar - recommended in manual

----jboss.jcml-----

<mbean
code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">interbase.interclient.Driver</attribute>
</mbean>

<mbean
code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=InterbaseDS">
<attribute name="PoolName">foo/DS</attribute>
<attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute
name="URL">jdbc:interbase://localhost/G:\database\Interbase\foo.gdb</attribute>
<attribute name="JDBCUser">sysdba</attribute>
<attribute name="Password">masterkey</attribute>
<attribute name="Properties">charSet=Cp1250</attribute>
</mbean>

Could you help me? Please ...

I'm lookin' for this on internet for a long time.
I'm already desperate.

Thanks for any ideas ...

Jiri Bel



Sun, 18 Apr 2004 07:28:24 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. ASA 6.01 & MS IIS4.0

2. Interbase 6.01 connection via ODBC and ACCESS

3. Deploying Delphi 2.0 & InterBase

4. Delphi & Access 2.0 - speed issues

5. InterClient & JDK1.2 rc1

6. ** VB6 & Access 2.0 Issues

7. InterClient 1.6 & sql dialects (InterBase 6 & Java, JBuilder 4)

8. Free database and JBoss with correct national encoding

9. Free database and JBoss with correct national encoding

10. Jboss & MySQL: Problems with CMP Bean creation

11. Interbase Workgroup & Interbase Local databases

12. clsd3dynamic array &amp; chr$(0) issue


 
Powered by phpBB® Forum Software