Re: [OJB-developers] Help with MS SQL Server
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-04-03 10:17:49
|
Hi Anil, please refer to tutorial3.html it contains a long section on how to map inheritance hierarchies with OJB. It demonstrates sample code from package test.ojb.broker. HTH, Thomas Anil Kona wrote: > Thanks.. I got started > > I have a question on how inheritance is implemented. > > if I am creating a row in child table, is there anyway to tell OJB to also create a row in its parent ?.. > I have a class structure something like this: > > Employee extends Participant > > and in the repository file, for participant class descriptor I mentioned extent class name like this: > <class.name>com.againtech.ce.participant.ParticipantImpl</class.name> > <class.extent>com.againtech.ce.employee.EmployeeImpl</class.extent> > > and when I try to create a employee.. there is no row created in PARTICIPANT table. > > Is there a good example on inheritance ? > > Thanks in advance, > > -Anil > > -----Original Message----- > From: Thomas Mahler [mailto:tho...@ho...] > Sent: Tuesday, April 02, 2002 12:52 PM > To: Anil Kona > Cc: obj...@li... > Subject: Re: [OJB-developers] Help with MS SQL Server > > > Hi Anil, > > Please refer to the docs: > http://objectbridge.sf.net/rdbms-support.html > > HTH, > > Thomas > > Anil Kona wrote: > > > Hi, > > I am new to OJB. I need help configuring with MS SQL Server. > > I modified repository.xml file to use proper driver and commented out > hsqldb, still when I run ant tests, its picking up hsqldb ? > > I would appreciate if anyone can help me out. > > > > Thanks, > > > > Anil Kona > > Software Engineer > > Motiva, Inc. > > ani...@mo... > > (925) 600-2928 (Work) > > (925) 209-7972 (Mobile) > > > > > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > > > > > > > > > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > |