Hi,

I'm trying to use openjpa-maven-plugin in my test framework to push =
changes to the database. However, I've run into a problem:=20

The sqlFile parameter has a default value, so it cannot be left unset. =
Since OpenJPA's MappingTool interprets a set value to mean "don't touch =
the database -- just write to this file instead", OpenJPA can never hit =
the database instead. The JavaDocs make it sound as though this might be =
an unintended consequence (maybe the default was added at some point?), =
so I introduced a new parameter called 'modifyDatabase' which bypasses =
the sqlFile parameter if set.

The attached patch resolves this issue, and 'mvn verify' successfully =
completes. What's involved in getting this patch pushed into the repo =
(or getting the issues above resolved in some other manner)?

Thanks,

-Patrick

Attachment: openjpa-mvn-plugin.patch
Description: Binary data


-- 
Patrick Linskey
202 669 5907


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to