dipaksavaliya / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

@Unowned annotation is not being processed #260

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgraded to v2 of JDO GAE plugin per Andy's instructions
2. Have two classes Appointment and Staffer, Appointment declares the following:
    ...
    @Persistent
    @Unowned
    private Staffer staffer;

3. Always get the following:
org.datanucleus.api.jdo.metadata.JDOAnnotationReader processMemberAnnotations: 
Class/Field "staffer" has an annotation 
"com.google.appengine.datanucleus.annotations.Unowned" which was not processed.

What is the expected output? What do you see instead?
Do not expect to see any issues related to Unowned annotation

What version of the product are you using? On what operating system?
Development on Win 7 OS, GAE/JDO Datanucleus plugin v2

Please provide any additional information below.

Original issue reported on code.google.com by spa.yu...@gmail.com on 1 Feb 2012 at 10:52

GoogleCodeExporter commented 8 years ago
The relationship is unidirectional.

Original comment by spa.yu...@gmail.com on 1 Feb 2012 at 10:53

GoogleCodeExporter commented 8 years ago
You mean a log message ? This has no impact on the persistence process and 
ought to be output at DEBUG level (will disappear when using a later version of 
datanucleus-api-jdo/datanucleus-api-jpa). The annotation is processed 
(elsewhere in the code), as per the public Unowned tests in SVN trunk

Original comment by googleco...@yahoo.co.uk on 2 Feb 2012 at 7:42