-->
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.  [ 5 posts ] 
Author Message
 Post subject: Hibernate Mapping Help
PostPosted: Thu Apr 26, 2007 11:28 pm 
Newbie

Joined: Wed Apr 25, 2007 11:34 pm
Posts: 3
Hi,

I have a table with the following field...

fieldName: mailto

Type:mediumint

Description: Either a user ID (foreign key profiles.userid) or group ID (foreign key groups.id) identifying the user or users to whom to send whine messages.

How to configure this in hibernate mapping file.

Is it possible to have either or foreign key relation....

Please help...

Thanks,

Regards,
Hari Krishna.


Top
 Profile  
 
 Post subject: Please help..I need it..
PostPosted: Fri Apr 27, 2007 2:28 am 
Newbie

Joined: Wed Apr 25, 2007 11:34 pm
Posts: 3
Please help..I need it..

Thanks & Regards,
Hari krishna.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 2:47 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
HI harig,

Show us some stuff,If you gets some problem we will look into that

_________________
Dharmendra Pandey


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 5:51 am 
Senior
Senior

Joined: Sat Apr 21, 2007 11:01 pm
Posts: 144
Don't want to sound rude, but I think you really need to read: http://www.hibernate.org/ForumMailingli ... AskForHelp


Top
 Profile  
 
 Post subject: Link here
PostPosted: Fri Apr 27, 2007 7:24 am 
Newbie

Joined: Wed Apr 25, 2007 11:34 pm
Posts: 3
Hi guys,

Here is the link:
http://www.ravenbrook.com/project/p4dti ... _schedules

In the above link "whine_schedules" table is there.
I am not able to write mapping for the mailto column.

Please comment..

Thank you,

With Regards,
Hari krishna.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.