All Downloads are FREE. Search and download functionalities are using the official Maven repository.

custom-sql.ratings.xml Maven / Gradle / Ivy

There is a newer version: 7.0.0-nightly
Show newest version
<?xml version="1.0"?>

<custom-sql>
	<sql id="com.liferay.portlet.ratings.service.persistence.RatingsEntryFinder.findByU_C_C">
		<![CDATA[
			SELECT
				{RatingsEntry.*}
			FROM
				RatingsEntry
			WHERE
				(RatingsEntry.userId = ?) AND
				(RatingsEntry.classNameId = ?) AND
				(RatingsEntry.classPK IN ([$CLASS_PKS$]))
		]]>
	</sql>
	<sql id="com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder.findByC_C">
		<![CDATA[
			SELECT
				{RatingsStats.*}
			FROM
				RatingsStats
			WHERE
				(RatingsStats.classNameId = ?) AND
				(RatingsStats.classPK IN ([$CLASS_PKS$]))
		]]>
	</sql>
</custom-sql>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy