Hi,

I have a problem with using ejb-ql but i couldnt find the answer. 
I need to use a trim function  in a finder query so that i am able to cut the spaces
appended at the end of a field but i dont know how. 

My query is like as follows:

select OBJECT(d) from Doctors d where d.doctorId = ?1

what i want to do:

select OBJECT(d) from Doctors d where trim(d.doctorId) = ?1

my application server is wls8.1

Regards...
Me_sut



***********************************************************************
Bu elektronik posta ve onunla iletilen bütün dosyalar sadece göndericisi tarafindan 
almasi amaçlanan yetkili gerçek ya da tüzel kisinin kullanimi içindir.Eger söz konusu 
yetkili alici degilseniz bu elektronik postanin içerigini açiklamaniz,kopyalamaniz, 
yönlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal 
silmeniz gerekmektedir
TURKCELL bu mesajin içerdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda 
herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun 
içeriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu 
mesajdaki görüsler yalnizca gönderen kisiye aittir ve TURKCELL'in görüslerini 
yansitmayabilir
Bu e-posta bilinen bütün bilgisayar virüslerine karsi taranmistir.
***********************************************************************
This e-mail and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you are not the 
intended recipient you are hereby notified that any dissemination, forwarding, copying 
or use of any of the information is strictly prohibited, and the e-mail should 
immediately be deleted.
TURKCELL makes no warranty as to the accuracy or completeness of any information 
contained in this message and hereby excludes any liability of any kind for the 
information contained therein or for the information transmission, reception, storage 
or use of such in any way whatsoever.The opinions expressed in this message belong to 
sender alone and may not necessarily reflect the opinions of TURKCELL.
This e-mail has been scanned for all known computer viruses.
***********************************************************************

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to