orion-ejb-jar.xml query

2001-03-18 Thread Mangesh Laad
Hi everybody I am experiencing problem in orion-ejb-jar.xml . Whenever i try to write a finder method involving 2 fields rather than one, orion overwrites the query in the finder-method by a findAll equivalent method like below finder-method query="" !-- Generated SQL: "select codes.companyId,

orion-ejb-jar.xml query

2001-03-17 Thread Mangesh Laad
Hi everybody I am experiencing problem in orion-ejb-jar.xml . Whenever i try to write a finder method involving 2 fields rather than one, orion overwrites the query in the finder-method by a findAll equivalent method like below finder-method query="" !-- Generated SQL: "select codes.companyId,

Re: Primarkey is 0

2001-03-17 Thread Mangesh Laad
Hi Patrick Just go thru the addressbook example provided in the Orion CMP Primer within the documentation link on www.orionserver.com site..what u get from coolection is RMI objects that have to be collected in an array and when u iterate thru the array u pick out each rmi object and

Re: SV: Primarkey is 0

2001-03-17 Thread Mangesh Laad
Hi I feel u shud try using java.lang.Long instead of long.the NullPointerException is thrown since the ejb container is not able to get any rows from the database for the primary key u specified make the change in datatype and try out --- Patrik Andersson [EMAIL PROTECTED] wrote: I

Re: Problems with a finder method in a cmp

2001-02-09 Thread mangesh laad
Hi All u have to do is just write the findByName as u already have in the home interface . While deploying the orion will write the coresponding finder query for you in the orion--ejb-jar in its finder-method tag From: "fresnaULL" [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL

Query abt CLOB

2001-02-09 Thread mangesh laad
Hi All Does Orion support CLOB and BLOB data type or Oracle 7.0 onwards _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

RE: Why javac does not compile servlet?

2001-01-27 Thread mangesh laad
Hi even i used ant it works absolutely perfect. Just give proper location of the source files in the include attribute of the build.xml batch file which i used after modifying the one got from addressbook on orionserver.com wesite in Orion CMP Primer examples. This build can be used as a

Problem

2001-01-25 Thread mangesh laad
Hi I am working on a CMP EJB application. I have got a finder method in one of my EJB's home class which has 2 input parameters . So ideally speaking the container should execute a select query internally which has where clause with 2 conditions. Now on deployment using the java -jar

RE: Problem

2001-01-25 Thread mangesh laad
it with its own created finder-methods. I can give you the directory structure if you want . Once again thanks for theinformation Regards Mangesh laad From: Tim Drury <[EMAIL PROTECTED]> Reply-To: Orion-Interest <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Subj