RE: OR mapping of table joins for CMP

2000-09-12 Thread Magnus Rydin
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

RE: OR mapping of table joins for CMP

2000-09-12 Thread Kurt Hoyt
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

RE: OR mapping of table joins for CMP

2000-09-12 Thread Nick Newman
>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

RE: OR mapping of table joins for CMP

2000-09-12 Thread Joe Walnes
> 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

RE: OR mapping of table joins for CMP

2000-09-12 Thread Kevin Duffey
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

RE: OR mapping of table joins for CMP

2000-09-11 Thread Nick Newman
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

RE: OR mapping of table joins for CMP

2000-09-11 Thread Cory Adams
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

RE: OR mapping of table joins for CMP

2000-09-11 Thread Joe Walnes
> 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

OR mapping of table joins for CMP

2000-09-09 Thread Cory Adams
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