Package org.jpox.store.rdbms.exceptions

Examples of org.jpox.store.rdbms.exceptions.WrongPrecisionException


                    if (sqlPrecision != actualPrecision)
                    {
                        if( this.columnMetaData != null && this.columnMetaData.getParent() != null && (this.columnMetaData.getParent() instanceof AbstractMemberMetaData))
                        {
                            //includes the field name in error msg
                            throw new WrongPrecisionException(this.toString(), sqlPrecision, actualPrecision, ((AbstractMemberMetaData)this.columnMetaData.getParent()).getFullFieldName());
                        }
                        else
                        {
                            throw new WrongPrecisionException(this.toString(), sqlPrecision, actualPrecision);
                        }
                    }
                }
               
                if (columnMetaData.getScale() != null && actualScale >= 0)
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.exceptions.WrongPrecisionException

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.