Integrity constraint violation: 1048 Column cannot be null error?

If I set notnull to false for the default_edition_id field, it would actually just be null". In this sentence, was does "it" refer to? Notnull means that the value 'null' is acceptable for this field, not that its value will always be null, if this was what you meant.

I added fixtures to a be a little clear on my situation. If I set Notnull to false just to avoid the error of 'SQLSTATE23000: Integrity constraint violation: 1048 Column 'default_edition_id' cannot be null', each new chapter added would have its DefaultEdition column as NULL; which I do not want. – Dashed Aug 9 '10 at 19:15 @Dashed: Ok, that's far more understandable like this.

I'm currently reading this tutorial : symfony-project. Org/jobeet/1_4/Doctrine/en/03 As you can see, in the fixture file, the referenced categories are defined before the referencing job. I don't know if this matters or not, but you might want to try inverting the Chapter and Edition sections in your fixture file... – greg0ire Aug 10 '10 at 8:34 No, it doesn't matter what order I put the Chapter and Edition fixtures in.

– Dashed Aug 11 '10 at 21:12 If you try loading the Edition fixtures only, do the records look fine? Do they have a not null id? – greg0ire Aug 12 '10 at 8:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions