Hello Karl,
You have solved the underscore problem but not the other Oracle problems:
-table identifiers too long:
the only solution is to manually change table names in orion-ejb-jar.xml but
is not simple if the application is packaged (ATM or news sample) in a .ear
file
-support for java.io.Serializable (used in ATM sample):
solved adding <type-mapping type="java.io.Serializable" name="long raw" />
in oracle.xml
Regards
Luciano Montebove
Finsiel
[EMAIL PROTECTED]
-----Messaggio originale-----
Da: Karl Avedal [mailto:[EMAIL PROTECTED]]
Inviato: gioved� 9 marzo 2000 21.25
A: Orion-Interest
Cc: Orion-Interest
Oggetto: Re: News demo, Oracle invalid character
Hello James,
This is an issue with Oracle not liking leading underscores in
identifiers, if you download the latest orion jar
(http://www.orionserver.com/orion/orion.jar) and replace your orion.jar
with it, the problem should disappear.With that version, no identifiers
with leading underscores will be generated.
Regards,
Karl Avedal
James McMullen wrote:
> I've just installed Orion for the first time and am attempting to run
> the news demo.
> Orion came up just fine, and I'm refering the Oracle xml file, but
> nevertheless I fail to create the table.
>
> Has anyone seen this "invalid character" problem?
>
> Thanks,
>
> James McMullen
>
> Auto-unpacking D:\orion\applications\news.ear... done.
> Auto-unpacking D:\orion\applications\news\news-web.war... done.
> Auto-deploying news...
> Auto-deploying news-ejb.jar...
> Auto-creating table: create table com_evermind_ejb_NewsItem (id
> number(20,0) not null primary key, subject varchar2(255) null, _date
> date null, submitter varchar2(255) null, text varchar2(255) null,
> locale varchar (5) null, _parent number(20,0) null)
> Warning: Error creating table: ORA-00911: invalid character
>
> --
> http://www.iiCity.com
> [EMAIL PROTECTED]