Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Type mapping in JBoss for Oracle9i

Thread Tools

Type mapping in JBoss for Oracle9i

Posts: n/a

i am using Jboss 4.0.4 with EJB2.1 and a Oracle Database.
In my database there are tables containing CLOB fields.
The EJB accessing these tables use a "special" jbosscmp-jdbc.xml in
which i explicitely define the CLOB type for the relevant fields.


That works fine but makes me have to use different jbosscmp-jdbc.xml
files for different databases (e.g SQLServer).
Maybe i misunderstood something but i think normaly such type-mapping
has do be done in standardjbosscmp-jdbc.xml in the conf directory of
my used server implementation.
But when i define the CLOB mapping in that file it does not work.


JBoss does not throw neither an exception nor error or warning.
The accessing method in the bean just returns null such as if the db
field contains null. I draw the conclusion, that JBoss just has
problems reading the db data of the CLOB field.

Can someone explain why my the "global" mapping does not work?
Maybe i just forgot something else?

Thanks for your help

Harri E.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
connect with oracle9i Jack ASP .Net Datagrid Control 0 09-22-2006 05:39 AM
Problems with IIS 5.1 & Oracle9i dev_cool ASP .Net 4 12-14-2005 03:37 PM
How to access the Oracle9i? Python 4 03-05-2004 05:02 AM
Connecting Python to Oracle9i on AIX 5.1 Kelly Carrigan Python 0 10-20-2003 05:35 PM
Deploying myapp.EAR in Oracle9i Application Server Java 2 10-03-2003 02:26 PM