[forge-dev] I need to get @IdClass value as Class instance

George Gastaldi ggastald at redhat.com
Tue Aug 18 17:19:33 EDT 2015


Looks like a missing feature/bug in Roaster.

getLiteralValue() should return the FQN if the annotation method is of type
Class.

Can you create an issue in https://issues.jboss.org/browse/ROASTER?

Thanks.

George Gastaldi
Em 18/08/2015 17:50, "Doychin Bondzhev" <doychin at gmail.com> escreveu:

> I also tried both case where primary key class is in the same package and
> in different package. In both cases I get only className.class
> ​Nothing about the package where it comes from.
>
> Also how to check that it implements serializable?
>
> This is a requirement of the Spring repository interfaces.
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20150818/803aacec/attachment.html 


More information about the forge-dev mailing list