-->
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: Annotations Problem
PostPosted: Mon Feb 28, 2005 12:52 pm 
Newbie

Joined: Mon Feb 28, 2005 12:39 pm
Posts: 3
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.0b4 / Hibernate Annotations 3.0 alpha 2 / ejb-3.0-edr1.jar

Hello,

I am trying to use the hibernate annotations. Following the documentation I have annotated my Class, but when running apt I am getting the following error:

Code:
apt -classpath src;config;lib/hibernate3.jar;lib/build/ejb-3.0-edr1.jar;lib/build/hibernate-annotations.jar
    -d dist
    -XListAnnotationTypes
    -sourcepath src src/test/model/Person.java
Set of annotations found:[javax.ejb.Column, javax.ejb.Entity, javax.ejb.Id, javax.ejb.Table]
[b]warning: No annotation processors found but annotations present.[/b]
1 warning

I also tried to add the
Code:
-factorypath lib/build/ejb-3.0-edr1.jar;lib/build/hibernate-annotations.jar
, but it doesn't work either.

Can anybody help me?

Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 28, 2005 1:16 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Annotations are read at runtime by hibernate-annotations. No need for apt at all.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 01, 2005 3:27 am 
Newbie

Joined: Mon Feb 28, 2005 12:39 pm
Posts: 3
Thanks - I will try it!


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.