Alexey, Do you have any plans for what you might want to re-use between the CMP engine and JBossdO? The front end interfaces will be different (org.jboss.persistence.schema and org.jboss.persistence.sql) but can we encapsulate anything behind the front API for reuse?
What exactly do you think will be the major points of difference between CMP and JBossDO for table generation? Obviously there won't be a 1-1 relationship, so we'll have to grab the object graph and create tables as we move through it. Although maybe we'll want to get the entire object graph in memory and then use some sort of heuristic for generating the tables. (We could presumably have more tables than object types, depending on how we want to use foreign keys.) Just trying to get in the correct mode of thought for tackling this thing. Thanks, Steve > --__--__-- > > Message: 2 > Date: Sun, 20 Jul 2003 17:47:39 +0300 > From: Alexey Loubyansky <[EMAIL PROTECTED]> > Organization: JBoss Group, LLC > To: Steve Lewis > <[EMAIL PROTECTED]> > Subject: Re: [JBoss-dev] JBossDO > Reply-To: [EMAIL PROTECTED] > > Hello Steve, > > very nice to meet you! In fact, no one is working on > schema generation > for JBossDO and new persistence engine at the > moment. > > Saturday, July 19, 2003, 8:31:51 AM, Steve Lewis > wrote: > > SL> I'd like to get involved with the JBossDO > project. > SL> I've asked a few questions in the persistence > forum > SL> but no one has answered. > > I'll answer. I was off-line a couple of days. > > SL> I know you guys are busy :), > SL> but I'd like to work on table generation, since > no one > SL> seems to be working on it right now. > > You are welcome to be the first! ;) > > SL> I'd like to see how it's currently being done by > the > SL> CMP engine and see how different it will be in > the JDO > SL> implementation. > > For 3.X CMP, you can take a look at > JDBCStartCommand.java. This is > really the start of the process. The schema is > generated based on > the metadata. > For new engine, we'll need absolutely new > imlpementation, I think, > based on schema API implementation for SQL. Take a > look at > org.jboss.persistence.schema and > org.jboss.persistence.sql. Feel free > to contact me directly. > > > Thanks, > > alex > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
