RE: URGENT: Big issues with CMP 2.x and application-client !!!!

2002-05-01 Thread Gavin Spurling

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-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Vincent
Faidherbe
Sent: 30 April 2002 15:12
To: Orion-Interest
Subject: 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 name

of some fields for the persitence-name and consequently, the generated 
SQL doesn't work ... Example : cmp-field-mapping name=password 
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
icogs

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






RE: URGENT: Big issues with CMP 2.x and application-client !!!!

2002-05-01 Thread Ray Harrison
 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

URGENT: Big issues with CMP 2.x and application-client !!!!

2002-04-30 Thread Vincent Faidherbe

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 name 
of some fields for the persitence-name and consequently, the generated 
SQL doesn't work ... Example : cmp-field-mapping name=password 
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
icogs

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






Auto-reply: URGENT: Big issues with CMP 2.x and application-client !!!!

2002-04-30 Thread LUIGI.SAETTA

Hi 

I'll be out of office and unable to read e-mail till 6 of May, because I'm on vacation


---BeginMessage---

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 name 
of some fields for the persitence-name and consequently, the generated 
SQL doesn't work ... Example : cmp-field-mapping name=password 
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
icogs

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




---End Message---