@Override
   protected void prepareQueries() throws SQLException
   {
      super.prepareQueries();

      FIND_WORKSPACE_DATA_SIZE = "select sum(len(DATA)) from " + JCR_VALUE;

      FIND_NODE_DATA_SIZE =
         "select sum(len(DATA)) from " + JCR_ITEM + " I, " + JCR_VALUE
            + " V  where I.PARENT_ID=? and I.I_CLASS=2 and I.ID=V.PROPERTY_ID";

      FIND_VALUE_STORAGE_DESC_AND_SIZE = "select len(DATA), STORAGE_DESC from " + JCR_VALUE + " where PROPERTY_ID=?";
   }
@ Override protected void prepareQueries ( ) throws SQLException { super . prepareQueries ( ) ; FIND_WORKSPACE_DATA_SIZE = "select sum(len(DATA)) from " + JCR_VALUE ; FIND_NODE_DATA_SIZE = "select sum(len(DATA)) from " + JCR_ITEM + " I, " + JCR_VALUE + " V  where I.PARENT_ID=? and I.I_CLASS=2 and I.ID=V.PROPERTY_ID" ; FIND_VALUE_STORAGE_DESC_AND_SIZE = "select len(DATA), STORAGE_DESC from " + JCR_VALUE + " where PROPERTY_ID=?" ; }
{@inheritDoc}