1 Reply Latest reply on Mar 3, 2002 6:00 PM by Dain Sundstrom

    new features for jboss-ql?

    Newbie

      With new QL language parser it is quite easy to add new features to jboss-ql (actually to ejb-ql too, but it is driven by spec).

      One upcoming feature is allowing string expressions in LIKE, i.e. you will be able to make LIKE ?1 in finder query. Dain, correct me if I'm wrong.

      So, do not hesitate to ask for new features or implement them directly in
      jboss-all\server\src\main\org\jboss\ejb\plugins\cmp\ejbql\JBossQLParser.jjt
      and provide your patches (in this forum?).

      One interesting question for me is if (JBoss-)QL should be superset of SQL, subset or they are just different (and what is the difference than)? I am sorry for such newbie question, but I think this is important to understand for everybody who wants to add new features to jboss-ql.

        • 1. Re: new features for jboss-ql?
          Dain Sundstrom Master

          Alexander, thanks for getting this discussion going.

          > One upcoming feature is allowing string expressions
          > in LIKE, i.e. you will be able to make LIKE ?1 in
          > finder query. Dain, correct me if I'm wrong.

          I'll be adding the soon.

          > So, do not hesitate to ask for new features or
          > implement them directly in
          > jboss-all\server\src\main\org\jboss\ejb\plugins\cmp\ej
          > ql\JBossQLParser.jjt
          > and provide your patches (in this forum?).

          Post the patches at sourceforge.

          > One interesting question for me is if (JBoss-)QL
          > should be superset of SQL, subset or they are just
          > different (and what is the difference than)? I am
          > sorry for such newbie question, but I think this is
          > important to understand for everybody who wants to
          > add new features to jboss-ql.

          The goal for JBossQL is to be a super set of EJB-QL. I would like to more features from SQL, but I don't want to get too far in front of the 2.1 EJB spec (they will be adding group by stuff).

          I think the most important thing to add is more functions(like date handling functions).