Package org.apache.openjpa.conf

Examples of org.apache.openjpa.conf.OpenJPAConfiguration.supportedOptions()


     * Validate that this field is supported by the runtime.
     */
    private void validateSupportedType() {
        // log warnings about things we don't handle
        OpenJPAConfiguration conf = getRepository().getConfiguration();
        Collection opts = conf.supportedOptions();
        Log log = conf.getLog(conf.LOG_METADATA);
        switch (getTypeCode()) {
            case JavaTypes.PC:
                if (isEmbedded() &&
                    !opts.contains(conf.OPTION_EMBEDDED_RELATION)) {
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.