These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Discriminator not updating correctly
PostPosted: Sat Sep 25, 2004 11:57 am 
Newbie

Joined: Mon Sep 20, 2004 7:02 am
Posts: 3
I have some problem while updating using discriminator

the problem goes like this
i have a table and in that table i have 2 primary key and one column
of which one of them i have made as the discriminator coloumn

the fields cd and flag are the primary key and flag is the discriminator

i have made 3 subclasses for this table

i will get an row not found error when the following type of data is updated

cd flag desc
2 C test1
2 D test2
2 R test3

where C, D and R are discriminator-values for the there subclasses

ie if the cd contain same value for differen subclasses it is giving error

why could this be
thanks in advance
zeeta


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.