Patrick, I created a new Jiraffe for it:

http://jira.codehaus.org/browse/MOPENJPA-30

Will commit your patch after a quick review.

txs and LieGrue,
strub



----- Original Message ----
> From: Patrick Linskey <[email protected]>
> To: [email protected]
> Sent: Thu, July 22, 2010 1:39:21 AM
> Subject: [mojo-user] modifying database schema via openjpa-maven-plugin
> 
> 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
> 
> 
> 
> -- 
> Patrick  Linskey
> 202 669  5907
> 
> 
> ---------------------------------------------------------------------
> To  unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


      

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

    http://xircles.codehaus.org/manage_email


Reply via email to