Package com.dotmarketing.db

Examples of com.dotmarketing.db.LowercaseNamingStrategy


      }

      cfg.setProperties(SystemProperties.getProperties());
      //http://jira.dotmarketing.net/browse/DOTCMS-4937
      if (DbConnectionFactory.isMySql()) {
        cfg.setNamingStrategy(new LowercaseNamingStrategy());
        Table liferayTable  = cfg.getClassMapping(com.liferay.portal.ejb.CompanyHBM.class).getTable();
        liferayTable.setName("company");
        liferayTable  = cfg.getClassMapping(com.liferay.portal.ejb.AddressHBM.class).getTable();
        liferayTable.setName("address");
        liferayTable  = cfg.getClassMapping(com.liferay.portal.ejb.ImageHBM.class).getTable();
View Full Code Here

TOP

Related Classes of com.dotmarketing.db.LowercaseNamingStrategy

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.