-->
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.  [ 2 posts ] 
Author Message
 Post subject: Annotating the schema an object comes from
PostPosted: Fri Oct 21, 2005 5:43 pm 
Beginner
Beginner

Joined: Wed Apr 06, 2005 9:29 pm
Posts: 24
I understand that I can add the schema as part of an hbm file. How do I annotate that?

What I am doing is setting up a single sign on. I want 1 schema for Users and such. Then the other systems can have there own schema and, if need be, objects in those other schema can reference Users and I don't have to play games in the code to make it work.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 22, 2005 1:14 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
not sure if I understand you ... do you mean database "schema" ? if so, you want/need to use annotations such as @Table and @Column .


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

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.