I have given up on Orion (support), completely. When I got to know
Orion, I was very
excited with the EJB 2.0 preview, very good performance etc. Of course,
like most
of you I was disappointed with the documentation, but that was no excuse
not
to try the software.
I was generally happy with
What you want to do is provide your own orion-ejb-jar.xml. place it in
your XXX-ejb.jar under orion/orion-ejb-jar.xml
It will get copied at deployment time. Orion will fill-in all that is
missing but will start with your own copy. You can
then specify tables and attributes for your CMP mappings.
I completely understand where you're trying to go. However, keep in mind
Entity beans are not meant to hold business rules. They are an interface
to
your physical storage.
We have solved that problem using a facade pattern that basically works
by
shielding the developper from the actual
a...
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/myDS");
So maybe it might not work with the initialApplicationContext??
(although
the console belies that)
Al
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf
Daniel
-----Original Message-
From: Daniel Cardin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 1:17 PM
To: Orion-Interest
Subject: Orion-console in 1.4.7 supports DataSource properly... now
what!!!
Hi everyone!
I'm progressing... Orion 1.4.7 has support for DataSources in the
ori
Ok folks...
Here's what I have found out. Contrary to what I believed, it seems
the Orion console uses another trick than a DataSource to run SQL
commands on the server: the executeSQL method of the
ApplicationAdministrator
class. I have managed to run commands from my client program using
Hi everyone!
I'm progressing... Orion 1.4.7 has support for DataSources in the
orion-console application.
If you select a DataSource, you will see a new panel allowing you to
enter SQL commands that will
be sent directly to the database through the DataSource + connection.
it WORKS in the
Have anyone else seen the problem where the getConnection() returns a
com.evermind.sql.ak type, but ANY operation on that connection such as
getMetaData etc. raises a NullPointerException ?
I am desperate to connect to a JDBC datasource _cleanly_ from the client
side. Is it possible ?
Thanks!
the application client when
the beans
are deployed as CMP beans ?
Thanks!
Daniel
-Message d'origine-
De : Daniel Cardin
Envoy : 29 janvier, 2001 11:08
: Orion-Interest
Objet : Pooled Data Source
Well... it seems I just can't make it work, even though I have read just
about all the messages
Well... it seems I just can't make it work, even though I have read just
about all the messages on the subject.
datasources :
data-source
class="com.evermind.sql.DriverManagerDataSource"
name="ddsNP"
location="jdbc/ddsNP"
I have unsuccessfully tried to implement CMP using PK classes...
Normal implementation, public fields, overriding of the hash value etc.
Anyone got EJB 2.0, CMP, composite keys PK classes working ?
Thanks,
Daniel
-Message d'origine-
De : Juan Lorandi (Chile) [mailto:[EMAIL
I'd like to point out that a third table is only needed for a N-M
(many-to-many) relationship.
In the case of a 1-N relationship, simply have a foreign key to the
master table.
For example :
Customer object refers to a Country object
you a Customer will only have one Country object. you do NOT
Has anyone managed to build EJB 2.0 applications using Orion, CMP and
composite primary keys
using a PK class ?
I believe I have followed all recommandations but can't seem to make it
work.
Cheers,
Daniel
atic).
So my personal contribution to the subject must be:
who cares how many tables are used 'back there' ? :)
-Ursprungligt meddelande-----
Frn: Daniel Cardin [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Skickat: den 23 januari 2001 05:01
Till: Orion-Interest
mne: RE: O
14 matches
Mail list logo