Package org.rhq.core.db

Examples of org.rhq.core.db.FeatureNotSupportedException


        @Override
        protected StringBuilder appendCreateSeqStem(HashMap<String, Object> terms, StringBuilder builder) {
            final String name = ((String) terms.get(CreateSequenceExprBuilder.KEY_SEQ_NAME)).toUpperCase();
            if (!name.endsWith(SEQ_SUFFIX)) {
                throw new FeatureNotSupportedException(SQLServerDatabaseType.SEQ_ERROR_MSG);
            }
            String tableName = name.substring(0, name.length() - SEQ_SUFFIX.length());

            builder.append("ALTER TABLE ").append(tableName)
                    .append(" ALTER COLUMN ID IDENTITY( ").append(terms.get(CreateSequenceExprBuilder.KEY_SEQ_START))
View Full Code Here

TOP

Related Classes of org.rhq.core.db.FeatureNotSupportedException

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.