-->
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: Mapping of version/timestamp for one-to-one associations
PostPosted: Tue Feb 01, 2005 12:53 pm 
Newbie

Joined: Wed Feb 04, 2004 12:33 pm
Posts: 13
Location: Vienna/Austria
Hibernate version:
2.1.7 - thinking about 2.1.8

Name and version of the database you are using:
Oracle 9iR2

Today my question(s) is the following:

- Is it possible to map a version or timestamp column of a Table A to a column of Table B, which is a one-to-one (primary key) associated table of Table A?

- How/When to assign the id-value of the one-to-one association, which is unidirectional?

And - unfortunately again, as I didn't find any answers, studying the reference manual, hibernate in action or the forum:

- Is it possible to map primary key associations from several tables to the same sub-table? I don't need a bidirectional association, so the sub-table won't have - in my understanding - an embedded one-to-one mapping element! But how to declare the necessary id element as "foreign" properly?

Thanks for any hints/suggestions/help

kind regards
K:)


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.