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

Update schema for oracle compatibility issue #104

wants to merge 1 commit into from


Copy link

@oparadis oparadis commented Jul 24, 2012

This PR changes some "page" and "site" fields from "text" to "string(4000)" because oracle doesn't support where conditions on CLOB (text equivalent). It requires the use of a Oracle function to convert the clob into a string of 4000 characters which then works the same way as a varchar2(4000).

This fix also works on MySQL 5.0.3+ since it supports varchar fields up to 65535 characters.

PS: I made some style updates on the xml files too

Copy link

@dinamic dinamic commented Jun 26, 2013

If using fixed length string, doctrine will rather use char instead of varchar.
This will make the database content much larger, so even if one uses 10 characters, 4,000 will be allocated.

IMHO this issue should not be specific to this bundle, rather than reported to the doctrine team.
The workaround is just that - a workaround and I would not advise merging it here.


@rande rande closed this Aug 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants