openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinabandhu Mitra <>
Subject Reversemappingtool -metadata package
Date Thu, 07 Jun 2012 09:30:27 GMT

Can someone please explain what does -metadata package|class does?

My expectation was that the tool will generate a separate metadata files 
for each package/class. However it is always generating a single orm.xml 
file with fully qualified classnames.

However -metadata none option is actually supressing the generation of 
orm.xml as documented.

The command I am using is -

java -classpath 

org.apache.openjpa.jdbc.meta.ReverseMappingTool -pkg my.testpackage -ann 
true -d src -cp .\src\META-INF\ -md class .\schema.xml

And my custom properties puts classes in different packages --

employee.class-name: my.testpackage.employees.Employee

Is this the correct way of doing it? I would really want to have 
separate mapping files generated on a per class/package basis.


View raw message