Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:03:21+00:00 2026-05-27T03:03:21+00:00

I am using the ZF + Doctrine 2.1 implementation by Ralph Schindler ( https://github.com/ralphschindler/NOLASnowball/tree/doctrine2-managed-crud

  • 0

I am using the ZF + Doctrine 2.1 implementation by Ralph Schindler (https://github.com/ralphschindler/NOLASnowball/tree/doctrine2-managed-crud).

My MySQL database uses some reserved words, a column named order. I need to tell Doctrine to quote identifiers, but I can’t seem to get it to work in the application itself nor in the scripts/doctrine.php (https://github.com/ralphschindler/NOLASnowball/blob/doctrine2-managed-crud/scripts/doctrine.php) to use the command line tool.

Note: I’m reverse engineering my database by using the command:

php scripts/doctrine.php orm:convert-mapping --from-database annotation library/app/Entity/

which gives the error:

Syntax error or access violation: 1064 You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near ‘order’ at line 1

because the column order doesn’t get quoted with ticks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:03:22+00:00Added an answer on May 27, 2026 at 3:03 am

    I have finally found it.

    It appears the NOLASnowBall demo app uses an older Doctrine than the current stable. With Doctrine 2.1.4 the ticks are added, without the need to set the extra option.

    I have updated Doctrine and took the new Bisna library from Guilherme Blanco’s repository at https://github.com/guilhermeblanco/ZendFramework1-Doctrine2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Doctrine's 2 Tree-Nestedset extension with MySQL InndoDB database. The yml table schema
How do I write the following MySQL query using Doctrine's findBy*() method?: SELECT column_name1,
I am using Doctrine ORM for php and Zend MVC. I have a mysql
I'm currently using Doctrine 1.2.2 with MySQL on the backend. When I attempt to
I was reading: http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subscribers.html It appears that using Doctrine event listeners this way is
Im using Doctrine and i dont quite understand this code here: $this->hasColumn('id', 'integer', 8,
I've been working with Zend Framework (using Doctrine as the ORM) for quite a
I have some models witch are using Doctrine nestedset feature. I want to add
I am getting following error message when using Doctrine ORM in Codeigniter. ( !
How to create reasonable expression to store password in database using Doctrine and Zend_Auth::setCredentialTreatment()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.