<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 23:20:36 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DC+AND+resolution+%3D+Unresolved+AND+assignee+%3D+beberlei+ORDER+BY+priority+DESC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DC+AND+resolution+%3D+Unresolved+AND+assignee+%3D+beberlei+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="7" total="7"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DC-1024] i am executing </title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1024</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;$query = new Doctrine_Query();&lt;br/&gt;
					$query-&amp;gt;select(&apos;e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,c.country_id,c.country_name&apos;)    &lt;br/&gt;
						  //$query-&amp;gt;select(&apos;e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,ea.Country&apos;)&lt;br/&gt;
						  -&amp;gt;from(&apos;Entities e&apos;)&lt;br/&gt;
						  -&amp;gt;leftJoin(&apos;e.EntityAddresses ea ON ea.entity_id = e.entity_id AND ea.address_type =&quot;M&quot;&apos;)&lt;br/&gt;
						 -&amp;gt;leftJoin(&apos;ea.Country c ON ea.country = c.country_id&apos;)&lt;br/&gt;
						  -&amp;gt;leftJoin(&apos;e.ActiveFactories s&apos;)&lt;br/&gt;
						  -&amp;gt;where(&apos;e.status=1&apos;);&lt;br/&gt;
						  if(!empty($alpha))&lt;/p&gt;
						  {	
							$query-&amp;gt;andWhere(&quot;e.entity_name like &apos;&quot;.$alpha.&quot;%&apos;&quot;);
						  }
&lt;p&gt;						  $query-&amp;gt;andWhere(&quot;s.company_id=&quot;.$parentId)&lt;br/&gt;
						  -&amp;gt;andWhere(&quot;e.entity_type=2&quot;)&lt;br/&gt;
						  -&amp;gt;andWhere(&apos;s.status=1&apos;)&lt;br/&gt;
						  -&amp;gt;groupBy(&apos;e.entity_id&apos;);&lt;/p&gt;</description>
                <environment></environment>
            <key id="12844">DC-1024</key>
            <summary>i am executing </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="rajani">cherukuri</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Jul 2011 15:07:21 +0000</created>
                <updated>Tue, 26 Jul 2011 20:35:33 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-954] tinyint(1) with default value in schema.yml generates blank default value, gives SQLSTATE[42000]</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-954</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;doing a &lt;br/&gt;
doctrine:build --all --and-load&lt;br/&gt;
with a schema.yml of&lt;/p&gt;

&lt;p&gt;Foo:&lt;br/&gt;
  tableName: foo&lt;br/&gt;
  options:&lt;br/&gt;
    charset: utf8&lt;br/&gt;
  columns:&lt;br/&gt;
    bar:&lt;br/&gt;
      type: tinyint(1)&lt;br/&gt;
      default: 0&lt;/p&gt;

&lt;p&gt;results in a blank value generated for the default keyword, and the following error:&lt;/p&gt;

&lt;p&gt;  SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;42000&amp;#93;&lt;/span&gt;: 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 &apos; PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 ENGINE = INNODB&apos; at line 1. Failing Query: &quot;CREATE TABLE foo (id BIGINT AUTO_INCREMENT, bar tinyint(1) DEFAULT , PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 ENGINE = INNODB&quot;. Failing Query: CREATE TABLE foo (id BIGINT AUTO_INCREMENT, bar tinyint(1) DEFAULT , PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 ENGINE = INNODB &lt;/p&gt;

&lt;p&gt;I&apos;ve also tried combinations of tinyint, tinyint(4), single-quoting the default value, and different default values.&lt;/p&gt;

&lt;p&gt;Changing the type to int makes the issue disappear&lt;/p&gt;</description>
                <environment>Win7 64-bit&lt;br/&gt;
Netbeans 6.9.1&lt;br/&gt;
Symfony 1.4.8</environment>
            <key id="12288">DC-954</key>
            <summary>tinyint(1) with default value in schema.yml generates blank default value, gives SQLSTATE[42000]</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="bluescrubbie">Colin Stuart</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Jan 2011 13:41:36 +0000</created>
                <updated>Sun, 9 Jan 2011 15:13:04 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1023] i am executing doctrine type query i am geting error  please gave me reply my query  i am typed in descrition field</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1023</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;$query = new Doctrine_Query();&lt;br/&gt;
$query-&amp;gt;select(&apos;e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,c.country_id,c.country_name&apos;)&lt;br/&gt;
//$query-&amp;gt;select(&apos;e.entity_name,e.entity_id,s.id,s.parent_id,e.ffc_entity_id,ea.Country&apos;)&lt;br/&gt;
-&amp;gt;from(&apos;Entities e&apos;)&lt;br/&gt;
-&amp;gt;leftJoin(&apos;e.EntityAddresses ea ON ea.entity_id = e.entity_id AND ea.address_type =&quot;M&quot;&apos;)&lt;br/&gt;
-&amp;gt;leftJoin(&apos;ea.Country c ON ea.country = c.country_id&apos;)&lt;br/&gt;
-&amp;gt;leftJoin(&apos;e.ActiveFactories s&apos;)&lt;br/&gt;
-&amp;gt;where(&apos;e.status=1&apos;);&lt;br/&gt;
if(!empty($alpha))&lt;br/&gt;
{&lt;br/&gt;
$query-&amp;gt;andWhere(&quot;e.entity_name like &apos;&quot;.$alpha.&quot;%&apos;&quot;);&lt;br/&gt;
}&lt;br/&gt;
$query-&amp;gt;andWhere(&quot;s.company_id=&quot;.$parentId)&lt;br/&gt;
-&amp;gt;andWhere(&quot;e.entity_type=2&quot;)&lt;br/&gt;
-&amp;gt;andWhere(&apos;s.status=1&apos;)&lt;br/&gt;
-&amp;gt;groupBy(&apos;e.entity_id&apos;);&lt;/p&gt;</description>
                <environment></environment>
            <key id="12850">DC-1023</key>
            <summary>i am executing doctrine type query i am geting error  please gave me reply my query  i am typed in descrition field</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="rajani">cherukuri</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Jul 2011 15:08:48 +0000</created>
                <updated>Tue, 26 Jul 2011 20:35:03 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1054]  SQLSTATE[42S22]: Column not found: 1054 Unknown column &apos;b.title&apos; in &apos;field list&apos;</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1054</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;this is the my table creation .&lt;/p&gt;

&lt;p&gt;CREATE TABLE billboard(id BIGINT AUTO_INCREMENT,title VARCHAR (255),country_id BIGINT,zone_id BIGINT,place VARCHAR(255),occassion VARCHAR(255),itinerary VARCHAR(255),created_at DATETIME NOT NULL,description TEXT NOT NULL,PRIMARY KEY(id)) ENGINE=INNODB;&lt;/p&gt;



&lt;p&gt; public static function getInstance()&lt;/p&gt;
    {
        return Doctrine_Core::getTable(&apos;Billboard&apos;);
    }

&lt;p&gt; this is the my Doctrine Table&lt;/p&gt;

&lt;p&gt;   // public function getBillboardsForAUser($userId, $limit, $offset=0)&lt;br/&gt;
   public function getBillboardsForAUser($userId,$limit,$offset=0)&lt;br/&gt;
    {&lt;br/&gt;
              $query = $this-&amp;gt;createQuery(&apos;b&apos;)&lt;br/&gt;
              -&amp;gt;where(&apos;b.title=?&apos;,$title);&lt;br/&gt;
                // -&amp;gt;where(&apos;b.owner_id = ?&apos;, $userId);&lt;br/&gt;
        $followings = Doctrine::getTable(&apos;Follow&apos;)-&amp;gt;getAllFollowing($userId);&lt;br/&gt;
        foreach($followings as $following)&lt;/p&gt;
{
            $query-&amp;gt;orWhere(&apos;b.owner_id = ? &apos;,$following-&amp;gt;getOwnerId());
            $query-&amp;gt;orWhere(&apos;b.poster_id = ? &apos;,$following-&amp;gt;getOwnerId());
        }
&lt;p&gt;        $query-&amp;gt;orderBy(&apos;b.created_at DESC&apos;)&lt;br/&gt;
              -&amp;gt;limit($limit)&lt;br/&gt;
              -&amp;gt;offset($offset);&lt;br/&gt;
        return $query-&amp;gt;execute();&lt;/p&gt;

&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;plz help me what is the problem.&lt;/p&gt;</description>
                <environment>window vista</environment>
            <key id="13582">DC-1054</key>
            <summary> SQLSTATE[42S22]: Column not found: 1054 Unknown column &apos;b.title&apos; in &apos;field list&apos;</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="suriyakala">suriyakala</reporter>
                        <labels>
                    </labels>
                <created>Sat, 31 Mar 2012 02:10:05 +0000</created>
                <updated>Sat, 31 Mar 2012 06:58:41 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17694" author="beberlei" created="Sat, 31 Mar 2012 06:58:41 +0000"  >&lt;p&gt;Doctrine 1, not 2 ticket.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-388] Conservative loading not working</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-388</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Apparently, when setting  Doctrine::MODEL_LOADING_CONSERVATIVE things like Doctrine_Core::createTablesFromModels() don&apos;t work.  Have to enable aggressive model loading.  This has been confirmed on the doctrine-user mailing list.&lt;/p&gt;

&lt;p&gt;I took a brief look at the code: I may be missing something but it appears there may be a logic difference in the conservative vs. aggressive model loading method.  Aggressive loading uses require_once on all files in the model directory and tries to determine the name of the class inside the file (by doing a difference on the loaded classes).  This logic makes sense since the class and file name do not have to match.&lt;/p&gt;

&lt;p&gt;However, conservative loading just tries to calculate the class name and store it in an array for later loading by the autoloader.  This means there is a huge logic difference in behaviour between these two loading methods since the model class files actually must differ depending on case (specifically, the model class file name must follow a specific format to match the actual class name) otherwise the autoload array will never know the correct name of the class.&lt;/p&gt;

&lt;p&gt;I would also like to comment that overall, require_once is a poor choice for performance reasons, it&apos;s vastly slower than include_once, but overall the logic should better be adjusted to use plain include (if possible), for performance reasons.&lt;/p&gt;</description>
                <environment>Apache 2, MySQL 5.1, PHP 5.2.9, Debian 5</environment>
            <key id="10663">DC-388</key>
            <summary>Conservative loading not working</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="drak">Karma Dordrak (Drak)</reporter>
                        <labels>
                    </labels>
                <created>Sat, 26 Dec 2009 03:00:22 +0000</created>
                <updated>Wed, 27 Jan 2010 23:53:07 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Attributes</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-344] Trouble with auto including generate Base class with specifik name</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-344</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I have found a problem during testing example model on page &lt;a href=&quot;http://www.doctrine-project.org/documentation/cookbook/1_1/en/code-igniter-and-doctrine&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/cookbook/1_1/en/code-igniter-and-doctrine&lt;/a&gt; . A use YAML model with object name UserGroup and call method Doctrine_Core::createTablesFromModels(&apos;models&apos;); process faling with error:&lt;/p&gt;

&lt;p&gt;Fatal error: Class &apos;BaseUserGroup&apos; not found in /sourcepath/models/UserGroup.php on line 13&lt;/p&gt;

&lt;p&gt;Generate model file included abstract class BaseUserGroup exist and is OK. If I include BaseUserGroup manuly or rename object &quot;UserGroup&quot; on &quot;UserGroups&quot; everithing work fine. I thing here is a problem with autoloding base class with specifik name.&lt;/p&gt;

&lt;p&gt;Here is my code example:&lt;/p&gt;

&lt;p&gt;Doctrine_Core::dropDatabases();&lt;br/&gt;
Doctrine_Core::createDatabases();&lt;br/&gt;
Doctrine_Core::generateModelsFromYaml(&apos;sourcepath/yaml/model.yml&apos;, &apos;models&apos;);&lt;br/&gt;
Doctrine_Core::createTablesFromModels(&apos;models&apos;);&lt;/p&gt;


&lt;p&gt;Trouble shotting YAML model is:&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
UserGroup:&lt;br/&gt;
  columns:&lt;br/&gt;
    user_id:&lt;br/&gt;
      type: integer(4)&lt;br/&gt;
      primary: true&lt;br/&gt;
    group_id:&lt;br/&gt;
      type: integer(4)&lt;br/&gt;
      primary: true&lt;/p&gt;</description>
                <environment>Linux, Ubuntu 9.04 64b</environment>
            <key id="10591">DC-344</key>
            <summary>Trouble with auto including generate Base class with specifik name</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="havelkaondrej">Havelka Ondrej</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Dec 2009 09:20:54 +0000</created>
                <updated>Sun, 21 Mar 2010 00:34:59 +0000</updated>
                                    <version>1.2.1</version>
                                                        <due></due>
                    <votes>3</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="11298" author="silent_hill_dev" created="Sat, 26 Dec 2009 19:40:52 +0000"  >&lt;p&gt;Same problem here following the same example of the 1.2 tutorial.&lt;/p&gt;</comment>
                    <comment id="11634" author="m.olszewski" created="Mon, 8 Feb 2010 19:14:40 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I&apos;ve stumbled upon the same problem and I think I know where the issue is.&lt;/p&gt;

&lt;p&gt;So Doctrine_Core::createTablesFromModels() calls Doctrine_Export::exportSchema() which in turn calls Doctrine_Core::loadModels().&lt;/p&gt;

&lt;p&gt;Doctrine_Core::loadModels() uses RecursiveIteratorIterator and iterates over all found files.&lt;/p&gt;

&lt;p&gt;Now I think the order of files returned by RecursiveIteratorIterator is not always the same (depends on OS, filenames and cosmic radiation &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/wink.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; ), but the most important thing here is that class files from &apos;modules/generated&apos; directory (as in examples) ARE NOT included before subclasses derived from generated classes. This means that Doctrine_Core::autoload() fails to load classes from &apos;modules/generated&apos; directory, exactly this check fails:&lt;/p&gt;

&lt;p&gt;if (0 !== stripos($className, &apos;Doctrine_&apos;) || class_exists($className, false) || interface_exists($className, false))&lt;/p&gt;

&lt;p&gt;as base class is not starting with &apos;Doctrine_&apos; and is not yet loaded.&lt;/p&gt;

&lt;p&gt;To fix it properly the algorithm for loading modules must be changed to first include &apos;modules/generated&apos; classes and then rest of classes. I am not sure but maybe Core::autoload() might be changed to include base classes properly.&lt;/p&gt;


&lt;p&gt;QUICK WORKAROUND:&lt;br/&gt;
As a quick workaround I&apos;ve changed parameters in call to createTablesFromModels() to:&lt;/p&gt;

&lt;p&gt;Doctrine_Core::createTablesFromModels(array(&apos;models/generated&apos;,&apos;models&apos;));&lt;/p&gt;

&lt;p&gt;as createTablesFromModels() can accept array of directories.&lt;/p&gt;


&lt;p&gt;Hope this helps you, please let me know if you need any more information. Thanks!&lt;/p&gt;</comment>
                    <comment id="11635" author="sacho" created="Tue, 9 Feb 2010 01:38:32 +0000"  >&lt;p&gt;You are missing the model autoloader(&lt;a href=&quot;http://www.doctrine-project.org/upgrade/1_2#Models%20Autoloading&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/upgrade/1_2#Models%20Autoloading&lt;/a&gt;), which was added in 1.2&lt;/p&gt;

&lt;p&gt;That should fix the problem with conservative autoloading.&lt;/p&gt;</comment>
                    <comment id="11637" author="m.olszewski" created="Tue, 9 Feb 2010 11:54:06 +0000"  >&lt;p&gt;I&apos;ve tried registering modelsAutoload() and it works superb in this case for both aggressive and conservative loading.&lt;/p&gt;

&lt;p&gt;It is a shame that it is not mentioned in 1.2 PDF I&apos;ve got - it&apos;d make life easier for some people &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Thanks for your help.&lt;/p&gt;</comment>
                    <comment id="12418" author="cublt" created="Sun, 21 Mar 2010 00:34:59 +0000"  >&lt;p&gt;i am a new user to doctrine and i hit this brick wall. this bug report was all that saved me, and it is a bit misleading. my test results are below. in the end i found a combination that worked, but this seems like a glaring bug especially since the pdf takes the user right down a path that fails completely in all cases (default aggressive loading, doesn&apos;t work for me at all).&lt;/p&gt;

&lt;p&gt;i am using a pear loaded version 1.2 on ubuntu&lt;/p&gt;

&lt;p&gt;here are my test results:&lt;br/&gt;
---------------------------------------------------------------------------------------------------&lt;br/&gt;
case 1: load models right after generating them, without modelsAutoLoad() call: SUCCESS/FAIL varies&lt;br/&gt;
---------------------------------------------------------------------------------------------------&lt;br/&gt;
in doctrine_bootstrap.php file: &lt;br/&gt;
&amp;lt;?&lt;br/&gt;
require_once(&apos;lib/vendor/doctrine/Doctrine.php&apos;);&lt;br/&gt;
spl_autoload_register(array(&apos;Doctrine&apos;, &apos;autoload&apos;));&lt;br/&gt;
$manager = Doctrine_Manager::getInstance();&lt;br/&gt;
$conn = Doctrine_Manager::connection(&apos;mysql:// DSN REMOVED &apos;,&apos;doctrine&apos;);&lt;/p&gt;

&lt;p&gt;in test.php:&lt;br/&gt;
&amp;lt;?&lt;br/&gt;
require_once(&apos;doctrine_bootstrap.php&apos;);&lt;br/&gt;
Doctrine_Core::generateModelsFromDb(&apos;models&apos;, array(&apos;doctrine&apos;), array(&apos;generateTableClasses&apos; =&amp;gt; true));&lt;br/&gt;
Doctrine_Core::loadModels(&apos;models&apos;);&lt;/p&gt;



&lt;p&gt;---------------------------------------------------------------------------------------------------&lt;br/&gt;
case 2: load models after they have already been generated, without modelsAutoLoad() call: FAIL&lt;br/&gt;
---------------------------------------------------------------------------------------------------&lt;br/&gt;
in doctrine_bootstrap.php file: &lt;br/&gt;
&amp;lt;?&lt;br/&gt;
require_once(&apos;lib/vendor/doctrine/Doctrine.php&apos;);&lt;br/&gt;
spl_autoload_register(array(&apos;Doctrine&apos;, &apos;autoload&apos;));&lt;br/&gt;
$manager = Doctrine_Manager::getInstance();&lt;br/&gt;
$conn = Doctrine_Manager::connection(&apos;mysql:// DSN REMOVED &apos;,&apos;doctrine&apos;);&lt;/p&gt;

&lt;p&gt;in test.php:&lt;br/&gt;
&amp;lt;?&lt;br/&gt;
// note: all model classes are in ./models and ./models/generated&lt;br/&gt;
require_once(&apos;doctrine_bootstrap.php&apos;);&lt;br/&gt;
Doctrine_Core::loadModels(&apos;models&apos;);&lt;/p&gt;




&lt;p&gt;---------------------------------------------------------------------------------------------------&lt;br/&gt;
case 3: load models after they have already been generated, with the modelsAutoLoad() call and default aggressive setting: FAIL&lt;br/&gt;
---------------------------------------------------------------------------------------------------&lt;br/&gt;
in doctrine_bootstrap.php file: &lt;br/&gt;
&amp;lt;?&lt;br/&gt;
require_once(&apos;lib/vendor/doctrine/Doctrine.php&apos;);&lt;br/&gt;
spl_autoload_register(array(&apos;Doctrine&apos;, &apos;autoload&apos;));&lt;br/&gt;
$manager = Doctrine_Manager::getInstance();&lt;br/&gt;
$conn = Doctrine_Manager::connection(&apos;mysql:// DSN REMOVED &apos;,&apos;doctrine&apos;);&lt;/p&gt;

&lt;p&gt;spl_autoload_register(array(&apos;Doctrine_Core&apos;, &apos;modelsAutoload&apos;));&lt;/p&gt;

&lt;p&gt;in test.php:&lt;br/&gt;
&amp;lt;?&lt;br/&gt;
// note: all model classes are in ./models and ./models/generated&lt;br/&gt;
require_once(&apos;doctrine_bootstrap.php&apos;);&lt;br/&gt;
Doctrine_Core::loadModels(&apos;models&apos;);&lt;/p&gt;




&lt;p&gt;---------------------------------------------------------------------------------------------------&lt;br/&gt;
case 4: load models after they have already been generated, with the modelsAutoLoad() call and conservative loading: SUCCESS&lt;br/&gt;
---------------------------------------------------------------------------------------------------&lt;br/&gt;
in doctrine_bootstrap.php file: &lt;br/&gt;
&amp;lt;?&lt;br/&gt;
require_once(&apos;lib/vendor/doctrine/Doctrine.php&apos;);&lt;br/&gt;
spl_autoload_register(array(&apos;Doctrine&apos;, &apos;autoload&apos;));&lt;br/&gt;
$manager = Doctrine_Manager::getInstance();&lt;br/&gt;
$conn = Doctrine_Manager::connection(&apos;mysql:// DSN REMOVED &apos;,&apos;doctrine&apos;);&lt;/p&gt;

&lt;p&gt;$manager-&amp;gt;setAttribute(Doctrine_Core::ATTR_MODEL_LOADING, Doctrine_Core::MODEL_LOADING_CONSERVATIVE);&lt;br/&gt;
spl_autoload_register(array(&apos;Doctrine_Core&apos;, &apos;modelsAutoload&apos;));&lt;/p&gt;

&lt;p&gt;in test.php:&lt;br/&gt;
&amp;lt;?&lt;br/&gt;
// note: all model classes are in ./models and ./models/generated&lt;br/&gt;
require_once(&apos;doctrine_bootstrap.php&apos;);&lt;br/&gt;
Doctrine_Core::loadModels(&apos;models&apos;);&lt;/p&gt;

</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-907] when I delete fields from a table in oracle 10g and I execute build schema keeps bringing me those same fields that no longer exist.</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-907</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I have a table in oracle that i was using but I had to change it so i remove some fields and add others when i run the task buils schema it generates the file schema.yml it  created the new fields added but  continued to bringing those field who had been eliminated and no longer existed in the database, it generates an  error because the file schema.yml are those field  but the database does not ...&lt;/p&gt;</description>
                <environment></environment>
            <key id="11688">DC-907</key>
            <summary>when I delete fields from a table in oracle 10g and I execute build schema keeps bringing me those same fields that no longer exist.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jeronimo0000">fernando guerrero</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Jul 2010 10:06:04 +0000</created>
                <updated>Sun, 31 Oct 2010 07:13:05 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14396" author="beberlei" created="Wed, 15 Sep 2010 16:36:13 +0000"  >&lt;p&gt;Is this a Doctrine 1 or 2 bug? Is this a caching issue maybe?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>