Re: When to use OrionCMTDataSource?
Take a look at http://kb.atlassian.com/content/orion/docs/datasource-configuration/datasource-configuration.html It has some detail explaination of your question. ;-) Regards, Nevin - Original Message - From: "sana" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 2:22 AM Subject: When to use OrionCMTDataSource? | Hi, | | What kind of EJB needs to use OrionCMTDataSource | (or ejb-location of DriverManagerDataSource)? | CMT EJB only? | | Thanks, | sana | | | __ | Do You Yahoo!? | Yahoo! BB is Broadband by Yahoo! | http://bb.yahoo.co.jp/ | |
multi-level (3-level) dependant objects?
Dear all, Does orion support mutli-level dependant objects in its OR mapping? for example, I have the following rational relationship in my database: Order -- 1:m -- OrderLine -- 1:n -- OrderLineDetail I know orion is capable to have 1:m (2 levels) dependant mapping according to http://www.orionsupport.com/articles/complex-or.html. But I cannot find anywhere mention how to setup 3 levels dependancy. Could anyone point me to any reference? BTW, does entity -- entity dependant suport one-to-many relationship? Regards, Nevin
Re: Bug in deployment descriptor?!
Thanks Mikko (san?) :P - Original Message - From: "Mikko Kurki-Suonio" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 2:31 PM Subject: Re: Bug in deployment descriptor?! On Wed, 21 Mar 2001, Nevin Ng wrote: I wonder if you have met this situation before, I trying to deploy an entity bean with one of the field named "password". I have write the corresponding orion-ejb-jar.xml for the persistence mapping within database. Everything seems fine, the xml in the application-deployment directory is correct. Until the whole deployment is done, which orion compiled all the generated files, the seems to be correct orion-ejb-jar.xml has been updated with the "password" field mapping becomes "password_". Is this a bug or just my problem?! It's supposed to act this way, because "password" is in the "disallowed field names" list. You should only need to care about this if you've pregenerated the tables manually (and the forbidden list is in fact in error). //Mikko
Bug in deployment descriptor?!
Hi, I wonder if you have met this situation before, I trying to deploy an entity bean with one of the field named "password". I have write the corresponding orion-ejb-jar.xml for the persistence mapping within database. Everything seems fine, the xml in the application-deployment directory is correct. Until the whole deployment is done, which orion compiled all the generated files, the seems to be correct orion-ejb-jar.xml has been updated with the "password" field mapping becomes "password_". Is this a bug or just my problem?! I have tried all the ways and nothing can stop orion change the from "password" to "password_"! When I change the mapping to something else such as "blahblahblah" its ok, but not "password". I really confused about this strange behavior Regards, Nevin Ng
Question on EJB Finder
Hi there, I'm now working on the ejb finder methods with orion, I have some basic experience with it already and know how to do some basic declaration such as sub-select finder, etc. I know that orion will map arg1 to $1, arg2 to $2 and so on, but how about if I want to pass an array to the finder? e.g. I have a entity bean that will hold books, each of them will have an owner_id field. Now I want to define a finder call: public Collection findByOwner(Integer[] ownerID) throws RemoteException, FinderException; Then how could I define such argument in orion-ejb-jar.xml?! Regards, Nevin Ng
Cannot dispatch url with session id?
Hi there, I found that when requesting a RequestDispatcher's path is url encoded with session id, the returned object will be null. e.g. RequestDispatcher rd = request.getRequestDispatcher(response.encodeURL("/index.jsp")); this rd will return null if the encodeURL produces "/index.jsp;jsessionid=OOLKMGKDDCMA" Is this a bug cause I have no problem with other application server? Regards, Nevin Ng