<?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"
	>
<channel>
	<title>Comments on: Seam 1.1 New Features</title>
	<atom:link href="http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/</link>
	<description>"Science is a wonderful thing if one does not have to earn one's living at it" -- Albert Einstein</description>
	<pubDate>Thu, 11 Mar 2010 20:35:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Michael Yuan</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-50057</link>
		<dc:creator>Michael Yuan</dc:creator>
		<pubDate>Tue, 29 Jan 2008 17:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-50057</guid>
		<description>Everett,

You need to read the Hibernate documentation to find out how to construct various queries. But a key point here is that Hibernate (or JPA) is an "Object Relational Mapping" framework. That means you work with Java objects not database columns in your application.

Selecting a single column from a database table is doable in Hibernate (run native queries) but it is not recommended since it exposes the details of your relational model into the abstract object layer.

cheers
Michael</description>
		<content:encoded><![CDATA[<p>Everett,</p>
<p>You need to read the Hibernate documentation to find out how to construct various queries. But a key point here is that Hibernate (or JPA) is an &#8220;Object Relational Mapping&#8221; framework. That means you work with Java objects not database columns in your application.</p>
<p>Selecting a single column from a database table is doable in Hibernate (run native queries) but it is not recommended since it exposes the details of your relational model into the abstract object layer.</p>
<p>cheers<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Everett Zhou</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-50049</link>
		<dc:creator>Everett Zhou</dc:creator>
		<pubDate>Tue, 29 Jan 2008 16:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-50049</guid>
		<description>Hi Michael,

I have read your article and your book “JBOSS SEAM”.  I am trying to get started writing the first class.  But I have a naïve question.  In the ManagerAction.java for the Hello example project, you have the following code:

fans = em.createQuery("select p from Person p") .getResultList(); 

if I want to select a particular column, say name, how can I do that?  I have tried p.name.  It does not give any return results, no errors.  If I use p.NAME, then get errors.

Can you help on this?

Thanks.

Everett</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I have read your article and your book “JBOSS SEAM”.  I am trying to get started writing the first class.  But I have a naïve question.  In the ManagerAction.java for the Hello example project, you have the following code:</p>
<p>fans = em.createQuery(&#8221;select p from Person p&#8221;) .getResultList(); </p>
<p>if I want to select a particular column, say name, how can I do that?  I have tried p.name.  It does not give any return results, no errors.  If I use p.NAME, then get errors.</p>
<p>Can you help on this?</p>
<p>Thanks.</p>
<p>Everett</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-13751</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 25 Apr 2007 09:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-13751</guid>
		<description>Thank You</description>
		<content:encoded><![CDATA[<p>Thank You</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-7586</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 26 Feb 2007 07:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-7586</guid>
		<description>Hello Michael,
I bought the "Developing Scalable Series 40 Applciations" more than a year ago. It is really an important book for any Mobile Java developer and hellped me a lot.

I would like to ask you about chapter 12 (Developing Scalable Applciations). I found Antenna as a flexible tool for building application to various devices, and I want to continue using it. Would you suggest today to try other tools that were not known at that time (when the book was published)?
Thanks in advance,
David</description>
		<content:encoded><![CDATA[<p>Hello Michael,<br />
I bought the &#8220;Developing Scalable Series 40 Applciations&#8221; more than a year ago. It is really an important book for any Mobile Java developer and hellped me a lot.</p>
<p>I would like to ask you about chapter 12 (Developing Scalable Applciations). I found Antenna as a flexible tool for building application to various devices, and I want to continue using it. Would you suggest today to try other tools that were not known at that time (when the book was published)?<br />
Thanks in advance,<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Yuan</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-3190</link>
		<dc:creator>Michael Yuan</dc:creator>
		<pubDate>Mon, 08 Jan 2007 18:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-3190</guid>
		<description>Hi George,

Sorry my bad. There is no ready tool to generate a complete CRUD app. What we have are:

1. The Seam Gen tool that generates a complete project template with all configuration files and IDE / Ant integration.

2. A CRUD application framework that allows you to declaratively write the data access object. This way you can write a simple app with no Java code.

cheers
Michael</description>
		<content:encoded><![CDATA[<p>Hi George,</p>
<p>Sorry my bad. There is no ready tool to generate a complete CRUD app. What we have are:</p>
<p>1. The Seam Gen tool that generates a complete project template with all configuration files and IDE / Ant integration.</p>
<p>2. A CRUD application framework that allows you to declaratively write the data access object. This way you can write a simple app with no Java code.</p>
<p>cheers<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Ector</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-3188</link>
		<dc:creator>George Ector</dc:creator>
		<pubDate>Mon, 08 Jan 2007 17:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-3188</guid>
		<description>Hi Michael,

I've already purchased the rough-cut and I look forward to the hard copy.
I was wondering if you could give a hint on which Seam tools will help automatically create CRUD from the database that are mentioned in Chapter 12?</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I&#8217;ve already purchased the rough-cut and I look forward to the hard copy.<br />
I was wondering if you could give a hint on which Seam tools will help automatically create CRUD from the database that are mentioned in Chapter 12?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Yuan</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-453</link>
		<dc:creator>Michael Yuan</dc:creator>
		<pubDate>Thu, 02 Nov 2006 21:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-453</guid>
		<description>Hi Tony,

Yes, the book will be fully updated to incorporate Seam 1.1 features. That is why there is so much delay in publication! :)

I am not sure what is the problem with roughcut. It certainly sounds bad. :( Maybe I should start to take paypal payments on my own web site. :)

cheers
Michael</description>
		<content:encoded><![CDATA[<p>Hi Tony,</p>
<p>Yes, the book will be fully updated to incorporate Seam 1.1 features. That is why there is so much delay in publication! <img src='http://www.michaelyuan.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I am not sure what is the problem with roughcut. It certainly sounds bad. <img src='http://www.michaelyuan.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Maybe I should start to take paypal payments on my own web site. <img src='http://www.michaelyuan.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>cheers<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-451</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 02 Nov 2006 20:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelyuan.com/blog/2006/10/25/seam-11-new-features/#comment-451</guid>
		<description>Will these updates make it into your "as yet" unpublished book on seam (simplicity and power beyond java EE).
I tried to buy the "rough cuts" to get the .pdf but the site does not accept the 4 CC's I tried.</description>
		<content:encoded><![CDATA[<p>Will these updates make it into your &#8220;as yet&#8221; unpublished book on seam (simplicity and power beyond java EE).<br />
I tried to buy the &#8220;rough cuts&#8221; to get the .pdf but the site does not accept the 4 CC&#8217;s I tried.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
