Hey guys!

I found the error. Actually my ejb-jar.xml was having
following two entries :-

<prim-key-class>com.titan.ship.ShipPK</prim-key-class>

and also

<primkey-field>id</primkey-field>

I removed the second line as actually my primary key
was a compound key and not a simple key and it worked.
So anybody who is working with the deploytool of J2EE
RI beware, beacuse it allows you to specify both
simultaneously.

Thanks

Vimal
--- Vimal Kansal <[EMAIL PROTECTED]> wrote:
> No, actually the line feed character that you are
> seeing is because it was wrapped around when I
> pasted
> the message in Yahoo. Moreover, I saw my database,
> table is getting created perfectly fine. It is
> actually problem with the generation of wrapper
> classes that Orion is not able to do.
> 
> Can somebody help me?.
> 
> Vimal
> --- Gordon Tyler <[EMAIL PROTECTED]> wrote:
> > > Auto-creating table: create table ShipBean (id
> > NUMBER
> > > not null primary key, tonnage double precision
> > null,
> > > capacity NUMBER null, na
> > > me VARCHAR2(255) null)
> > > Error compiling
> > >
> >
>
file:/C:/orion/applications/CreateShipApp/ejb-jar-ic.jar:
> > > Variable contained illegal space
> > 
> > The column/variable 'name' has a linefeed
> character
> > in the middle of the
> > word.
> > 
> > Ciao,
> > Gordon
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo!
> Messenger.
> http://im.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Reply via email to