Hello Rick,

I'm using version 2.1.1 of OpenJPA but i've tried also with 2.2.0.
The classes are enhanced using the following code in build.xml file:

<target name="-pre-jar">        
        <echo message="begin openJPAC"/>
        <path id="openjpa.path.id">        
            <pathelement location="${build.classes.dir}"/>

            
            <fileset
dir="C:\Users\jan\Documents\NetBeansProjects\[Libs]\Apache_OpenJPA\v2.1.1\"
includes="*.jar"/>
             
            
            
        </path>

        <taskdef name="openjpac"
classname="org.apache.openjpa.ant.PCEnhancerTask">
            <classpath refid="openjpa.path.id"/>
        </taskdef>

        <openjpac>            
            <classpath refid="openjpa.path.id"/>
        </openjpac>
        <echo message="end openJPAC"/>
    </target>

The @ManagedInterface annotation is not necessary, I was just testing with
it.

--
View this message in context: 
http://openjpa.208410.n2.nabble.com/element-column-of-the-associated-table-is-null-tp7498933p7499646.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to