1 Reply Latest reply on Dec 10, 2009 3:09 AM by gary ding

    I can not use special character as search condition in persistent layer

    gary ding Newbie

      I can not use # as search condition in persistent layer

      The org.jboss.seam.persistence.QueryParser set limitation to use # as condition

      For example, I have a sql, "from xxxxxx where field1='#dsdsds' and field2 like 'dsds#fdfd'"

      The seam will throw throw new IllegalArgumentException("missing { after # in query fragment");


      How I do it? I can not limit user to input # as search condition