<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ActiveObjects 0.8 Released</title>
	<atom:link href="http://www.codecommit.com/blog/java/activeobjects-08-released/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/java/activeobjects-08-released</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:21:24 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Francisco Valdez</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-4963</link>
		<dc:creator>Francisco Valdez</dc:creator>
		<pubDate>Mon, 19 Apr 2010 16:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-4963</guid>
		<description>Is there any way to auto-generate classes from a .SQL file? I have a big system, and I have all my DB generated and working. If I want to migrate to ActiveObjects, I will need something that generates the classes from a .SQL file, so I don&#039;t have to write all manually.</description>
		<content:encoded><![CDATA[<p>Is there any way to auto-generate classes from a .SQL file? I have a big system, and I have all my DB generated and working. If I want to migrate to ActiveObjects, I will need something that generates the classes from a .SQL file, so I don&#8217;t have to write all manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Zuzin</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-4899</link>
		<dc:creator>Alex Zuzin</dc:creator>
		<pubDate>Fri, 09 Oct 2009 23:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-4899</guid>
		<description>Awesome stuff, after years of Hibernate/EJB3 torture. :)
Any chance the distribution can move off the infinitely godawfuly unreliable dev.java.net?
Right now I can&#039;t even download the release.
Google Code, perhaps?</description>
		<content:encoded><![CDATA[<p>Awesome stuff, after years of Hibernate/EJB3 torture. <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Any chance the distribution can move off the infinitely godawfuly unreliable dev.java.net?<br />
Right now I can&#8217;t even download the release.<br />
Google Code, perhaps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wilhelm</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-4846</link>
		<dc:creator>Mark Wilhelm</dc:creator>
		<pubDate>Tue, 26 May 2009 23:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-4846</guid>
		<description>Any update on the 0.9 or 1.0 release?  And is Oracle &quot;done&quot; too?  This looks very promising and appreciate all the hard work.</description>
		<content:encoded><![CDATA[<p>Any update on the 0.9 or 1.0 release?  And is Oracle &#8220;done&#8221; too?  This looks very promising and appreciate all the hard work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3839</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Wed, 16 Jul 2008 16:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3839</guid>
		<description>Technically, there is a forum on the java.net project page, but nobody really uses it.  :-)  I monitor it and certainly would not mind if it were used more, but currently the best place to discuss AO is on the users list (users [at] activeobjects.dev.java.net)</description>
		<content:encoded><![CDATA[<p>Technically, there is a forum on the java.net project page, but nobody really uses it.  <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   I monitor it and certainly would not mind if it were used more, but currently the best place to discuss AO is on the users list (users [at] activeobjects.dev.java.net)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Trocha</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3838</link>
		<dc:creator>Thomas Trocha</dc:creator>
		<pubDate>Wed, 16 Jul 2008 13:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3838</guid>
		<description>Is there somewhere a discussion-forum concerning activeobjects?</description>
		<content:encoded><![CDATA[<p>Is there somewhere a discussion-forum concerning activeobjects?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3831</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Mon, 14 Jul 2008 17:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3831</guid>
		<description>I&#039;m not sure what you mean by &quot;aggregations&quot;.  Can you send me (or even better, the ActiveObjects users&#039;s list) an email directly and explain in more detail?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you mean by &#8220;aggregations&#8221;.  Can you send me (or even better, the ActiveObjects users&#8217;s list) an email directly and explain in more detail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Schwab</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3817</link>
		<dc:creator>Stephan Schwab</dc:creator>
		<pubDate>Tue, 08 Jul 2008 01:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3817</guid>
		<description>Is @Preload({&quot;emitter&quot;, &quot;avg(processingTime) as processingTime&quot; }) together with entityManager.find(AverageProcessingTimesByEmitter.class, Query.select().group(&quot;emitter&quot;)) the right way to do aggregations with AO? It works but I&#039;m a bit unsure whether it&#039;s supposed to work that way. Any thoughts, suggestions?</description>
		<content:encoded><![CDATA[<p>Is @Preload({&#8220;emitter&#8221;, &#8220;avg(processingTime) as processingTime&#8221; }) together with entityManager.find(AverageProcessingTimesByEmitter.class, Query.select().group(&#8220;emitter&#8221;)) the right way to do aggregations with AO? It works but I&#8217;m a bit unsure whether it&#8217;s supposed to work that way. Any thoughts, suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3434</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Wed, 09 Apr 2008 03:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3434</guid>
		<description>:-)  Glad you like it!  If you have any suggestions, please don&#039;t hesitate to send them my way.

With regards to migrate, I wanted to do it so that it just migrated all of the entities in scope, but unfortunately Java doesn&#039;t provide a way to do this reflectively.  What I *can* do is migrate all dependent entities.  So if you consider your schema as a directed graph, with paths defined by foreign key relationships, it is only necessary to add the unconnected &quot;roots&quot; of the graph and the rest will follow.  So if Person has a getter which returns a Company, you can migrate Person and ActiveObjects will automatically traverse the dependencies and migrate Company as well.  It&#039;s not a perfect solution, but it does save listing *all* of the entities in the migration.</description>
		<content:encoded><![CDATA[<p> <img src='http://www.codecommit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   Glad you like it!  If you have any suggestions, please don&#8217;t hesitate to send them my way.</p>
<p>With regards to migrate, I wanted to do it so that it just migrated all of the entities in scope, but unfortunately Java doesn&#8217;t provide a way to do this reflectively.  What I *can* do is migrate all dependent entities.  So if you consider your schema as a directed graph, with paths defined by foreign key relationships, it is only necessary to add the unconnected &#8220;roots&#8221; of the graph and the rest will follow.  So if Person has a getter which returns a Company, you can migrate Person and ActiveObjects will automatically traverse the dependencies and migrate Company as well.  It&#8217;s not a perfect solution, but it does save listing *all* of the entities in the migration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: realgt</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3433</link>
		<dc:creator>realgt</dc:creator>
		<pubDate>Wed, 09 Apr 2008 01:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3433</guid>
		<description>hey thanks for the reply - that makes sense i guess, although it&#039;d be easier to call EntityManager#migrate without a long list of classes and have it automatically migrate all classes which extend Entity. i guess i can&#039;t see a use case where you don&#039;t pass it a list of all your classes (which could get rather troublesome) ...especially since it drops all unlisted class tables.

in any case, i looked around and found AO to be the most developed ActiveRecords port to java, great job. looking forward to future releases.</description>
		<content:encoded><![CDATA[<p>hey thanks for the reply &#8211; that makes sense i guess, although it&#8217;d be easier to call EntityManager#migrate without a long list of classes and have it automatically migrate all classes which extend Entity. i guess i can&#8217;t see a use case where you don&#8217;t pass it a list of all your classes (which could get rather troublesome) &#8230;especially since it drops all unlisted class tables.</p>
<p>in any case, i looked around and found AO to be the most developed ActiveRecords port to java, great job. looking forward to future releases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/activeobjects-08-released/comment-page-1#comment-3425</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Tue, 08 Apr 2008 01:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/activeobjects-08-released#comment-3425</guid>
		<description>You&#039;re always welcome to send me an email directly, or (even better) email the users list (users@activeobjects.dev.java.net).

To answer your question, ActiveObjects migrations literally sync the database schema with your entity structure.  The *entire* database is made to sync, which means that if any tables are there which shouldn&#039;t be, they are removed.  It&#039;s like making a commit into an SCM.  The remote state is made to match your local state, including any files you may have deleted.

There&#039;s a feature scheduled for 2.0 which will allow configurability in this area, but for right now migrations are a true sync, regardless of what data may be lost.</description>
		<content:encoded><![CDATA[<p>You&#8217;re always welcome to send me an email directly, or (even better) email the users list (users@activeobjects.dev.java.net).</p>
<p>To answer your question, ActiveObjects migrations literally sync the database schema with your entity structure.  The *entire* database is made to sync, which means that if any tables are there which shouldn&#8217;t be, they are removed.  It&#8217;s like making a commit into an SCM.  The remote state is made to match your local state, including any files you may have deleted.</p>
<p>There&#8217;s a feature scheduled for 2.0 which will allow configurability in this area, but for right now migrations are a true sync, regardless of what data may be lost.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

