My 2c

I don't see any implementations for trim in the EJB 2.1 specifications.

Regards,
Devesh


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED] On Behalf Of Mesut Celik
Sent: Monday, February 23, 2004 3:20 AM
To: [EMAIL PROTECTED]
Subject: EJB-QL trim usage


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".


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.

===========================================================================
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