-->
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.  [ 3 posts ] 
Author Message
 Post subject: AnnotationConfiguration doesn't have addPackage()
PostPosted: Wed Sep 07, 2005 4:53 pm 
Newbie

Joined: Wed May 12, 2004 5:09 pm
Posts: 17
Location: Los Angeles
I'm using AnnotationConfiguration.class in hibernate-annotations.jar from 3.1B4 distribution. There is no addPackage method there. Just trying to follow the manual (http://www.hibernate.org/hib_docs/annot ... e/#d0e1128):

sessionFactory = new
AnnotationConfiguration().addPackage("test")
.addAnnotatedClass(Flight.class)
.addAnnotatedClass(Sky.class)
.addAnnotatedClass(Person.class)
.addAnnotatedClass(Dog.class)</b>
.buildSessionFactory();

Gives:

cannot find symbol method addPackage(java.lang.String)


Top
 Profile  
 
 Post subject: oops
PostPosted: Wed Sep 07, 2005 9:03 pm 
Newbie

Joined: Wed May 12, 2004 5:09 pm
Posts: 17
Location: Los Angeles
never mind... fixed


Top
 Profile  
 
 Post subject: Re: AnnotationConfiguration doesn't have addPackage()
PostPosted: Mon Mar 25, 2013 11:37 am 
Newbie

Joined: Mon Mar 25, 2013 11:35 am
Posts: 1
how did?


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