-->
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.  [ 1 post ] 
Author Message
 Post subject: Custom Annotation on Custom Persister
PostPosted: Fri May 19, 2006 4:21 pm 
Newbie

Joined: Fri Apr 28, 2006 5:08 pm
Posts: 2
How do you deploy a class with custom annotations on JBoss? We have annotated a POJO with the following annotations:



@Entity

@org.hibernate.annotations.Entity(persister=”custom-persister”)

@Table(name=”TEST”)

@CustomAnnotation(value=”test”)



We can retrieve the custom annotation on the class when we test outside the container. However, when the class is passed to our custom-persister, the only annotation on the class is org.hibernate.annotations.Entity. We placed the jar file containing the custom annotation in server/all/lib and it seems to be resolving correctly.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.