--- Volkan Yildiz <[EMAIL PROTECTED]> wrote: > Hi all, > I have a problem about ejb finders. I need to write > a > query like this > > * @ejb:finder signature="java.util.Collection > findName1( > java.lang.String name)" > * query="" > * > * @jboss.query signature="java.util.Collection > findName1(java.lang.String name)" > * query="SELECT OBJECT(c) FROM Personnels AS c > WHERE > c.name1 LIKE ?1" > > But it did not work. So how can i use the like > method anyway.
This question is a bit out of scope of xdoclet, but jboss likes to have ejb-ql query specified ( my opinion ) As for "like" - it's definitely issue with jboss persistence engine. What database mapping you are using? Maybe you can ask this question in jboss forums - there is a lot of people who understand it better. regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
