Package net.sourceforge.processdash.util

Examples of net.sourceforge.processdash.util.SqlResultData


        }

        Object value = map.get(propertyName);

        if (value instanceof SqlResultData) {
            SqlResultData data = (SqlResultData) value;
            value = data.getSingleValue();
        }

        String text = StringUtils.asString(value);
        if (text != null && text.indexOf('\n') != -1)
            text = "<html><body><pre>" + text + "</pre></body></html>";
View Full Code Here


            sqlStep = EXECUTING;
            ResultSet results = statement.executeQuery();

            sqlStep = READING;
            SqlResultData resultData = new SqlResultData(results);

            return resultData;

        } catch (SQLException sqle) {
            logger.log(Level.SEVERE, LOG_MESSAGES[sqlStep], sqle);
View Full Code Here

            if (ErrorValue.isRealError(value))
                errorData = (ErrorData) value;

            else if (value instanceof SqlResultData) {
                SqlResultData data = (SqlResultData) value;
                value = data.getSingleValue();
            }

            if (value == null) {
                isNullPresent = true;
                String missing = map.getErrorForMissingAttr(parameterName);
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.util.SqlResultData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.