<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-670218211546936495</id><updated>2026-09-20T14:40:49.422+03:00</updated><category term=".net"/><category term="bpel"/><category term="csharp"/><category term="jpa"/><category term="web service"/><category term="glassfish v2"/><category term="latex"/><category term="telerik"/><category term="ant"/><category term="hibernate"/><category term="OpenESB"/><category term="jaxws"/><category term="netbeans 6.5"/><category term="apache tomcat"/><category term="apache ode"/><category term="hibernate associations"/><category term="persistence"/><category term="netbeans"/><category term="semantic web"/><category term="asp.net"/><category term="eclipse"/><category term="eclipse ganymede"/><category term="glassfish esb"/><category term="gwt"/><category term="javafx"/><category term="jaxb"/><category term="log4j"/><category term="lucene"/><category term="mockito"/><category term="online tools"/><category term="openSuse"/><category term="soapui"/><category term="vmware"/><category term="web service testing"/><category term="activebpel"/><category term="binary web service"/><category term="c#"/><category term="database"/><category term="eclipse bpel"/><category term="javascript"/><category term="jaxb customization"/><category term="jboss"/><category term="logging"/><category term="neo4j"/><category term="protege"/><category term="python"/><category term="telerik reports"/><category term="use javafx app in web app"/><category term="visual studio 2013"/><category term="AjaxControlToolkit"/><category term="asp.net mvc"/><category term="blogger"/><category term="bpel fault handling"/><category term="couchdb"/><category term="deploy javafx app"/><category term="ef"/><category term="expert system"/><category term="facebook"/><category term="gae"/><category term="glassfish troubleshooting"/><category term="java tip"/><category term="jbossws"/><category term="jms"/><category term="jpa annotations"/><category term="jpa troubleshooting"/><category term="json"/><category term="junit"/><category term="maven"/><category term="mvc"/><category term="neo4j-spring"/><category term="netbeans wsdl customizer"/><category term="ontology"/><category term="openjms"/><category term="oracle"/><category term="performance"/><category term="suse"/><category term="testng"/><category term="ubuntu"/><category term="unit testing"/><category term="visual studio 2008"/><category term="web 3.0"/><category term="windows xp"/><category term="winforms"/><category term=".net web services"/><category term="C# convert DataTable to ArrayList"/><category term="CycleRecoverable"/><category term="Grid Computing vs Cloud Computing"/><category term="LazyInitializationException"/><category term="NDC"/><category term="WS-AT"/><category term="WS-SC"/><category term="WS-SecureConversation"/><category term="WS-Transaction"/><category term="activevos"/><category term="answerbus"/><category term="applet"/><category term="autocode"/><category term="automated test"/><category term="beanlib"/><category term="bibsonomy"/><category term="bitbucket"/><category term="bootstrap"/><category term="bpel assign"/><category term="bpel foreach"/><category term="bpel testing"/><category term="change hibernate log level"/><category term="change namespace of an xml file in java code"/><category term="change web service endpoint"/><category term="changing locale"/><category term="changing netbeans locale"/><category term="checkstyle"/><category term="circular relationships in web services"/><category term="clips"/><category term="cloner"/><category term="cloning in java"/><category term="cluster"/><category term="cobertura"/><category term="code coverage analysis"/><category term="codefirst"/><category term="coding guidelines"/><category term="comment in latex"/><category term="computational search engine"/><category term="cross browser test"/><category term="cyclic reference problem"/><category term="cypher"/><category term="dbpedia"/><category term="dependency injection"/><category term="deployment"/><category term="derby"/><category term="django"/><category term="dmg"/><category term="dual boot"/><category term="eclipse europa"/><category term="eclipse indigo"/><category term="eclipse plugin"/><category term="eclipse rcp"/><category term="eclipse vs visual studio"/><category term="ef5"/><category term="entity manager"/><category term="enunciate"/><category term="environment variable"/><category term="evolution of semantic web"/><category term="facebook login"/><category term="file extract"/><category term="file in web service"/><category term="findbugs"/><category term="floating point"/><category term="frames in latex"/><category term="freebase"/><category term="git"/><category term="google"/><category term="grid services"/><category term="guy harrison"/><category term="gwt problem in x64 machine"/><category term="gwt troobleshoot"/><category term="hessian"/><category term="html"/><category term="iis"/><category term="increasing heap size of glassfish"/><category term="inheritance"/><category term="intel ich9"/><category term="iso"/><category term="java deep clone"/><category term="java.util.logging"/><category term="java2schema"/><category term="java2xsd"/><category term="javafx connection refused exception"/><category term="javascript tutor"/><category term="jaxws serializable interface"/><category term="jboss 4.2.3"/><category term="jboss tools"/><category term="jbpm"/><category term="jbpm bpel"/><category term="jena"/><category term="jmeter"/><category term="jpa blob"/><category term="jpa inheritance"/><category term="jpa tips"/><category term="jpql"/><category term="jsf"/><category term="linked data"/><category term="linkedin"/><category term="linkedin login"/><category term="linux"/><category term="log level adjust"/><category term="lomboz"/><category term="macos"/><category term="metacrap"/><category term="metadata"/><category term="metro"/><category term="mit"/><category term="monitor soap messages"/><category term="mpeg7"/><category term="mssql"/><category term="multiple constructors in web service"/><category term="named query"/><category term="natural language question answering system"/><category term="netbeans 6.1"/><category term="netbeans 6.8"/><category term="ninject"/><category term="no sound problem"/><category term="object clone"/><category term="opensuse 11.2"/><category term="oracle sql developer"/><category term="orion"/><category term="owl"/><category term="parsing an xml portion (without dom)"/><category term="posgresql"/><category term="postgre"/><category term="postresql"/><category term="printing object"/><category term="proguard"/><category term="pygraphviz"/><category term="radgrid"/><category term="read from properties file"/><category term="recursively removing .svn folder"/><category term="reference a figure in latex"/><category term="reflection api"/><category term="rule based system"/><category term="schemagen"/><category term="search engine"/><category term="security bpel"/><category term="security ws"/><category term="selectionFailure"/><category term="selenium"/><category term="semantic web stack"/><category term="semantic web tools"/><category term="share same class with multiple web service"/><category term="sign applet"/><category term="smartctl"/><category term="soa tools project"/><category term="soap"/><category term="special characters in Latex"/><category term="sql"/><category term="sql server"/><category term="start"/><category term="static methods in web services"/><category term="stp"/><category term="subfigure in Latex"/><category term="subversive"/><category term="svn"/><category term="svn troubleshooting"/><category term="toplink"/><category term="trac"/><category term="ubuntu tutorial"/><category term="unexpected response error"/><category term="unit testing dao"/><category term="unordered list sample in latex"/><category term="url in latex"/><category term="variable initilalization in bpel"/><category term="virtual box"/><category term="virtualbox"/><category term="vision"/><category term="web enginnering blog"/><category term="when to use bpel"/><category term="wiki"/><category term="windows"/><category term="winedt/miktex"/><category term="wolfram alpha"/><category term="writing XML code in Latex"/><category term="wrong port used for xsd in wsdl"/><category term="wsdl styles"/><category term="xmltype"/><category term="zip file extract"/><title type='text'>none</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>251</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-3739125300670613271</id><published>2015-08-10T14:38:00.001+03:00</published><updated>2015-08-10T14:38:36.207+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><title type='text'>creating ant file for eclipse project</title><content type='html'>Sometimes you need an ant build file for an existing Eclipse project, for instance when moving it to jenkins.. The easy way to do it is as follows:&lt;br /&gt;
on Eclipse click on File -&amp;gt; Export -&amp;gt; General -&amp;gt; Ant Buildfiles and specify the wanted fields.&lt;br /&gt;
It does not automatically have a war target, so have to add it.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/3739125300670613271/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/08/creating-ant-file-for-eclipse-project.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3739125300670613271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3739125300670613271'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/08/creating-ant-file-for-eclipse-project.html' title='creating ant file for eclipse project'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-7818124358456493763</id><published>2015-07-08T08:03:00.001+03:00</published><updated>2015-07-08T08:56:03.788+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="automated test"/><category scheme="http://www.blogger.com/atom/ns#" term="cross browser test"/><category scheme="http://www.blogger.com/atom/ns#" term="selenium"/><title type='text'>selenium quickstart tips</title><content type='html'>By using Selenium (&lt;a href=&quot;http://www.seleniumhq.org/&quot;&gt;http://www.seleniumhq.org/&lt;/a&gt;), you can automate browsers and it is a good practice to use the tool to do some integration testing.. There are many tutorials about this on the web, the following worked for me:&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=gsHyDIyA3dg&quot;&gt;Selenium IDE Demo - Quick Beginner&#39;s Tutorial&amp;nbsp;&lt;/a&gt;&amp;nbsp;mentions the Firefox plugin which records and plays tests. Selenium IDE is useful, you can easily save and replay tests as html files, but i want my tests written in java and want to run them as junit tests.&lt;/li&gt;
&lt;li&gt;The following three videos by Absoft Training &amp;nbsp;are great!!&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=-eJ2cZXyJ0E&quot;&gt;Selenium Tutorial - Starting with Selenium WebDriver – Part 1&lt;/a&gt;&amp;nbsp;mentions WebDriver interface and illustrates to write basic test in java. It also shows how to use it for cross browser testing.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=f0U8I8fpqWo&quot;&gt;Selenium Tutorial - Starting with Selenium WebDriver – Part 2&lt;/a&gt;&amp;nbsp;explains WebElement in detail and shows how to locate an element on the web page.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=0ywu269mNyo&quot;&gt;Using XPath to Locate Web Elements - in very detail&lt;/a&gt;&amp;nbsp;shows how to locate an element by xpath.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
Absoft Training presents more tutorials here:&amp;nbsp;&lt;a href=&quot;http://www.absofttrainings.com/selenium-training-free-videos/&quot;&gt;http://www.absofttrainings.com/selenium-training-free-videos/&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My usage tips :&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Download Selenium standalone server and the java client.&lt;/li&gt;
&lt;li&gt;In Eclipse create a java project and add the downloaded jars (must be 2 jars) to classpath.&lt;/li&gt;
&lt;li&gt;Download Selenium IDE and install it as Firefox plugin.&lt;/li&gt;
&lt;li&gt;Run the server and deploy your application to test.&lt;/li&gt;
&lt;li&gt;Open Firefox, start Selenium IDE, press record button and enter your web application url.&lt;/li&gt;
&lt;li&gt;Test your application, one use case at a time.&lt;/li&gt;
&lt;li&gt;Close Selenium recording, save it and export test case as Java / Junit 4/ WebDriver.&lt;/li&gt;
&lt;li&gt;I did not use the immediately exported files. But, i got help from them. I think preparing a utility file which enables you to switch between browser types, between development and production environments is convenient. If you have a complicated web page, it is good practice to write find methods for web elements and reuse them.&lt;/li&gt;
&lt;li&gt;Then run tests as junit.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Some technical tips:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;WebDriver interface provides many methods including findElement(), getTitle(), close(), getCurrentUrl() etc. It is good to examine its javadoc.&lt;/li&gt;
&lt;li&gt;You can locate a web element by id, name or xpath.&lt;/li&gt;
&lt;li&gt;To create Firefox driver, simply :&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;WebDriver driver = new FirefoxDriver();&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;To create Chrome driver, download the third party executable&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;System.setProperty(&quot;webdriver.chrome.driver&quot;, &quot;path_to_executable&quot;);&lt;/li&gt;
&lt;li&gt;WebDriver driver = new ChromeDriver();&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;To create IE driver, download the third party executable&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;System.setProperty(&quot;webdriver.ie.driver&quot;, &quot;path_to_executable&quot;);&lt;/li&gt;
&lt;li&gt;WebDriver driver = new InternetExplorerDriver();&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;To make same arrangements:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);&lt;/li&gt;
&lt;li&gt;driver.manage().window().maximize(); // maximizes opening browser&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Selenium sees everything on a web page as web element.&lt;/li&gt;
&lt;li&gt;findElement retrieves first one that matches&lt;/li&gt;
&lt;li&gt;findElements retrieves all elements that match&lt;/li&gt;
&lt;li&gt;You can locate by&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Id&lt;/li&gt;
&lt;li&gt;Name&lt;/li&gt;
&lt;li&gt;LinkText (text of hyperlink)&lt;/li&gt;
&lt;li&gt;PartialLinkText&lt;/li&gt;
&lt;li&gt;Xpath (ultimate solution, when others don&#39;t work)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;ByXpath(&quot;//input[@placeholder=&#39;Email&#39;]&quot;) means locate an input field whose placeholder attribute value is Email.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;CssSelector&lt;/li&gt;
&lt;li&gt;TagName&lt;/li&gt;
&lt;li&gt;ClassName&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Locating by Xpath&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Xpath-Absolute: not recommended.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;//html/body/tag1[index]/..&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Xpath-Attributes: best when can&#39;t use id or name&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;//input[@id=&#39;Pass&#39; and @placeholder=&#39;Password&#39;]&lt;/li&gt;
&lt;li&gt;//input[contains(@id, &#39;user&#39;)]&amp;nbsp;&lt;/li&gt;
&lt;li&gt;//input[starts-with(@id, &#39;user&#39;)]&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Selenium IDE and Firefox developer tools can help to get the xpath of the element.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Xpath-Relative: best for table cells&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;//table[@id=&#39;xtable&#39;]/tbody/tr[3]/td[2]&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt;You can make Selenium to wait for the presence of some element:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;final WebDriverWait wait = new WebDriverWait(driver, 60);&lt;/li&gt;
&lt;li&gt;wait.until(ExpectedConditions.presenceOfElementLocated(By.id(&quot;the_id&quot;)));&lt;/li&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
A test case template:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
// create driver for the browser you want&lt;br /&gt;
WebDriver driver = new FirefoxDriver();&lt;br /&gt;
&lt;br /&gt;
//open homepage&lt;br /&gt;
driver.get(&quot;the_url&quot;);&lt;br /&gt;
&lt;br /&gt;
//find related field, enter some value&lt;br /&gt;
driver.findElement(By.[id|name|xpath](&quot;the_value&quot;)).[clear()|click()|sendKeys(&quot;..&quot;)];&lt;br /&gt;
&lt;br /&gt;
//find command button and click&lt;br /&gt;
driver.findElement(By.id(&quot;the_id&quot;)).click();&lt;br /&gt;
&lt;br /&gt;
//assert results&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/7818124358456493763/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/07/selenium-quickstart-tips.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/7818124358456493763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/7818124358456493763'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/07/selenium-quickstart-tips.html' title='selenium quickstart tips'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-6186592878125548918</id><published>2015-07-06T09:13:00.001+03:00</published><updated>2015-07-06T09:13:25.584+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mockito"/><category scheme="http://www.blogger.com/atom/ns#" term="testng"/><title type='text'>mockito with testng suite</title><content type='html'>When writing tests by mocking your objects, you have to call a method in order to make sure your @Mock annotations really work. This method call is as follows:&lt;br /&gt;
&lt;pre nbsp=&quot;&quot; style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; MockitoAnnotations.initMocks(this); &amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, we use a BaseTest and call the method there and extend our tests from that BaseTest. Thus, the tests succeed when you run them separately. However, when you call them as suite, you may get the folowing error:&lt;br /&gt;
&lt;pre nbsp=&quot;&quot; style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; testClass cannot be null. For info how to use @Mock annotations see examples in javadoc for MockitoAnnotations class &amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
I tried several approaches to fix this including using &lt;code&gt;MockitoTestNGListener.class&lt;/code&gt;, none of which work. Then i find an article advising not to use inheritance in tests (&lt;a href=&quot;http://www.petrikainulainen.net/programming/unit-testing/3-reasons-why-we-should-not-use-inheritance-in-our-tests/&quot;&gt;http://www.petrikainulainen.net/programming/unit-testing/3-reasons-why-we-should-not-use-inheritance-in-our-tests/&lt;/a&gt;), removing inheritance and calling &lt;code&gt;MockitoAnnotations.initMocks(this);&amp;nbsp;&lt;/code&gt; inside every test class worked :)&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/6186592878125548918/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/07/mockito-with-testng-suite.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6186592878125548918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6186592878125548918'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/07/mockito-with-testng-suite.html' title='mockito with testng suite'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-5793949402708336293</id><published>2015-06-18T13:32:00.002+03:00</published><updated>2015-06-18T14:00:26.248+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="eclipse indigo"/><category scheme="http://www.blogger.com/atom/ns#" term="testng"/><category scheme="http://www.blogger.com/atom/ns#" term="unit testing"/><title type='text'>using testng on eclipse</title><content type='html'>This post provides a quick roadmap to start using testng on eclipse, since there is enourmous amount of documentation on web and it is hard to pick the most relevant ones..&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.testng.org/doc/eclipse.html&quot;&gt;http://www.testng.org/doc/eclipse.html&lt;/a&gt; : quite well to start using the framework.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://khyatisehgal.wordpress.com/2014/08/24/java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0-at/&quot;&gt;https://khyatisehgal.wordpress.com/2014/08/24/java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0-at/&lt;/a&gt; : helps to solve the troubles encountered while following the first tutorial..&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=gFLpTjH9dlY&quot;&gt;https://www.youtube.com/watch?v=gFLpTjH9dlY&lt;/a&gt; : not too relevant, but it is a good seminar about testing on enterprise applications, so i wanted to share..&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
another tip: testng eclipse plugin version 6.9.5... (Update Site - &lt;a href=&quot;http://beust.com/eclipse&quot;&gt;http://beust.com/eclipse&lt;/a&gt;) supports JDK7 and 6.8.6 (Update Site - &lt;a href=&quot;http://beust.com/eclipse-old/eclipse-6.8.6.20141201_2240&quot;&gt;http://beust.com/eclipse-old/eclipse-6.8.6.20141201_2240&lt;/a&gt;) supports JDK6.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/5793949402708336293/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/06/using-testng-on-eclipse.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5793949402708336293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5793949402708336293'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/06/using-testng-on-eclipse.html' title='using testng on eclipse'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-889748983528316095</id><published>2015-06-16T14:49:00.001+03:00</published><updated>2015-06-16T14:59:06.538+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lucene"/><title type='text'>Lucene tip</title><content type='html'>If you manually delete some files from the lucene index directory, than the next time you try to index you will get an error about the location being OUT-OF-SYNC. The error message may look like something like that:&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; Entity com.mypackage.MyEntity Id 12345 Work Type org.hibernate.search.backend.UpdateLuceneWork  
 Entity com.mypackage.MyEntity Id 12346 Work Type org.hibernate.search.backend.UpdateLuceneWork  
 : org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/path/to/index/com.mypackage.MyEntity/write.lock  
 at org.apache.lucene.store.Lock.obtain(Lock.java:84) [lucene-core-3.5.0.jar:3.5.0 1204425 - simon - 2011-11-21 11:20:12]  
 at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1108) [lucene-core-3.5.0.jar:3.5.0 1204425 - simon - 2011-11-21 11:20:12]  
 at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.createNewIndexWriter(IndexWriterHolder.java:127) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.getIndexWriter(IndexWriterHolder.java:102) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriter(AbstractWorkspaceImpl.java:119) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.applyUpdates(LuceneBackendQueueTask.java:99) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.run(LuceneBackendQueueTask.java:67) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_03]  
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_03]  
 at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_03]  
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]  
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]  
 at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
My solution to this situation, is clearing the OUT-OF-SYNC folder content, restart the server and reindex.&lt;br /&gt;
More practical solutions may exist, but that worked for me.. By the way, just deleting the write.lock file does not work here..&lt;br /&gt;
Another tip about the lock mechanism:&lt;br /&gt;
(from &lt;a href=&quot;http://www.gossamer-threads.com/lists/lucene/java-user/261725&quot;&gt;http://www.gossamer-threads.com/lists/lucene/java-user/261725&lt;/a&gt; :)&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica; font-size: x-small;&quot;&gt;The existence of the write.lock file has nothing to do with actual locking. The lock file is just a placeholder file (0 bytes) on which the lock during indexing is applied (the actual locking is done on this file using a fnctl). When indexing finishes, the lock is removed from this file, but the file stays alive. This was different in Lucene 3, where the lock was also removed. But this caused problems because of non-atomic file operations. Lock factory only checks the &quot;lock on the file&quot;, not &quot;the existence of the file as a lock&quot;.&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/889748983528316095/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/06/lucene-tip.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/889748983528316095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/889748983528316095'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/06/lucene-tip.html' title='Lucene tip'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-8008986862979137713</id><published>2015-03-17T13:00:00.000+02:00</published><updated>2015-03-17T13:00:02.751+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="lucene"/><title type='text'>Lucene on clustered environment</title><content type='html'>I have a task to refresh lucene indexes periodically. However, when the application is deployed on a clustered environment, each node tries to start indexing process and others display the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; Entity com.me.MyEntity Id 1783 Work Type org.hibernate.search.backend.UpdateLuceneWork  
 : org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/path_to_index/com.me.MyEntity/write.lock  
 at org.apache.lucene.store.Lock.obtain(Lock.java:84) [lucene-core-3.5.0.jar:3.5.0 1204425 - simon - 2011-11-21 11:20:12]  
 at org.apache.lucene.index.IndexWriter.&amp;lt;init&amp;gt;(IndexWriter.java:1108) [lucene-core-3.5.0.jar:3.5.0 1204425 - simon - 2011-11-21 11:20:12]  
 at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.createNewIndexWriter(IndexWriterHolder.java:127) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.IndexWriterHolder.getIndexWriter(IndexWriterHolder.java:102) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.AbstractWorkspaceImpl.getIndexWriter(AbstractWorkspaceImpl.java:119) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.applyUpdates(LuceneBackendQueueTask.java:99) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask.run(LuceneBackendQueueTask.java:67) [hibernate-search-engine-4.1.0.Final.jar:4.1.0.Final]  
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_03]  
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_03]  
 at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_03]  
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]  
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]  
 at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Those links may help you:&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/1228833/sharing-a-java-synchronized-block-across-a-cluster-or-using-a-global-lock&quot;&gt;http://stackoverflow.com/questions/1228833/sharing-a-java-synchronized-block-across-a-cluster-or-using-a-global-lock&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/17921898/using-lucene-in-a-clustered-environment-with-shared-nfs&quot;&gt;http://stackoverflow.com/questions/17921898/using-lucene-in-a-clustered-environment-with-shared-nfs&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://forums.terracotta.org/forums/posts/list/6707.page&quot;&gt;http://forums.terracotta.org/forums/posts/list/6707.page&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/13486426/how-to-unlock-the-index-directory-in-lucene&quot;&gt;http://stackoverflow.com/questions/13486426/how-to-unlock-the-index-directory-in-lucene&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
But, i solved my case by adding a random timer to sleep :
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; @Schedule(...)   
      public void myTask() {  
           try {  
                long sleepFor = (long)(Math.random() * 100000);  
                Thread.sleep(sleepFor); // hope nodes sleep different amount of time  
                log.infov(&quot;Sleep for this cluster : &quot; + sleepFor);  
                Directory directory = FSDirectory.open(new File(&quot;path_to_index/com.me.MyEntity/&quot;));  
             if (directory.fileExists(&quot;write.lock&quot;)) {  
               log.infov(&quot;ATTENTION!!! Already done by the other node!!&quot;);  
               return;  
             }  
             directory.close();  
 ...  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
The random timer weakens the syncronization between nodes and the one who sleeps the least does the job! Then others know about this by checking the lock file..&lt;br /&gt;
&lt;br /&gt;
Hope this helps..&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/8008986862979137713/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/03/lucene-on-clustered-environment.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8008986862979137713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8008986862979137713'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/03/lucene-on-clustered-environment.html' title='Lucene on clustered environment'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-4280675396138605255</id><published>2015-03-09T16:15:00.001+02:00</published><updated>2015-03-09T16:15:47.279+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lucene"/><title type='text'>lucene date issue</title><content type='html'>When indexing with Lucene (Hibernate Search), you may notice difference between dates in the database and indexed values. For example, in my case, Lucene dates were a day before the dates in the database. This is due to timezone differences. In the following annotation, org.hibernate.search.annotations.DateBridge assumes GMT time..&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; @Column(name = &quot;CREATED&quot;)  
 @Temporal(TemporalType.TIMESTAMP)  
 @DateBridge(resolution = Resolution.DAY)  
 private Date created;  
&lt;/code&gt;&lt;/pre&gt;
My solution was to write a custom field bridge named ESTDateBridge by copying the original DateBridge code and changing the default timezone from GMT to&amp;nbsp;&quot;America/New_York&quot; (writing EST did not work..)&lt;br /&gt;
The working annotation is as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcojH73fqmhNyiz7SNuZr2c37UaKjU5pSFuGKnCo5WPlLbTdY45wIR_6hTjKcqHNOB0C2jA-HyZWl2Z8856UlNm4lznT9SskIPes2K-6cDfQTB7XLMhHq9vNPQwcZ9zy6frawwAUVAivsY/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; @Column(name = &quot;CREATED&quot;)  
 @Temporal(TemporalType.TIMESTAMP)  
 @FieldBridge(impl = ESTDateBridge.class)  
 private Date created;  
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Some references:&lt;br /&gt;
&lt;a href=&quot;http://jamesjefferies.com/2009/04/22/hibernate-search-lucene-and-greenwich-mean-time/&quot;&gt;http://jamesjefferies.com/2009/04/22/hibernate-search-lucene-and-greenwich-mean-time/&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.4/html/Infinispan_Query_Guide/sect-Bridges.html&quot;&gt;https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.4/html/Infinispan_Query_Guide/sect-Bridges.html&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://forum.hibernate.org/viewtopic.php?f=9&amp;amp;t=990266&amp;amp;view=next&quot;&gt;https://forum.hibernate.org/viewtopic.php?f=9&amp;amp;t=990266&amp;amp;view=next&amp;nbsp;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/4280675396138605255/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/03/lucene-date-issue.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4280675396138605255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4280675396138605255'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/03/lucene-date-issue.html' title='lucene date issue'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-4340732403142331109</id><published>2015-02-19T10:28:00.001+02:00</published><updated>2015-02-19T10:28:19.519+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>a simple tutorial about joins</title><content type='html'>Here is an excellent tutorial about basics of joins:&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=mhs4vwTSY-U&quot;&gt;https://www.youtube.com/watch?v=mhs4vwTSY-U&lt;/a&gt;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In fact, videos of Oresoft LWC seems very good for self training : &amp;nbsp;&lt;a href=&quot;https://www.youtube.com/user/TheOresoft/playlists&quot;&gt;https://www.youtube.com/user/TheOresoft/playlists&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/4340732403142331109/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/02/a-simple-tutorial-about-joins.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4340732403142331109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4340732403142331109'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/02/a-simple-tutorial-about-joins.html' title='a simple tutorial about joins'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-3309054025240655367</id><published>2015-02-18T12:34:00.002+02:00</published><updated>2015-02-18T12:34:58.472+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="guy harrison"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><title type='text'>Oracle performance tuning by Guy Harrison</title><content type='html'>I watched a great lecture on Oracle performance tuning by Guy Harrison and wanted to share it with my notes. The lecture can be watched here:&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=Ah1xjCl6Axg&quot;&gt;https://www.youtube.com/watch?v=Ah1xjCl6Axg&amp;nbsp;&lt;/a&gt;&amp;nbsp; (part 1)&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=f-C3nqaqND0&quot;&gt;https://www.youtube.com/watch?v=f-C3nqaqND0&lt;/a&gt;&amp;nbsp;(part 2)&lt;br /&gt;
.. and my notes taken while watching:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;application --(sql)--&amp;gt; database server --(request blocks)--&amp;gt; server memory --(request blocks)--&amp;gt; IO subsytem&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Problems in one layer may be caused or cured in the higher layer.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Therefore, tune db top-down&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;&lt;ul&gt;
&lt;li&gt;app code&lt;/li&gt;
&lt;li&gt;sql&lt;/li&gt;
&lt;li&gt;contention&lt;/li&gt;
&lt;li&gt;memory&lt;/li&gt;
&lt;li&gt;disk IO&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Make Oracle work smarter, not harder.. do not load it too much (donkey example in the lecture..)&lt;/li&gt;
&lt;li&gt;Nulls can not be indexed, so null equality queries work slower. Use some predefined value instead of nulls.&lt;/li&gt;
&lt;li&gt;Use concatenated index while searching multiple columns, reduces the IO requests drastically. but inserts get slower at the same time.&lt;/li&gt;
&lt;li&gt;Try to cache returned results, so do not go to database unless you need to.&lt;/li&gt;
&lt;li&gt;Use bind variables (otherwise -&amp;gt; parse overhead). use PreparedStatement in java.&lt;/li&gt;
&lt;li&gt;Minimize lock duration, use optimiztic locking&lt;/li&gt;
&lt;li&gt;Reduce network traffic by using array interface (setFetchSize) and stored procedure for complex sql s.&lt;/li&gt;
&lt;li&gt;help the optimizer (table statistics etc.)&lt;/li&gt;
&lt;li&gt;fix bad sql if optimizer makes suboptimal choice.&lt;/li&gt;
&lt;li&gt;Bad sql -&amp;gt; with highest CPU or IO consumption.&lt;/li&gt;
&lt;li&gt;V$SQL -&amp;gt; sys.dm_exec_requests&lt;/li&gt;
&lt;li&gt;order by, group by, join two tables without index -&amp;gt; performs a sort&lt;/li&gt;
&lt;li&gt;hash joins are more efficient than sort-merge&lt;/li&gt;
&lt;li&gt;not having enough memory to sort is bad..&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/3309054025240655367/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/02/oracle-performance-tuning-by-guy.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3309054025240655367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3309054025240655367'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/02/oracle-performance-tuning-by-guy.html' title='Oracle performance tuning by Guy Harrison'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-5892176240988652200</id><published>2015-01-07T10:22:00.002+02:00</published><updated>2015-01-07T10:24:31.268+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle sql developer"/><category scheme="http://www.blogger.com/atom/ns#" term="sql"/><title type='text'>shrinking tables to gain space in database (Oracle Sql Developer)</title><content type='html'>When you delete rows, the rows may not be physically deleted and you may not get the used space back. &amp;nbsp;The case is explained in the post:&amp;nbsp;&lt;a href=&quot;http://laurenthinoul.com/how-to-fix-ora-01654-unable-to-extend-index-in-tablespace/&quot;&gt;http://laurenthinoul.com/how-to-fix-ora-01654-unable-to-extend-index-in-tablespace/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You can run the following sql to compute statistics :&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
analyze table &amp;nbsp;&lt;thetable&gt; compute statistics;&lt;/thetable&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can view the statistics as in the picture:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkebMVigq_0uuIOCJqv4WzDawSAYSYv8erjzXFIcSKCpscO7i0ZN7bH71Q7padM98nhf3tKOxj1Nk5TJ0s9gWEIXDxlG_20w4o_8cJGlsefTAEVG3sSBs-EmlYlhlrXP1fA6aUgf0bJZA/s1600/image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkebMVigq_0uuIOCJqv4WzDawSAYSYv8erjzXFIcSKCpscO7i0ZN7bH71Q7padM98nhf3tKOxj1Nk5TJ0s9gWEIXDxlG_20w4o_8cJGlsefTAEVG3sSBs-EmlYlhlrXP1fA6aUgf0bJZA/s1600/image.png&quot; height=&quot;91&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
try this sql to shrink:&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
alter table&amp;nbsp;&lt;thetable&gt;&amp;nbsp;enable row movement;&lt;/thetable&gt;&lt;br /&gt;
alter table&amp;nbsp;&lt;thetable&gt;&amp;nbsp;shrink space;&lt;/thetable&gt;&lt;br /&gt;
alter table&amp;nbsp;&lt;thetable&gt;&amp;nbsp;disable row movement;&lt;/thetable&gt;&lt;br /&gt;
&lt;br /&gt;
analyze table&amp;nbsp;&lt;thetable&gt;&amp;nbsp;compute statistics;&lt;/thetable&gt;&lt;br /&gt;
commit;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
however, this may give the following error due to the reasons here:&amp;nbsp;&lt;a href=&quot;http://agstamy.blogspot.it/2009/02/ora-10631-when-trying-to-shrink-table.html&quot;&gt;http://agstamy.blogspot.it/2009/02/ora-10631-when-trying-to-shrink-table.html&lt;/a&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
SQL Error: ORA-10631: SHRINK clause should not be specified for this object&lt;br /&gt;
&amp;nbsp;&quot;SHRINK clause should not be specified for this object&quot;&lt;br /&gt;
*Cause: &amp;nbsp; &amp;nbsp;It is incorrect to issue shrink on the object&lt;br /&gt;
*Action: &amp;nbsp; Verify the object name and type and reissue the command&lt;br /&gt;
&lt;br /&gt;
in this case, you may try by removing the indexes, shrinking the table and recreating the indexes.&lt;br /&gt;
&lt;br /&gt;
btw, truncating the table gives you the space back!&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/5892176240988652200/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2015/01/shrinking-tables-to-gain-space-in.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5892176240988652200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5892176240988652200'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2015/01/shrinking-tables-to-gain-space-in.html' title='shrinking tables to gain space in database (Oracle Sql Developer)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkebMVigq_0uuIOCJqv4WzDawSAYSYv8erjzXFIcSKCpscO7i0ZN7bH71Q7padM98nhf3tKOxj1Nk5TJ0s9gWEIXDxlG_20w4o_8cJGlsefTAEVG3sSBs-EmlYlhlrXP1fA6aUgf0bJZA/s72-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-42812490535623248</id><published>2014-11-27T09:16:00.001+02:00</published><updated>2014-11-27T09:16:47.200+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lucene"/><category scheme="http://www.blogger.com/atom/ns#" term="performance"/><title type='text'>a lucene tip</title><content type='html'>Retrieving large resultsets with lucene may degrade performance as in &lt;a href=&quot;here:%C2%A0http://stackoverflow.com/questions/9868419/how-to-get-total-count-in-hibernate-full-text-search&quot;&gt;here:&amp;nbsp;http://stackoverflow.com/questions/9868419/how-to-get-total-count-in-hibernate-full-text-search&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
&lt;div&gt;
You can choose to show the first top k results, or you can paginate lucene as follows:&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;// can get the resultsize easily, so you know how many pages would be..&lt;/span&gt;
Integer resultSize &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; jpaQuery&lt;span style=&quot;color: #333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;getResultSize&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;();&lt;/span&gt; 
&lt;span style=&quot;color: #888888;&quot;&gt;// I use 1000 as max results, but it depends.. just try to find the optimum.&lt;/span&gt;
Integer pageCount &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; resultSize &lt;span style=&quot;color: #333333;&quot;&gt;/&lt;/span&gt; MAX_RESULTS &lt;span style=&quot;color: #333333;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;;&lt;/span&gt;
List&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt;Object&lt;span style=&quot;color: #333333;&quot;&gt;[]&amp;gt;&lt;/span&gt; rawQueryResultList &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;new&lt;/span&gt; ArrayList&lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&amp;gt;();&lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #333399; font-weight: bold;&quot;&gt;int&lt;/span&gt; page &lt;span style=&quot;color: #333333;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000dd; font-weight: bold;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;;&lt;/span&gt; page &lt;span style=&quot;color: #333333;&quot;&gt;&amp;lt;&lt;/span&gt; pageCount&lt;span style=&quot;color: #333333;&quot;&gt;;&lt;/span&gt; page&lt;span style=&quot;color: #333333;&quot;&gt;++)&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;{&lt;/span&gt;  
 jpaQuery&lt;span style=&quot;color: #333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;setFirstResult&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(&lt;/span&gt;page &lt;span style=&quot;color: #333333;&quot;&gt;*&lt;/span&gt; MAX_RESULTS&lt;span style=&quot;color: #333333;&quot;&gt;);&lt;/span&gt;
 jpaQuery&lt;span style=&quot;color: #333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;setMaxResults&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(&lt;/span&gt;MAX_RESULTS&lt;span style=&quot;color: #333333;&quot;&gt;);&lt;/span&gt;
  
 rawQueryResultList&lt;span style=&quot;color: #333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;addAll&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;(&lt;/span&gt;jpaQuery&lt;span style=&quot;color: #333333;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000cc;&quot;&gt;getResultList&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;());&lt;/span&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/42812490535623248/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/11/a-lucene-tip.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/42812490535623248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/42812490535623248'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/11/a-lucene-tip.html' title='a lucene tip'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-8408415502679786496</id><published>2014-06-12T11:44:00.001+03:00</published><updated>2014-06-12T11:45:42.697+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cypher"/><category scheme="http://www.blogger.com/atom/ns#" term="neo4j"/><title type='text'>book: learning cypher</title><content type='html'>Cypher is the query language for Neo4j graph databases. In fact, in my thesis about user profiling, i use cypher and &amp;nbsp;i am plannig to write a post about cypher after publishing my system for evaluation..&lt;br /&gt;
&lt;a href=&quot;http://www.neo4j.org/learn/cypher&quot;&gt;http://www.neo4j.org/learn/cypher&amp;nbsp;&lt;/a&gt;&amp;nbsp;provides good information about cypher.&lt;br /&gt;
Moreover, i am planning to review the book on&amp;nbsp;&lt;b style=&quot;background-color: white; color: #222222; font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://bit.ly/QZ5Alw&quot;&gt;&lt;span style=&quot;color: #1155cc;&quot;&gt;http://bit.ly/QZ5Alw&lt;/span&gt;&amp;nbsp;&lt;/a&gt;..&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;i recommend to try graph databases and cypher if you are dealing with connected-data problems..&amp;nbsp;&lt;/span&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/8408415502679786496/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/06/book-learning-cypher.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8408415502679786496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8408415502679786496'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/06/book-learning-cypher.html' title='book: learning cypher'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-9021308565125111722</id><published>2014-06-10T15:10:00.002+03:00</published><updated>2014-06-10T15:11:29.633+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bitbucket"/><category scheme="http://www.blogger.com/atom/ns#" term="git"/><title type='text'>bitbucket - checkout by date</title><content type='html'>At work, we decided to upgrade the system and we did not tag the old version in bitbucket (since we were planning to upgrade definitely).. However, due to some extra work and time restriction the team could not able to achieve the goal and we decided to return back to an old version by date. To do this,&lt;br /&gt;
- open SourceTree&lt;br /&gt;
- open git with Terminal icon and run the command &amp;nbsp;&lt;code&gt;git checkout &#39;master@{2014-04-01}&#39;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyMhD7ts3RigK-q-OmYB_p2Ddjj1ItuWDGJYfr_2opjodpeL46c1FWFm795GZZvZf6-7JbIiq337A5ucIcB3mgQSeKxFNsvggJkXBEPIMAgtsbsqTnBaeb03aZpH93wvmQyaF0kyKmYSc/s1600/command.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyMhD7ts3RigK-q-OmYB_p2Ddjj1ItuWDGJYfr_2opjodpeL46c1FWFm795GZZvZf6-7JbIiq337A5ucIcB3mgQSeKxFNsvggJkXBEPIMAgtsbsqTnBaeb03aZpH93wvmQyaF0kyKmYSc/s1600/command.png&quot; height=&quot;323&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
- create a branch for the detached head.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://answers.atlassian.com/questions/245850/how-to-run-a-git-command-as-a-custom-action&quot;&gt;https://answers.atlassian.com/questions/245850/how-to-run-a-git-command-as-a-custom-action&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/6990484/git-checkout-by-date&quot;&gt;http://stackoverflow.com/questions/6990484/git-checkout-by-date&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://answers.atlassian.com/questions/263451/branches-for-commit-git&quot;&gt;https://answers.atlassian.com/questions/263451/branches-for-commit-git&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/9021308565125111722/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/06/bitbucket-checkout-by-date.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/9021308565125111722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/9021308565125111722'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/06/bitbucket-checkout-by-date.html' title='bitbucket - checkout by date'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyMhD7ts3RigK-q-OmYB_p2Ddjj1ItuWDGJYfr_2opjodpeL46c1FWFm795GZZvZf6-7JbIiq337A5ucIcB3mgQSeKxFNsvggJkXBEPIMAgtsbsqTnBaeb03aZpH93wvmQyaF0kyKmYSc/s72-c/command.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-4520795123187976286</id><published>2014-05-19T21:45:00.004+03:00</published><updated>2014-05-20T00:20:28.930+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><title type='text'>intro. to developing a Facebook app</title><content type='html'>In order to evaluate my thesis work, i have to prepare a website with a &lt;code&gt;Connect with Facebook&lt;/code&gt; button. I am using Spring social api for Facebook functionality.&lt;br /&gt;
You have to enter your mobile phone and get a confirmation code to create a Facebook app from&amp;nbsp;&lt;a href=&quot;https://developers.facebook.com/&quot;&gt;https://developers.facebook.com/&lt;/a&gt;&amp;nbsp;Apps tab. Unfortunately, this was a bit problematic for me, i waited more than an hour to get a confirmation code with sms. After creating a Facebook app, you obtain an app id and app secret. They are important for your application to run successfully. Moreover, in development mode, do not enter any app domain, but add your localhost address as a canvas url as explained in&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/4532721/facebook-development-in-localhost&quot;&gt;http://stackoverflow.com/questions/4532721/facebook-development-in-localhost&lt;/a&gt;.&lt;br /&gt;
Now, with the help of the app id and app secret, you are able to write your application..&lt;br /&gt;
&lt;br /&gt;
Edit:&lt;br /&gt;
Facebook changed policy this month. The default Graph Api version is 1.0 for Facebook apps created before this month and 2.0 for apps created in this month. The facebook issues are summarized in&amp;nbsp;&lt;a href=&quot;http://www.nextscripts.com/known-issues/facebook-issues/&quot;&gt;http://www.nextscripts.com/known-issues/facebook-issues/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/4520795123187976286/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/05/intro-to-developing-facebook-app.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4520795123187976286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4520795123187976286'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/05/intro-to-developing-facebook-app.html' title='intro. to developing a Facebook app'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-2005482556748409208</id><published>2014-01-25T16:55:00.002+02:00</published><updated>2014-01-25T16:55:27.423+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="neo4j"/><category scheme="http://www.blogger.com/atom/ns#" term="neo4j-spring"/><title type='text'>the error: &quot;org.neo4j.graphdb.NotInTransactionException&quot;</title><content type='html'>The error message is somehing like this:&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
2014-01-25 16:37:43 ERROR HPAggregateProfile:141 - GRAMY_ERR:&lt;br /&gt;
org.neo4j.graphdb.NotInTransactionException&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.neo4j.kernel.impl.index.IndexConnectionBroker.acquireResourceConnection(IndexConnectionBroker.java:49)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.neo4j.index.impl.lucene.LuceneIndex.getConnection(LuceneIndex.java:85)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.neo4j.index.impl.lucene.LuceneIndex.add(LuceneIndex.java:138)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.data.neo4j.support.typerepresentation.AbstractIndexingTypeRepresentationStrategy.add(AbstractIndexingTypeRepresentationStrategy.java:124)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.data.neo4j.support.typerepresentation.AbstractIndexingTypeRepresentationStrategy.addToTypesIndex(AbstractIndexingTypeRepresentationStrategy.java:116)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.data.neo4j.support.typerepresentation.AbstractIndexingTypeRepresentationStrategy.writeTypeTo(AbstractIndexingTypeRepresentationStrategy.java:59)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.data.neo4j.support.mapping.TRSTypeAliasAccessor.writeTypeTo(TRSTypeAliasAccessor.java:46)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.data.neo4j.support.mapping.TRSTypeAliasAccessor.writeTypeTo(TRSTypeAliasAccessor.java:26)&lt;br /&gt;
&lt;br /&gt;
The solution is using transactions explicitly..&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/11485090/org-neo4j-graphdb-notintransactionexception&quot;&gt;http://stackoverflow.com/questions/11485090/org-neo4j-graphdb-notintransactionexception&lt;/a&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;@Autowired&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;GraphDatabaseService&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; graphDb&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;@Transactional&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; addRelation&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Transaction&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; tx &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; graphDb&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;beginTx&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;...&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  tx&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;success&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-color: transparent; border: 0px; color: grey; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;//or tx.failure();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  tx&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;finish&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/2005482556748409208/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/01/the-error-orgneo4jgraphdbnotintransacti.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/2005482556748409208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/2005482556748409208'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/01/the-error-orgneo4jgraphdbnotintransacti.html' title='the error: &quot;org.neo4j.graphdb.NotInTransactionException&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-4752382532485746640</id><published>2014-01-18T16:36:00.000+02:00</published><updated>2014-01-18T16:37:12.433+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="neo4j"/><category scheme="http://www.blogger.com/atom/ns#" term="neo4j-spring"/><title type='text'>the error:&quot;Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd)&quot;</title><content type='html'>The error message is:&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd).&lt;br /&gt;
&lt;br /&gt;
A related link: &amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/7267341/validation-error-of-spring-beans-schema-inside-application-context&quot;&gt;http://stackoverflow.com/questions/7267341/validation-error-of-spring-beans-schema-inside-application-context&lt;/a&gt;&lt;br /&gt;
In summary, the error may be resolved by doing the following:&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&quot;&lt;span style=&quot;background-color: #fafafa; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 13px; line-height: 17.280000686645508px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 13px; line-height: 17.280000686645508px;&quot;&gt;It was caused by some cached files. After removing those items (Preferences -&amp;gt; General -&amp;gt; Network Connections -&amp;gt; Cache) everything worked as expected.&lt;/span&gt;&lt;span style=&quot;background-color: #fafafa; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 13px; line-height: 17.280000686645508px;&quot;&gt;&amp;nbsp;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
However, in my condition it was not helpful :( Another cause is using different versions together as stated:&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;This error may have appeared because you had a mix of 2.5 xsd and 3.0 xsd in your applicationContext.xml. &quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;When i removed the version info from every element in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Liberation Sans, DejaVu Sans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 17.804800033569336px;&quot;&gt;xsi:schemaLocation, the project compiled successfully..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/4752382532485746640/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2014/01/the-errorreferenced-file-contains.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4752382532485746640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4752382532485746640'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2014/01/the-errorreferenced-file-contains.html' title='the error:&quot;Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd)&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-3369642401948552572</id><published>2013-12-09T14:30:00.002+02:00</published><updated>2013-12-09T14:30:48.755+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="telerik"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio 2013"/><title type='text'>telerik:GridTemplateColumn problem after migrating from Visual Studio 2012 to 2013</title><content type='html'>After migrating my project from Visual Studio 2012 to 2013, i realized that telerik grids with&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;GridTemplateColumn &lt;/span&gt;columns did not render successfully. The solution is adding the following to &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Web.xml&lt;/span&gt;:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0yp3A6Z0Up0lCv3ubLTyOvnOkb50i6JZvNSaYkJ8Mx9ZWtFci8GK-QadLXKZVKM-AWS0IBgPoRsW4D4djxGNfp4FYzKgv1-u2XQmYrJE7ZSA_kfdelpIyvocRevf3mKhLqhaLvG_QYAQ/s1600/webxml.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0yp3A6Z0Up0lCv3ubLTyOvnOkb50i6JZvNSaYkJ8Mx9ZWtFci8GK-QadLXKZVKM-AWS0IBgPoRsW4D4djxGNfp4FYzKgv1-u2XQmYrJE7ZSA_kfdelpIyvocRevf3mKhLqhaLvG_QYAQ/s1600/webxml.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;http://weblogs.asp.net/imranbaloch/archive/2013/10/23/messy-html-and-js-errors-when-you-install-visual-studio-2013.aspx&quot;&gt;http://weblogs.asp.net/imranbaloch/archive/2013/10/23/messy-html-and-js-errors-when-you-install-visual-studio-2013.aspx&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx&quot;&gt;http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/3369642401948552572/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/telerikgridtemplatecolumn-problem-after.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3369642401948552572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3369642401948552572'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/telerikgridtemplatecolumn-problem-after.html' title='telerik:GridTemplateColumn problem after migrating from Visual Studio 2012 to 2013'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0yp3A6Z0Up0lCv3ubLTyOvnOkb50i6JZvNSaYkJ8Mx9ZWtFci8GK-QadLXKZVKM-AWS0IBgPoRsW4D4djxGNfp4FYzKgv1-u2XQmYrJE7ZSA_kfdelpIyvocRevf3mKhLqhaLvG_QYAQ/s72-c/webxml.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-5840793380749886763</id><published>2013-12-08T14:59:00.001+02:00</published><updated>2013-12-08T21:10:46.329+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="dependency injection"/><category scheme="http://www.blogger.com/atom/ns#" term="ninject"/><title type='text'>dependency injection in .net - ninject </title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
i am spending this cold but bright sunday at home, since my mother had a simple surgery-like operation lately. So i am trying to solve some problems today to facilitate my week. One of those is refactoring my C# project by applying dependency injection.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here is a short video which clearly explains the concept:&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=IKD2-MAkXyQ&quot;&gt;http://www.youtube.com/watch?v=IKD2-MAkXyQ&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
My tool choice is ninject, since it is lightweight and does not require to write an xml for configuration. ( Despite being a SOA developer for several years in the past and dealt with bpel for a while, i still do not like using XML as a programming language. Here is an up-to-date discussion about it:&amp;nbsp;&lt;a href=&quot;http://programmers.stackexchange.com/questions/213316/xml-based-programming-languages&quot;&gt;http://programmers.stackexchange.com/questions/213316/xml-based-programming-languages&lt;/a&gt;&amp;nbsp;)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
And it is the Guice equivalent of .net :))&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/10844787/guice-equivalent-in-c-sharp&quot;&gt;http://stackoverflow.com/questions/10844787/guice-equivalent-in-c-sharp&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here is Ninject home page:&amp;nbsp;&lt;a href=&quot;http://www.ninject.org/&quot;&gt;http://www.ninject.org/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- how to set up:&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=w_MehI2qBTo&quot;&gt;http://www.youtube.com/watch?v=w_MehI2qBTo&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- wiki :&amp;nbsp;&lt;a href=&quot;https://github.com/ninject/ninject/wiki&quot;&gt;https://github.com/ninject/ninject/wiki&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://github.com/ninject/ninject/wiki/Dependency-Injection-By-Hand&quot;&gt;https://github.com/ninject/ninject/wiki/Dependency-Injection-By-Hand&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://github.com/ninject/ninject/wiki/Dependency-Injection-With-Ninject&quot;&gt;https://github.com/ninject/ninject/wiki/Dependency-Injection-With-Ninject&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://github.com/ninject/ninject/wiki/Contextual-Binding&quot;&gt;https://github.com/ninject/ninject/wiki/Contextual-Binding&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- a brand new book:&amp;nbsp;&lt;a href=&quot;http://www.packtpub.com/mastering-ninject-for-dependency-injection/book&quot;&gt;http://www.packtpub.com/mastering-ninject-for-dependency-injection/book&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
a sample chapter named&lt;i&gt; Getting Started with Ninject&lt;/i&gt; can be downloaded from &lt;i&gt;Scribd&amp;nbsp;&lt;/i&gt;&lt;a href=&quot;http://tr.scribd.com/doc/170865212/9781782166207-Mastering-Ninject-for-Dependency-Injection-Sample-Chapter&quot;&gt;http://tr.scribd.com/doc/170865212/9781782166207-Mastering-Ninject-for-Dependency-Injection-Sample-Chapter&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- quick introduction posts:&amp;nbsp;&lt;a href=&quot;http://www.codeproject.com/Articles/424749/Dependency-Injection-Using-Ninject&quot;&gt;http://www.codeproject.com/Articles/424749/Dependency-Injection-Using-Ninject&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;http://stefanoricciardi.com/2011/01/21/ninject-mini-tutorial-part-1/&quot;&gt;http://stefanoricciardi.com/2011/01/21/ninject-mini-tutorial-part-1/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://stefanoricciardi.com/2011/02/04/ninject-mini-tutorial-part-2/&quot;&gt;http://stefanoricciardi.com/2011/02/04/ninject-mini-tutorial-part-2/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- a practical introduction mini-book:&amp;nbsp;&lt;a href=&quot;http://www.jeremybytes.com/Downloads/DependencyInjection.pdf&quot;&gt;http://www.jeremybytes.com/Downloads/DependencyInjection.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- dependency injection in .net book:&amp;nbsp;&lt;a href=&quot;http://mangadonkey.free.fr/Calibre/Mark%20Seemann/Dependency%20Injection%20in%20.NET%20(29)/Dependency%20Injection%20in%20.NET%20-%20Mark%20Seemann.pdf&quot;&gt;http://mangadonkey.free.fr/Calibre/Mark%20Seemann/Dependency%20Injection%20in%20.NET%20(29)/Dependency%20Injection%20in%20.NET%20-%20Mark%20Seemann.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
which barely mentions Ninject.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
- and another article:&amp;nbsp;&lt;a href=&quot;http://www.dotnetcurry.com/showarticle.aspx?ID=829&quot;&gt;http://www.dotnetcurry.com/showarticle.aspx?ID=829&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/5840793380749886763/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/dependency-injection-in-net-ninject.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5840793380749886763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/5840793380749886763'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/dependency-injection-in-net-ninject.html' title='dependency injection in .net - ninject '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-6899598289894274711</id><published>2013-12-08T12:15:00.000+02:00</published><updated>2013-12-08T12:15:04.743+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="visual studio 2013"/><title type='text'>to start with Visual Studio 2013</title><content type='html'>i strongly recommend to watch&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=wa9Tvr9yiQs&quot;&gt;http://www.youtube.com/watch?v=wa9Tvr9yiQs&lt;/a&gt;&amp;nbsp;prior to development with Visual Studio 2013.</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/6899598289894274711/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/to-start-with-visual-studio-2013.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6899598289894274711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6899598289894274711'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/to-start-with-visual-studio-2013.html' title='to start with Visual Studio 2013'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-3615301173540427633</id><published>2013-12-07T22:01:00.000+02:00</published><updated>2013-12-07T22:01:01.219+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse vs visual studio"/><title type='text'>a good eclipse - visual studio comparison article</title><content type='html'>Here is an article which compares Eclipse and Visual Studio:&amp;nbsp;&lt;a href=&quot;http://jmonkeycoder.wordpress.com/2013/08/28/eclipse-vs-visual-studio/&quot;&gt;http://jmonkeycoder.wordpress.com/2013/08/28/eclipse-vs-visual-studio/&lt;/a&gt;&lt;br /&gt;
totally agree :)</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/3615301173540427633/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/a-good-eclipse-visual-studio-comparison.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3615301173540427633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3615301173540427633'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/a-good-eclipse-visual-studio-comparison.html' title='a good eclipse - visual studio comparison article'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-6232430145963023514</id><published>2013-12-07T20:48:00.001+02:00</published><updated>2013-12-07T20:48:38.743+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio 2013"/><title type='text'>windows authentication in IISExpress</title><content type='html'>When i migrated from Visual Studio 2012 to 2013,&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;HttpContext.Current.User.Identity.Name&lt;/span&gt; started to return an empty string . To overcome this, i had to turn on Windows authentication and turn off anonymous authentication in&amp;nbsp;&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;applicationhost.config&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;file&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;and restart Visual Studio 2013. (&lt;a href=&quot;http://stackoverflow.com/questions/4762538/iis-express-windows-authentication&quot;&gt;http://stackoverflow.com/questions/4762538/iis-express-windows-authentication&lt;/a&gt;)&lt;br /&gt;
By the way, the project properties are as follows:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6WTwvWMiTWZKpK8HzZ-JO4LKr930LqPZf6Fvg0xUrWB8tNN0ZWeh_rfOTGJGTyQwPz75sue4FJErAjvXAKcFVmK0-SybKVLl3xGjrszD35QB-48WiTQRHN4ub1oDE4ufT8MAfSG2VbHc/s1600/projectProp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6WTwvWMiTWZKpK8HzZ-JO4LKr930LqPZf6Fvg0xUrWB8tNN0ZWeh_rfOTGJGTyQwPz75sue4FJErAjvXAKcFVmK0-SybKVLl3xGjrszD35QB-48WiTQRHN4ub1oDE4ufT8MAfSG2VbHc/s400/projectProp.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/6232430145963023514/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/windows-authentication-in-iisexpress.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6232430145963023514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/6232430145963023514'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/windows-authentication-in-iisexpress.html' title='windows authentication in IISExpress'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6WTwvWMiTWZKpK8HzZ-JO4LKr930LqPZf6Fvg0xUrWB8tNN0ZWeh_rfOTGJGTyQwPz75sue4FJErAjvXAKcFVmK0-SybKVLl3xGjrszD35QB-48WiTQRHN4ub1oDE4ufT8MAfSG2VbHc/s72-c/projectProp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-4348187170123509966</id><published>2013-12-06T17:18:00.000+02:00</published><updated>2013-12-06T17:18:16.575+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mvc"/><title type='text'>for tomorrow s mvc training..</title><content type='html'>Here is an article for tomorrow s mvc training:&amp;nbsp;&lt;a href=&quot;http://umbraco.com/follow-us/blog-archive/2013/7/14/moving-from-webforms-to-mvc.aspx&quot;&gt;http://umbraco.com/follow-us/blog-archive/2013/7/14/moving-from-webforms-to-mvc.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
and&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/magazine/jj991978.aspx&quot;&gt;http://msdn.microsoft.com/en-us/magazine/jj991978.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/4348187170123509966/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/for-tomorrow-s-mvc-training.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4348187170123509966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/4348187170123509966'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/for-tomorrow-s-mvc-training.html' title='for tomorrow s mvc training..'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-3114366685535741774</id><published>2013-12-03T15:51:00.004+02:00</published><updated>2013-12-03T15:51:56.599+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vision"/><title type='text'>an interesting article</title><content type='html'>here is an interesting article:&amp;nbsp;&lt;a href=&quot;http://tech.pro/blog/1498/why-the-n-layer-approach-is-bad-for-us-all&quot;&gt;http://tech.pro/blog/1498/why-the-n-layer-approach-is-bad-for-us-all&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/3114366685535741774/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/an-interesting-article.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3114366685535741774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/3114366685535741774'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/12/an-interesting-article.html' title='an interesting article'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-8780286915949524622</id><published>2013-11-15T21:46:00.002+02:00</published><updated>2013-11-15T21:46:25.360+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mvc"/><title type='text'>mvc examples</title><content type='html'>links for tomorrow s mvc training:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/alirizaadiyahsi/HaberSitesiV2&quot;&gt;https://github.com/alirizaadiyahsi/HaberSitesiV2&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.ext.net/&quot;&gt;http://www.ext.net/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.asp.net/mvc&quot;&gt;http://www.asp.net/mvc&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.lynda.com/ASPNET-tutorials/ASPNET-MVC-4-Essential-Training/109762-2.html?gfv=true&quot;&gt;http://www.lynda.com/ASPNET-tutorials/ASPNET-MVC-4-Essential-Training/109762-2.html?gfv=true&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/8780286915949524622/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/11/mvc-examples_15.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8780286915949524622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/8780286915949524622'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/11/mvc-examples_15.html' title='mvc examples'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-670218211546936495.post-2717013456446403007</id><published>2013-11-12T11:40:00.001+02:00</published><updated>2013-11-12T11:41:07.391+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ef"/><category scheme="http://www.blogger.com/atom/ns#" term="ef5"/><title type='text'>lazy loading vs eager loading in ef5</title><content type='html'>The article&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/data/hh949853.aspx&quot;&gt;http://msdn.microsoft.com/en-us/data/hh949853.aspx&lt;/a&gt;&amp;nbsp;presents useful information about perfomance considerations in ef5, especially the following cheat sheet:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZKIGQxCTBAVkOFAZ6Ny3_5GwpTL6mpSH1tvIij6Pgb0rozmTgVmkRwYo2jgacveB5-vVSrhcag8-3WNysd0WwhQ3NC-35uaVrQpyhzVUgPjhsCHKdMAOrrSLBkw96d22ZxDI3i_QWcL4/s1600/ef5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZKIGQxCTBAVkOFAZ6Ny3_5GwpTL6mpSH1tvIij6Pgb0rozmTgVmkRwYo2jgacveB5-vVSrhcag8-3WNysd0WwhQ3NC-35uaVrQpyhzVUgPjhsCHKdMAOrrSLBkw96d22ZxDI3i_QWcL4/s1600/ef5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hilaltarakci.blogspot.com/feeds/2717013456446403007/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://hilaltarakci.blogspot.com/2013/11/lazy-loading-vs-eager-loading-in-ef5.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/2717013456446403007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/670218211546936495/posts/default/2717013456446403007'/><link rel='alternate' type='text/html' href='http://hilaltarakci.blogspot.com/2013/11/lazy-loading-vs-eager-loading-in-ef5.html' title='lazy loading vs eager loading in ef5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZKIGQxCTBAVkOFAZ6Ny3_5GwpTL6mpSH1tvIij6Pgb0rozmTgVmkRwYo2jgacveB5-vVSrhcag8-3WNysd0WwhQ3NC-35uaVrQpyhzVUgPjhsCHKdMAOrrSLBkw96d22ZxDI3i_QWcL4/s72-c/ef5.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>