-->
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: Pojo classes with annotations for hr schema of oracle.
PostPosted: Mon May 19, 2014 2:18 am 
Newbie

Joined: Mon May 19, 2014 2:01 am
Posts: 2
Hi everybody,

Can anyone help me out to create a pojo classes with annotations for the 'hr' schema of oracle.
The problems which I am facing are :

1. Include a check constraint. Eg. check(endDate > startDate)
2. Create a separate class for composite PK of which one of the field is a foreign key.
3. Create a foreign key referring to the primary key in the same table.

Hoping for the reply as soon a possible.
Thank You


Top
 Profile  
 
 Post subject: Re: Pojo classes with annotations for hr schema of oracle.
PostPosted: Sun Nov 02, 2014 4:46 pm 
Newbie

Joined: Sun Nov 02, 2014 4:26 pm
Posts: 1
Hello. Maybe it's late, but it's helped me https://github.com/search?l=java&p=1&q=%40Entity%28name+%3D+%22JOB_HISTORY%22%29&ref=searchresults&type=Code&utf8=%E2%9C%93


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.