<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Database_creation</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>Recent changes to Database_creation</description><atom:link href="https://sourceforge.net/p/milk-framework/wiki/Database_creation/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 21 May 2015 21:37:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/milk-framework/wiki/Database_creation/feed" rel="self" type="application/rss+xml"/><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -24,12 +24,12 @@
     @Override
     protected DataSource createDataSource() {

-   // For this example, we create a DataSource to a H2 test database
+        // For this example, we create a DataSource to a H2 test database

-   final BasicDataSource ds = new BasicDataSource();
-   ds.setDriverClassName("org.h2.Driver");
-   ds.setUrl("jdbc:h2:~/test");
-   return ds;
+        final BasicDataSource ds = new BasicDataSource();
+        ds.setDriverClassName("org.h2.Driver");
+        ds.setUrl("jdbc:h2:~/test");
+        return ds;
     }
 }
 ~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 21 May 2015 21:37:26 -0000</pubDate><guid>https://sourceforge.net1f96a974e701851c8be9bd1ac32deef290822c8e</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 21 May 2015 21:35:44 -0000</pubDate><guid>https://sourceforge.net4fe00946857b09a7fd1c9e6368c5b607f7130e1b</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -8,10 +8,10 @@
 Let's create our database !
 ---

-First of all, we need to create a Db class, that represents a database in our project. In order to do this, just create a class that extends Db. The compiler fill force us to implement createDataSource method (as its name says, it is the way we obtain the datasource to provide database connections):
+First of all, we need to create a Db class, that represents a database in our project. In order to do this, just create a class that extends Db. The compiler forces us to implement createDataSource method (as its name says, it is the way we obtain the datasource to provide database connections):

 ~~~~
-package net.sourceforge.milk.tests.common;
+package net.sourceforge.milk.examples;

 import javax.sql.DataSource;

@@ -21,13 +21,16 @@

 public class IssuesDb extends Db {

-   @Override
-   protected DataSource createDataSource() {
-       final BasicDataSource ds = new BasicDataSource();
-       ds.setDriverClassName("org.h2.Driver");
-       ds.setUrl("jdbc:h2:~/test");
-       return ds;
-   }
+    @Override
+    protected DataSource createDataSource() {
+
+   // For this example, we create a DataSource to a H2 test database
+
+   final BasicDataSource ds = new BasicDataSource();
+   ds.setDriverClassName("org.h2.Driver");
+   ds.setUrl("jdbc:h2:~/test");
+   return ds;
+    }
 }
 ~~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 21 May 2015 21:35:27 -0000</pubDate><guid>https://sourceforge.net248fbbaaa629788896b6622332dfb569cde5bf43</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -15,18 +15,11 @@

 import javax.sql.DataSource;

-import net.sourceforge.milk.Transaction;
+import net.sourceforge.milk.Db;

 import org.apache.commons.dbcp.BasicDataSource;

-public class IssuesDb extends DbWithOrm {
-
-   public IssuesDb(final Transaction transaccion) {
-       super(transaccion);
-   }
-
-   public IssuesDb() {
-   }
+public class IssuesDb extends Db {

    @Override
    protected DataSource createDataSource() {
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 21 May 2015 21:33:08 -0000</pubDate><guid>https://sourceforge.net519cf63b507490b390315b494f98ac7f443f1a14</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,7 +1,7 @@
 MILK by Example
 ===============

-[(Go to examples index)](Examples)
+[(Return to examples index)](Examples)

 In this section, you can find examples of how to use MILK database framework. I don't want to make you loose your time so, to the point:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 13:29:15 -0000</pubDate><guid>https://sourceforge.netbee8b1e351799f41e71eca382b7a120df183cda5</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,7 +1,7 @@
 MILK by Example
 ===============

-**[NEXT: launch some queries &amp;gt;&amp;gt;](Launch_queries)**
+[(Go to examples index)](Examples)

 In this section, you can find examples of how to use MILK database framework. I don't want to make you loose your time so, to the point:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 13:28:46 -0000</pubDate><guid>https://sourceforge.nete2f068ad1bab6ca47656fe40706b5a2a060934f3</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,5 +1,7 @@
 MILK by Example
 ===============
+
+**[NEXT: launch some queries &amp;gt;&amp;gt;](Launch_queries)**

 In this section, you can find examples of how to use MILK database framework. I don't want to make you loose your time so, to the point:

@@ -36,4 +38,4 @@
 }
 ~~~~

-And we are done! we are now ready to *[launch some queries &amp;gt;&amp;gt;](Launch_queries)*.
+And we are done! we are now ready to **[NEXT: launch some queries &amp;gt;&amp;gt;](Launch_queries)**.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 13:20:14 -0000</pubDate><guid>https://sourceforge.netfdfc4b62e7d0d82b04efbc39d2969c338e4f5261</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -36,4 +36,4 @@
 }
 ~~~~

-And we are done! we are now ready to [launch some queries](Launch_queries).
+And we are done! we are now ready to *[launch some queries &amp;gt;&amp;gt;](Launch_queries)*.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 13:19:35 -0000</pubDate><guid>https://sourceforge.net0846c58d1068268afcd64a6efb15bf0bb0f3057c</guid></item><item><title>Database_creation modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Database_creation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 13:12:26 -0000</pubDate><guid>https://sourceforge.net7fd48fbf85f78088880e47ab9a4b52295bfb08d5</guid></item><item><title>Examples modified by Luis M. Villa</title><link>https://sourceforge.net/p/milk-framework/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -36,4 +36,4 @@
 }
 ~~~~

-And we are done! we are now ready to (launch some queries)[Launch_queries].
+And we are done! we are now ready to [launch some queries](Launch_queries).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luis M. Villa</dc:creator><pubDate>Thu, 19 Feb 2015 12:21:56 -0000</pubDate><guid>https://sourceforge.net849af75848352362db13117ab088a703dfce4749</guid></item></channel></rss>