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.



  Gavin Spurling <[EMAIL PROTECTED]> wrote:

I believe it only does this on fields named "password" as this can be a
reserved word in some DBs, it will do this if its autogenerating the
tables for you. You can always edit the orion-ejb-jar.xml file and
change the mapping to what suits you.

-----Original Message-----
[mailto:[EMAIL PROTECTED]] On Behalf Of Vincent
Sent: 30 April 2002 15:12
To: Orion-Interest
Subject: URGENT: Big issues with CMP 2.x and application-client !!!!


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 name

of 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 remote

interface, the JVM of orion crashes with a stack overflow error.

Any idea ?

Vincent Faidherbe

"Do you think C++ is lovable? Unless you're into SM (Software
Masochism), probably not." (JLG)

Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

Reply via email to