Realization of Like in JBoss-QL, Order By

zhaozj2021-02-16  105

Add the following code under EJB-JAR.XML:

.......

FindBynamelike java.lang.string

Add the following code under jbosscmp-jdbc.xml:

......

FindBynamelike java.lang.string Select Object (c) from county as c where c.name like control ('%') ORDER BY C.ID DESC

转载请注明原文地址:https://www.9cbs.com/read-11154.html

New Post(0)