
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Achari.in &#187; Generation of same SQL even after changing Schema.yml</title>
	<atom:link href="http://www.achari.in/tag/Generation-of-same-SQL-even-after-changing-Schema.yml/feed" rel="self" type="application/rss+xml" />
	<link>http://www.achari.in</link>
	<description>achari.in is a programmer&#039;s blog maintained by Anoop S Achari. Tutorials focus on Google Map API Integration, Twitter OAuth, Facebook Integration, Jquery, JSE, SCJP Materials and other technical articles.</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Generation of same SQL even after changing Schema.yml &#124; Symfony &#124; Doctorine</title>
		<link>http://www.achari.in/generation-of-same-sql-even-after-changing-schema-yml-symfony-doctorine</link>
		<comments>http://www.achari.in/generation-of-same-sql-even-after-changing-schema-yml-symfony-doctorine#comments</comments>
		<pubDate>Sat, 15 May 2010 16:48:32 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[base]]></category>
		<category><![CDATA[Doctorine]]></category>
		<category><![CDATA[error in sql]]></category>
		<category><![CDATA[Generation of same SQL even after changing Schema.yml]]></category>
		<category><![CDATA[jobeet]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[schema]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=338</guid>
		<description><![CDATA[Symfony have updated its ORM to doctrine and me too have update myself to new ORM . I was able to follow the jobeet tutorial - wrote yml schema - generated the model - generated sql and successfully completed the project . When i tried to customize the schema.yml by updating the schema , deleting [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fgeneration-of-same-sql-even-after-changing-schema-yml-symfony-doctorine"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fgeneration-of-same-sql-even-after-changing-schema-yml-symfony-doctorine&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Symfony have updated its ORM to doctrine and me too have update myself to new ORM . I was able to follow the jobeet tutorial</p>
<p>- wrote yml schema<br />
- generated the model<br />
- generated sql and successfully completed the project .</p>
<p>When i tried to customize the schema.yml by updating the schema , deleting and adding new tables . But after building the model and sql i found that along with new tables old ones were also generated  . Tried the same even after clearing the cache but no use . I couldn&#8217;t find a fix for the problem on net . After wasting hours on system i found a fix for it and here is it .</p>
<p><strong>Fix :</strong></p>
<p>Goto :  project_root\lib\model\doctrine &#8211; you can find some class files and a folder named <strong>base , </strong>delete all class files in doctrine and base directory . and try building the model and sql after clearing the cache .</p>
<p>You have fixed the error .</p>
<p>Hope the post helped you !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/generation-of-same-sql-even-after-changing-schema-yml-symfony-doctorine/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

