0 Replies Latest reply on Nov 8, 2007 5:53 PM by Scott Stark

    isCMP1x()

    Scott Stark Master

      Alexey, this update to return true for a null cmp-version when its not a 2x ejb also returns true for a 3x ejb deployment. Should this also be checking for isEJB3x() and returning false if that is true?

       public boolean isCMP1x()
       {
       if(cmpVersion == null)
       {
       if(getEjbJarMetaData().isEJB2x())
       return false;
       else
       return true;
       }
       return "1.x".equals(cmpVersion);
       }