openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-970) SchemaToolTask does not have "dropTables" argument
Date Thu, 12 Mar 2009 17:42:50 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated OPENJPA-970:
---------------------------------

    Attachment: OPENJPA-970.patch

Patch for reported problem, based on the suggested change by Leonardo on the users list.

> SchemaToolTask does not have "dropTables" argument
> --------------------------------------------------
>
>                 Key: OPENJPA-970
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-970
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: third-party
>    Affects Versions: 1.2.0
>            Reporter: Leonardo NOLETO
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: OPENJPA-970.patch
>
>
> The task SchemaToolTask does not implements
> "dropTables" argument. According to the documentation [1] this task can
> take "dropTables" arguments
> but when I run as shown below I get this error: The <schematool> type
> doesn't support the "droptables" attribute.
>     <schematool dropTables="false" action="refresh">
>             <fileset dir="${build.sql.dir}">
>                 <include name="schema.xml" />
>             </fileset>
>             <config
> propertiesFile="${prototype.src.model.base}/META-INF/persistence.xml" />
>         </schematool>
> In fact, I looked in source code and this task has no set method for
> "dropTables"argument.
> I use :
> revision.number=422266:683325
> openjpa.version=1.2.0
> [1]
> http://openjpa.apache.org/builds/1.2.0/apache-openjpa-1.2.0/docs/manual/ref_guide_schema_schematool.html
>  
> Thanks, 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message