Package org.datanucleus.store.rdbms.exceptions

Examples of org.datanucleus.store.rdbms.exceptions.WrongScaleException


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

TOP

Related Classes of org.datanucleus.store.rdbms.exceptions.WrongScaleException

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.