File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filter problem

 
gaurav gupta sitm
Ranch Hand
Posts: 47
Java Redhat Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Framework - JPA

Symbols
# cause to -java.lang.NumberFormatException: null

% cause to - null
JPA convert this "%" to "" (Empty) and insert nothing to database so On retrival it returns 'null'

& cause to - Space
JPA convert this '&' (amp) to '"' (Double quotes ) and insert DoubleQuotes to database so On retrival it returns ' ' (Space)


is there any technique to handle these symbols -----
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic