I'am facing with the same problem.
In my case: I'm connecting to a DB2 database. Some primary keys are VARCHARs. But in 
indices, DB2 always stores the max. string size specified in VARCHAR(n). The bevaiour 
exactly like your problem. The data out of the index comes like for CHAR columns: With 
spaces.

As a workaround, I am wondering, if it is possible to trim all columns of type 
CHAR/VARCHAR in the result set, bevor the data is stored in the entity bean. Actually: 
No idea.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839780


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to