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

Rainer Döbele resolved EMPIREDB-285.
------------------------------------
    Fix Version/s: empire-db-2.5.0
       Resolution: Fixed

> When dropping tables with sequences, the sequence name is not escaped 
> correctly.
> --------------------------------------------------------------------------------
>
>                 Key: EMPIREDB-285
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-285
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: Core
>            Reporter: Rainer Döbele
>            Assignee: Rainer Döbele
>            Priority: Major
>             Fix For: empire-db-2.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Samir Hadzic reported the following bug:
>  I'm currently migrating my Empire-db from 2.1.0 (2011) to the latest.
>  If I'm not mistaken, the code added is not right for HSqlDDLGenerator.
>  
> If I'm trying to drop a table, the generated code will be 
> {code:java}
> DROP SEQUENCE FOO_SEQUENCE.MSG_ID;{code}
> But executing that on HSQL is not working. Instead it's expecting:
> {code:java}
> DROP SEQUENCE "FOO_SEQUENCE.MSG_ID"{code}
> Therefore, I'm wondering if a call to *appendElementName* should be used 
> instead of directly appending the sequence name since I believe the 
> *appendElementName* method is taking care of the quotes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to