Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zero-length delimited identifier at or near """" on Postgres #542

Closed
gionn opened this issue Jul 2, 2013 · 2 comments
Closed

zero-length delimited identifier at or near """" on Postgres #542

gionn opened this issue Jul 2, 2013 · 2 comments

Comments

@gionn
Copy link

@gionn gionn commented Jul 2, 2013

Hi,

I am using v1.3.170 with maven plugin and Postgres 9.1 on Ubuntu 12.04.

I have a correctly initialized database, but when I try to clean the schema I get an exception: https://gist.github.com/gionn/3ef5cae65c581ff07f39

Thanks.

@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Jul 2, 2013

Thanks for the report. Could you also post a minimal sql script to create the object that triggers this?

Cheers
Axel

@gionn
Copy link
Author

@gionn gionn commented Jul 2, 2013

I made some additional test, it looks like that the offender is a sequence with name "hibernate_sequence" (double quotes included).
The funny thing is that I previously created this sequence by hand to workaround an hibernate bug.

There are trobles even if I have an emtpy table containing a " in the name, so it probably something related to postgres escaping characters handling: https://gist.github.com/gionn/e26da02235319f7e9b12

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.