Package com.liferay.portal.kernel.dao.db

Examples of com.liferay.portal.kernel.dao.db.IndexMetadata


                        EntityColumn col = finderColsList.get(k);

                        finderColsNames.add(col.getDBName());
                    }

                    IndexMetadata indexMetadata =
                            IndexMetadataFactoryUtil.createIndexMetadata(
                                    finder.isUnique(), entity.getTable(),
                                    finderColsNames.toArray(
                                            new String[finderColsNames.size()]));

                    indexSQLs.put(
                            indexMetadata.getSpecification(),
                            indexMetadata.getCreateSQL());

                    String finderName =
                            entity.getTable() + StringPool.PERIOD +
                                    finder.getName();

                    indexProps.put(finderName, indexMetadata.getIndexName());
                }
            }
        }

        for (Map.Entry<String, EntityMapping> entry :
View Full Code Here

TOP

Related Classes of com.liferay.portal.kernel.dao.db.IndexMetadata

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.