Title: RE: OR mapping of table joins for CMP
I would seriously consider going into EJB 2.0 directly, as OR-mapping os so much neater there.
There is tutorials coming up on the sites listed by Joe below, or you could have a look at the EJB 2.0 example called ATM.
But afaik, there is no UML
about how your classes are related and stored in the database. You should
get the draft EJB 2.0 spec (which I think comes with the Orion docs) and
read it. It's not as dry as it could be.
Kurt in Atlanta
>-Original Message-
>From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
>S
>One thing that caught my eye, from what you said, it sounds like you don't
>create database tables from a special tool, then write SQL and other stuff
>to insert, remove, update and search? Is this the case with O/R and CMP? Do
>you define an entity bean class, and the app server automatically
> I would like to learn HOW I can learn this. :) I know nothing of
> CMP and O/R
> at this point, so where do I start learning? I can't just load up
> Orion and
> blindly code this stuff..is there a good book on CMP and O/R with EJBs? I
> realize each vendor has their own implementation of how CM
Hi,
This is to Nick, and anyone else that can shed some light..
> If you did this you would find that Orion would auto-create
> tables that are
> basically identical in form to those that you have, but probably with
> different names. If you now go into the orion-ejb.xml file that orion
> gener
Hi Cory,
Perhaps I can help a little...
With CMP it is largely up to the server (orion) to decide how it will store
its data. Books will generally not discuss the details of the storage
precisely because it is up to the server vendor to decide. If you need
complete control over the storage sch
If I have two tables and I would like to join them using CMP how would I
accomplish that?
So in essence I'm trying to do something like:
select table1.id, table1.first_name, table1.job_id, table2.job_description
from table1, tables2
where table1.job_id = table2.job_id;
And perhaps any descrip
> Can somebody please point me to a good reference for managing
> joins across
> multiple tables while using CMP? There was a thread on the list that
> somebody pointed me to previously but it did not really give the
> information I needed.
>
> I just want to be able to specify tables and fields
Can somebody please point me to a good reference for managing joins across
multiple tables while using CMP? There was a thread on the list that
somebody pointed me to previously but it did not really give the
information I needed.
I just want to be able to specify tables and fields to do joins