Package org.apache.isis.objectstore.sql.jdbc.installer

Examples of org.apache.isis.objectstore.sql.jdbc.installer.JdbcFieldMappingFactoryInstaller


    @Override
    protected ObjectStoreSpi createObjectStore(final IsisConfiguration configuration, final ObjectAdapterFactory objectFactory, final AdapterManagerSpi adapterManager) {

        if (objectStore == null) {
            final FieldMappingLookup fieldMappingLookup = new FieldMappingLookup();
            final JdbcFieldMappingFactoryInstaller installer = new JdbcFieldMappingFactoryInstaller();

            Defaults.initialise(SqlObjectStore.BASE_NAME, IsisContext.getConfiguration());

            installer.load(fieldMappingLookup);
            // fieldMappingLookup.setValueMappingFactory(new
            // JdbcFieldMappingFactoryInstaller());

            final ObjectMappingLookup objectMappingLookup = new ObjectMappingLookup();
            objectMappingLookup.setValueMappingLookup(fieldMappingLookup);
View Full Code Here

TOP

Related Classes of org.apache.isis.objectstore.sql.jdbc.installer.JdbcFieldMappingFactoryInstaller

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.