Hi
For #1 below - adding the '_' for persistence names is likely due to the database schema definition in your config/database-schemas directory for your particular data source. It probably has 'password' as a disallowed field and hence will add the '_' to the field name - if you have an existing table which does in fact have the field 'password', then remove this from your disallowed field list, make the change in orion-ejb-jar.xml and restart Orion and that should take of it.
For#2 - haven't seen that one before.
Cheers
Ray
Gavin Spurling [EMAIL PROTECTED] wrote:
I believe it only does this on fields named "password" as this can be areserved word in some DBs, it will do this if its autogenerating thetables for you. You can always edit the orion-ejb-jar.xml file andchange the mapping to what suits you.-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of VincentFaidherbeSent: 30 April 2002 15:12To: Orion-InterestSubject: URGENT: Big issues with CMP 2.x and application-client Hello,I'm running Orion on a SuSe Linux 7.0 with a Sun JDK 1.3.1_03. I've encountered two problems :1. When using CMP 2.x entity bean, Orion adds an underscore to the nameof some fields for the persitence-name and consequently, the generated SQL doesn't work ... Example : persistence!
-name="password_" /2. I've written n command-line client to different EJBs. If the application-client.xml bound with the client refers to an unknown remoteinterface, the JVM of orion crashes with a stack overflow error.Any idea ?-- Vincent Faidherbeicogs"Do you think C++ is lovable? Unless you're into SM (SoftwareMasochism), probably not." (JLG)Do You Yahoo!?
Yahoo! Health - your guide to health and wellness