<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
        <channel>
            	<title>Code Blow</title>
            	<atom:link href="http://codeblow.com/feed/" rel="self" type="application/rss+xml" />
            	<link>http://codeblow.com</link>
            	<description>Code Blow provides to you all the programmers knowledge of all programmers that took time to write answers to every question that you can find here. Feel free to ready and learn from all these informations.</description>
            	<lastBuildDate>Sat, 25 May 2013 19:20:38 +0000</lastBuildDate>
            	<language>en</language>
            	<generator>http://codeblow.com/</generator>
                
                                        <item>
                                <title>It is possible to better method to write this MySQL query?</title>
                                <link>http://codeblow.com/questions/it-is-possible-to-better-method-to-write-this-mysql-query/</link>
                                <description><![CDATA[<p>Such as the question states it is possible to better method to write this:</p>

<pre><code>SELECT clients_lists.*, 
       COUNT(clients_lists_relationships.clientid) 
FROM   clients_lists 
       LEFT JOIN clients_lists_relationships 
         ON clients_lists.listid = clients_lists_relationships.listid 
WHERE  clients_lists.parentid = 1 
GROUP  BY clients_lists.listid; 
</code></pre>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:53 +0000</pubDate>
                                <guid>http://codeblow.com/questions/it-is-possible-to-better-method-to-write-this-mysql-query/</guid>
                        </item>
                                        <item>
                                <title>How you can connect MapKit apple iphone application to some database</title>
                                <link>http://codeblow.com/questions/how-you-can-connect-mapkit-apple-iphone-application-to-some-database/</link>
                                <description><![CDATA[<p>I'm attempting to make an application that you could share sightings by shedding a pin by having an annotation and everybody with this application will have the ability to see the rest of the dropped hooks by others while using application.</p>

<p>I just read you need to possess a database connection but I'm not sure how you can even create a database with this specific situation not to mention hook it up to 1.</p>

<p>I truly need any help I'm able to get.</p>

<p>Thanks!</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:50 +0000</pubDate>
                                <guid>http://codeblow.com/questions/how-you-can-connect-mapkit-apple-iphone-application-to-some-database/</guid>
                        </item>
                                        <item>
                                <title>My Database Tables With Collation &quot;Being Used&quot; Can not be Loaded</title>
                                <link>http://codeblow.com/questions/my-database-tables-with-collation-being-used-can-not-be-loaded/</link>
                                <description><![CDATA[<p>I have trouble with my table during my server.</p>

<p>Couple of occasions ago, my projects were fine. But, when I am being able to access the projects, many of them get error. It works out that, the mistake was triggered by my server. I checked the tables, come out all of the tables collation was transformed from "utf8_unicode_ci" to "being used", back to back the tables cannot be looked at or released since the records have skipped.</p>

<p>How do i repair individuals tables? need assistance.....

thx...</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:48 +0000</pubDate>
                                <guid>http://codeblow.com/questions/my-database-tables-with-collation-being-used-can-not-be-loaded/</guid>
                        </item>
                                        <item>
                                <title>Sort sqlite database by time on android</title>
                                <link>http://codeblow.com/questions/sort-sqlite-database-by-time-on-android/</link>
                                <description><![CDATA[<p>I'm by using this code-</p>

<pre><code>myDB.rawQuery("SELECT * FROM " + TableName+ " ORDER BY "+ params[0], null);
</code></pre>

<p>to sort a table by posts and delay pills work great except among the posts 's time (as with itunes) i.e. 2:35 for just two minutes 35 seconds. This will cause it to sort improperly. How do i sort it the right way? I'm using sqlite for android.</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:45 +0000</pubDate>
                                <guid>http://codeblow.com/questions/sort-sqlite-database-by-time-on-android/</guid>
                        </item>
                                        <item>
                                <title>How you can run crawler on back finish in asp.internet?</title>
                                <link>http://codeblow.com/questions/how-you-can-run-crawler-on-back-finish-in-asp-internet/</link>
                                <description><![CDATA[<p>I'm developing a website in asp.internet however i possess some problem..</p>

<p>I've coded a course which could crawl a give web site i.e. thenextweb.com because of its links, and content and pictures.</p>

<p>Now i wish to store these indexed data within my table *Crawlr_Data*.</p>

<p>I would like the crawler runs after every half an hour and up-to-date the table with new links if available.</p>

<p>saved within the database</p>

<p>How do i run the crawler on back finish increase the database ?

What technology like (web services, WCF) must i use or other factor in visual studio that we may use to ensure that i if host website its crawler continues running and upgrading table</p>

<p>Please suggest

Thanks</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:43 +0000</pubDate>
                                <guid>http://codeblow.com/questions/how-you-can-run-crawler-on-back-finish-in-asp-internet/</guid>
                        </item>
                                        <item>
                                <title>Doctrine2 Mapping Problems on the Symfony2 Project</title>
                                <link>http://codeblow.com/questions/doctrine2-mapping-problems-on-the-symfony2-project/</link>
                                <description><![CDATA[<p>I've 2 organizations Item and Itemimage. The connection between Item to Itemimage is OneToMany Unidirectional with JoinColumn. I required the aid of doctrine documentation. The OneToMany unidirectional with JoinColumn is accomplished using the ManyToMany Annotation:</p>

<pre><code>/**
 * @ManyToMany(targetEntity="Itemimage")
 * @JoinTable(name="itemimage",
 *      joinColumns={@JoinColumn(name="item_id", referencedColumnName="id")},
 *      inverseJoinColumns={@JoinColumn(name="image_id", referencedColumnName="itemid")}
 *      )
 */
</code></pre>

<p>Where:</p>

<ul>

<li>image_id: itemid is really a property within the Itemimage Entity</li>

<li>item_id: may be the primary key property from the Item Entity</li>

</ul>

<p>I designed a property $images in Item Entity and gave it the above mentioned docblock. However , after i attempted upgrading the schema. I recieve a doctrine error: "<strong>The Table 'itemimage' already is available</strong>". I am sure that's not the situation. I've no clue how to proceed.</p>

<p>Help me with this particular.</p>

<p>Thanks! I thank you for help.</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:40 +0000</pubDate>
                                <guid>http://codeblow.com/questions/doctrine2-mapping-problems-on-the-symfony2-project/</guid>
                        </item>
                                        <item>
                                <title>What nhibernate returns whenever we try get empty list from database?</title>
                                <link>http://codeblow.com/questions/what-nhibernate-returns-whenever-we-try-get-empty-list-from-database/</link>
                                <description><![CDATA[<p>Will NHibernate return null reference or empty collection?</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:38 +0000</pubDate>
                                <guid>http://codeblow.com/questions/what-nhibernate-returns-whenever-we-try-get-empty-list-from-database/</guid>
                        </item>
                                        <item>
                                <title>Storing the date in database</title>
                                <link>http://codeblow.com/questions/storing-the-date-in-database/</link>
                                <description><![CDATA[<p>Well I've got a task to keep "quotes" right into a database (Already carried this out) and display them &amplifier sort them out which are more recent quotes. I am presuming to obtain the "newestInch, I'd have to store date/duration of the posted quote. </p>

<p>I'm a new comer to PHP and learning, so I'm not sure how you can exactly do that.</p>

<p>This is actually the PHP for adding the quotes towards the database. You will find two posts within the table known as "quotes" and "id". I am speculating I must also create a column for that date too?</p>

<pre><code>require('includes/connect.php');


    $quote = $_POST['quote'];
    $quotes = mysql_real_escape_string($quote);


    mysql_query("INSERT INTO entries (quote) VALUES('$quotes')")
    or die(mysql_error());
</code></pre>

<p>Wouldso would I additionally place the date?</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:35 +0000</pubDate>
                                <guid>http://codeblow.com/questions/storing-the-date-in-database/</guid>
                        </item>
                                        <item>
                                <title>DataMapper - Enum like options flag for Discriminator?</title>
                                <link>http://codeblow.com/questions/datamapper-enum-like-options-flag-for-discriminator/</link>
                                <description><![CDATA[<p>I've lately began using DataMapper inside a couple of projects &amplifier overall I believe its just fantastic. But I've got a question about utilizing a particular facet of it. </p>

<p>I understand when I've got a model by having an Enum property (<code>property :whatev, Enum[ :foo, :bar ]</code>), I'm able to call <code>Model.whatev.options[:flag]</code> &amplifier return all the various possible values for that particular Enum. I'm wondering if anybody knows (or could point me within the right direction) if there's such like for that <code>Discriminator</code> property type? </p>

<p>ie. it is possible to method to call that specific property &amplifier get it return the different options</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:33 +0000</pubDate>
                                <guid>http://codeblow.com/questions/datamapper-enum-like-options-flag-for-discriminator/</guid>
                        </item>
                                        <item>
                                <title>.Internet Entity Framework. How you can do Face to face relationship with several join tables among in existing database using Fluent API</title>
                                <link>http://codeblow.com/questions/internet-entity-framework-how-you-can-do-face-to-face-relationship-with/</link>
                                <description><![CDATA[<p>Having a legacy database (and strict orders to not modify it) and taking advantage of Entity framework I've the next:</p>

<p><strong>MODELS</strong></p>

<pre><code>public class EntityObjectA 
{
    public Guid Id { get; set; }
    public string Name { get; set;}
    ....
    public virtual ICollection&lt;EntityObjectB&gt; ObjectBList { get; set; } 
}

public class EntityObjectB 
{
    public Guid Id { get; set; }
    public string Name { get; set;}
    ....
    public virtual ICollection&lt;EntityObjectA&gt; ObjectAList { get; set; } 
}

public class EntityObjectC 
{
    public Guid Id { get; set; }
    public string Name { get; set;}
    public Int Value { get; set; }
}
</code></pre>

<p><strong>TABLES</strong></p>

<pre><code>TableForObjectA
  ID
  Name

TableForObjectB
  ID
  Name

JoinTable1
  ID
  TableForObjectA_ID
  TableForObjectB_ID


JoinTable2
  ID
  JoinTable1_ID
  TableForObjectC_ID

TableForObjectC
  ID
  Name
  Value
</code></pre>

<p>The finish goal would be to have the ability to read values in EntityObjectC using EntityObjectA as the beginning of the connection.</p>

<p>I have attempted a variety of mixtures of mappings within the DataContext class(unlisted above), however they all return on of numerous different "mapping" errors.</p>

<p>Any ideas working this since i have cannot trash the database and begin form scratch?</p>]]></description>
                                <pubDate>Sun, 05 Feb 2012 01:31:31 +0000</pubDate>
                                <guid>http://codeblow.com/questions/internet-entity-framework-how-you-can-do-face-to-face-relationship-with/</guid>
                        </item>
                                
	   </channel>
</rss>