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

amework.framework-persistence-hibernate.4.1.1805.source-code.ExtendedSqlMap.xml Maven / Gradle / Ivy

There is a newer version: 4.4.1812
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap [
        <!ELEMENT sqlMap (sql*)>
        <!ELEMENT sql (#PCDATA)>
        <!ATTLIST sql id  CDATA #REQUIRED>
        ]>
<sqlMap>
    <sql id="QUERY_ID_TEST1">
        <![CDATA[select a.userCode,a.uintCode,b.projectID,
				b.name as projectName,b.projectType,b.totalPoeples
				from projectInfo b join projectOwner a  on a.projectID=b.projectID
				 [companyType | join CompanyInfo c on b.companyId=c.companyId]
				where 1=1 {projectOwner:a,projectInfo:b}
				[projectType:pt| and b.projectType=:pt]
				[:companyType,:companyName | and
				 	 c.companyType=:companyType and c.companyName like :companyName]
				 order by b.name ]]>
    </sql>
</sqlMap>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy