<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to samples-framework</title><link>https://sourceforge.net/p/dal4j/wiki/samples-framework/</link><description>Recent changes to samples-framework</description><atom:link href="https://sourceforge.net/p/dal4j/wiki/samples-framework/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 03 Jan 2012 01:58:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dal4j/wiki/samples-framework/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage samples-framework modified by Harry Gardner</title><link>https://sourceforge.net/p/dal4j/wiki/samples-framework/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -1,6 +1,6 @@
 &lt;b&gt;DAL4j Framework Generated Pojo Example&lt;/b&gt;
 
-This project demonstrates how to generate and interact with Entity beans generated by the FrameworkPojoGenerator class. The generated Entities are DAL4j framework enabled entities but can also behave like normal Entity beans that do not interact with the DAL4j framework.
+This project found in the samples/framework directory, demonstrates how to generate and interact with Entity beans generated by the FrameworkPojoGenerator class. The generated Entities are DAL4j framework enabled entities but can also behave like normal Entity beans that do not interact with the DAL4j framework.
 
 Framework genreated pojos can interact the the DAL4j framework to simplify/abstract common operations. See samples/framework/src/com/dal4j/sample/framework/app/TestApp.java for more detail.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Harry Gardner</dc:creator><pubDate>Tue, 03 Jan 2012 01:58:47 -0000</pubDate><guid>https://sourceforge.net02d4f6b42b2b0eb13bd71a99132360e1db201101</guid></item><item><title>WikiPage samples-framework modified by Harry Gardner</title><link>https://sourceforge.net/p/dal4j/wiki/samples-framework/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -2,26 +2,26 @@
 
 This project demonstrates how to generate and interact with Entity beans generated by the FrameworkPojoGenerator class. The generated Entities are DAL4j framework enabled entities but can also behave like normal Entity beans that do not interact with the DAL4j framework.
 
-Framework genreated pojos can interact the the DAL4j framework to simplify/abstract common operations. See samples/framework/src/com/dal4j/app/TestApp.java for more detail.
-
+Framework genreated pojos can interact the the DAL4j framework to simplify/abstract common operations. See samples/framework/src/com/dal4j/sample/framework/app/TestApp.java for more detail.
+
 &lt;b&gt;Pojo Generation&lt;/b&gt;
-This project comes with pre-generated Entity beans which can be found in the src/com/dal4j/ejb/entity directory. To re-generate these classes (to undersand how code generation works) do the following.
+This project comes with pre-generated Entity beans which can be found in the src/com/dal4j/sample/framework/ejb/entity directory. To re-generate these classes (to undersand how code generation works) do the following.
 
     NOTE: To perform code generation a MySQL or SQLServer database server is required.
 
     1. Create the sample database, see README.txt in the samples/db directory.
     2. Edit the appropriate configuration file found in samples/framework/bin:
        config-sqlserver.xml - If the sample DB is in a sqlserver database.
        config-mysql.xml - If the sample DB is in a mysql database.
        In the configuration file, url, user, pwd, and instance as needed:
     3. From samples/framework in a dos or unix shell run from the bin directory:
        DOS: classgen &lt;appropriate-config-file.xml&gt;
        Unix/Cygwin: classgen.sh appropriate-config-file.xml
        For a SQL server database.
        classgen.sh config-sqlserver.xml
        For a MySQL server database.
        classgen config-mysql.xml
-    4. If the command worked, the code was generated to src/com/dal4j/ejb/entity
+    4. If the command worked, the code was generated to src/com/dal4j/sample/framework/ejb/entity
     5. Edit META-INF/persistence.xml with your database connection information.
        In persistence.xml,change the following as required to connect to you database:
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Harry Gardner</dc:creator><pubDate>Tue, 03 Jan 2012 01:57:17 -0000</pubDate><guid>https://sourceforge.net9907801adaa3b212de1a6817889674d3735a579b</guid></item><item><title>WikiPage samples-framework modified by Harry Gardner</title><link>https://sourceforge.net/p/dal4j/wiki/samples-framework/</link><description>&lt;b&gt;DAL4j Framework Generated Pojo Example&lt;/b&gt;

This project demonstrates how to generate and interact with Entity beans generated by the FrameworkPojoGenerator class. The generated Entities are DAL4j framework enabled entities but can also behave like normal Entity beans that do not interact with the DAL4j framework.

Framework genreated pojos can interact the the DAL4j framework to simplify/abstract common operations. See samples/framework/src/com/dal4j/app/TestApp.java for more detail.

&lt;b&gt;Pojo Generation&lt;/b&gt;
This project comes with pre-generated Entity beans which can be found in the src/com/dal4j/ejb/entity directory. To re-generate these classes (to undersand how code generation works) do the following.

    NOTE: To perform code generation a MySQL or SQLServer database server is required.

    1. Create the sample database, see README.txt in the samples/db directory.
    2. Edit the appropriate configuration file found in samples/framework/bin:
       config-sqlserver.xml - If the sample DB is in a sqlserver database.
       config-mysql.xml - If the sample DB is in a mysql database.
       In the configuration file, url, user, pwd, and instance as needed:
    3. From samples/framework in a dos or unix shell run from the bin directory:
       DOS: classgen &lt;appropriate-config-file.xml&gt;
       Unix/Cygwin: classgen.sh appropriate-config-file.xml
       For a SQL server database.
       classgen.sh config-sqlserver.xml
       For a MySQL server database.
       classgen config-mysql.xml
    4. If the command worked, the code was generated to src/com/dal4j/ejb/entity
    5. Edit META-INF/persistence.xml with your database connection information.
       In persistence.xml,change the following as required to connect to you database:

       &lt;property name="eclipselink.jdbc.driver" value="net.sourceforge.jtds.jdbc.Driver"/&gt;
       &lt;property name="eclipselink.jdbc.url" value="jdbc:jtds:sqlserver://localhost:1433;databaseName=dal4j"/&gt;
       &lt;property name="eclipselink.jdbc.password" value="dal4j"/&gt;
       &lt;property name="eclipselink.jdbc.user" value="dal4j"/&gt;

    6. Re-compile the code, from the samples/framework directory, run: ant

       NOTE: Ant must be in your path for this to work.

    7. At this points, tests can be executed... See 'Test Execution'

&lt;b&gt;Test Execution&lt;/b&gt;
To run the test applicationl, run the following command from the
samples/framework/bin directory:

    DOS: run
    Unix/Cygwin: run.sh

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Harry Gardner</dc:creator><pubDate>Tue, 03 Jan 2012 00:22:52 -0000</pubDate><guid>https://sourceforge.net775bf8c23e742dda0d24af4b4bd09808efb13a15</guid></item></channel></rss>