Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] In-Eclipse output from the annotation processor?

Hi Neil,

I'm currently using Eclipse SDK Version: Luna (4.4) Build id: I20140606-1215

I've not installed any JPA-specific tools or plugins. Would you
recommend doing so? Dali looks useful to me.

Thanks,
David

On 29/09/14 15:28, Neil Hauge wrote:
> David,
>
> What Eclipse IDE package/installation are you using?  Are you using
> the Dali Java Persistence Tools for JPA?
>
> Neil
>
>
> On 9/29/2014 6:45 AM, David North wrote:
>> I'm using EclipseLink JPA in my project.
>>
>> When I make a mistake with my JPA annotations (e.g. fail to define a
>> setter corresponding to a getter), the error when compiling with Ant is
>> clear:
>>
>> [javac] java.lang.RuntimeException: Exception [EclipseLink-7174]
>> (Eclipse Persistence Services - 2.5.3.qualifier):
>> org.eclipse.persistence.exceptions.ValidationException
>> [javac] Exception Description: The getter method [method getDomain] on
>> entity class [class SchemaDomainMember] does not have a corresponding
>> setter method defined.
>>
>> However, I can't find a way to see such errors in Eclipse (I'm using the
>> annotation processor through Java Compiler > Annotation Processing >
>> Factory Path). What happens is that the annotation processor stops
>> generating the companion classes and my project stops compiling, but
>> there's no indication of why. Is there a setting to see the annotation
>> processor output? Or, ideally, make it report problems in the Eclipse
>> problems view?
>>
>> Thanks,
>> David
>> _______________________________________________
>> eclipselink-users mailing list
>> eclipselink-users@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users



Back to the top