Hi,
I have an EJB-3.0 application running on JBoss 4.2.2. When I select a CHAR type 
column from an Oracle-9i table, using the javax.persistence.Query, it returns 
java.lang.Charater type data, which can hold only one char eventhough my column 
length is more than 1. I changed the data type mapping in the 
standardjbosscmp-jdbc.xml as 

         
            <java-type>java.lang.String</java-type>
            <jdbc-type>CHAR</jdbc-type>
            <sql-type>CHAR</sql-type>
         

But, still does not help. Any help on this is greately appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159320#4159320

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159320
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to