Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problem with OJB and Inheritance hierarcy

 
   Database Forums (Home) -> Object-Oriented RSS
Next:  The best Java ORM  
Author Message
Tellurik

External


Since: Sep 08, 2006
Posts: 1



(Msg. 1) Posted: Fri Sep 08, 2006 8:25 am
Post subject: Problem with OJB and Inheritance hierarcy
Archived from groups: comp>databases>object (more info?)

Hi,

I am using OJB for the first time. I have three tables, say T1, T2 and
T3. These tables are the ER representation of three java classes C1, C2
and C3. From the object orientation point of view C1 is the super class
of the other two.
When I had to map the classes with the tables I've used the "table per
subclass" method (map every subclass to a distinct table).

The problem is :
when I try to delete an Object of class C2 I expect that OJB delete the
C2 object and even the referenced C1 object. But this does not happens.

How could I achieve this behaviour?

Thanks
Vincent

 >> Stay informed about: Problem with OJB and Inheritance hierarcy 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
developing a Object Oriented Database -

Aggregation in FastObjects. How to define that in opt file? - Hello, I have theses java classes: - Course <<key>> code : short name : string gratingCurricular : set<Period> - Period <<key>> numPeriod : short anything: set<someThing> * For eac...

Help : How to manage stars in database ? - All, Any help would be gratefully appreciated. I have this trouble : In database in one column I have record like that : 000000001 0*6666**66 005555555 Stars could be anything between '0' and '9' So, if I look for this id : 0166662066, it would be..

How to get return type (Resultset) information from databa.. - Hai, For Example Below are two storeprocedures one returns resultset and other not, how get this information through programmatically. 1)CREATE PROCEDURE dbo.UpdateCustomers ( @CustomerID nchar(5), @CompanyName nvarchar(40), @ContactName..

Problems with sorting datas with db4o using orderderAscend.. - Hi, I have created a class "result" with several attributes. Then I have inserted approximately 10000 object result, stored in a yap file. I can get the data and display them. I'd like to know if it is possible, using the functions of db4o, t...
   Database Forums (Home) -> Object-Oriented All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]