Re: Bug in deployment descriptor?!
Hi Nevin, Databases will have their own list of keywords that you can't use as attribute names and "password" is generaly one of them. The database schema contains this list and its behaviour is such that the illegal keywords will be appended by the "_" character. Check out $ORIONDIR/config/database-schemas for your particular database. Cheers Ray --- Nevin Ng [EMAIL PROTECTED] wrote: 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 __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
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