Package org.caffinitas.mapper.annotations

Examples of org.caffinitas.mapper.annotations.CInheritance.type()


                    if (inheritance == null) {
                        throw new ModelUseException(
                            "inherited entity root is not annotated with @" + CInheritance.class.getSimpleName());
                    }
                    // base entity of inheritance structure
                    switch (inheritance.type()) {
                        case SINGLE_TABLE:
                            entity = new MappedEntitySTRoot(this, parseEntity);
                            break;
                        case TABLE_PER_CLASS:
                            entity = new MappedEntityTPCRoot(this, parseEntity);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.