Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Could find @NotNull in Hibernate core jar
PostPosted: Tue Jun 21, 2011 11:46 am 
Newbie

Joined: Tue Jun 21, 2011 11:34 am
Posts: 1
I am working on Hibernate 3.6 jar, so as part of the hibernate manual, most of the examples are using @NotNull annotation, so as part of this i couldn't find this annotation any where in the hibernate core jar.

Appreciate if anyone can provide answers to the below questions:

1) Where i can find this @NotNull annotation.
2) If this is not present in hibernate core 3.6, do i need to import any other jars in order to use this annotation. Please suggest

Thank you.


Top
 Profile  
 
 Post subject: Re: Could find @NotNull in Hibernate core jar
PostPosted: Wed May 23, 2012 6:04 pm 
Newbie

Joined: Tue Oct 14, 2008 3:08 pm
Posts: 8
Location: Brasil
The following dependencies work for me:

Code:
      <dependency>
         <groupId>org.hibernate</groupId>
         <artifactId>hibernate-c3p0</artifactId>
         <version>3.6.10.Final</version>
      </dependency>
      <dependency>
         <groupId>org.hibernate</groupId>
         <artifactId>hibernate-validator</artifactId>
         <version>4.1.0.Final</version>
      </dependency>

_________________
Bruno Medeiros


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.