<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>เกรลส์ หกสิบหก</title>
	<atom:link href="http://www.grails66.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.grails66.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 17:25:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Grails 1.3.3 ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1068</link>
		<comments>http://www.grails66.com/blog/?p=1068#comments</comments>
		<pubDate>Fri, 09 Jul 2010 17:25:21 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1068</guid>
		<description><![CDATA[ทางทีมพัฒนาปล่อย Grails 1.3.3 ออกมา โดยใน version นี้ประกอบไปด้วย
1. การแก้ไข bugs ต่างๆ ( 17 ตัว )
2. ปรับปรุงประสิทธิภาพการทำงาน ( 1 ตัว )
3. เพื่อ feature จำนวน 1 ตัว
และทาง SpringSource ได้เพิ่ม Grails Forum เข้ามาในส่วน Forum ของ Spring communities เพื่อให้ผู้ใช้งานเข้ามาพูดคุยหรือสอบถามปัญหาต่างๆ ได้สะดวกยิ่งขึ้น
Resources
- Download
- Changelog
- Document
]]></description>
			<content:encoded><![CDATA[<p>ทางทีมพัฒนาปล่อย Grails 1.3.3 ออกมา โดยใน version นี้ประกอบไปด้วย<br />
1. การแก้ไข bugs ต่างๆ ( 17 ตัว )<br />
2. ปรับปรุงประสิทธิภาพการทำงาน ( 1 ตัว )<br />
3. เพื่อ feature จำนวน 1 ตัว</p>
<p>และทาง SpringSource ได้เพิ่ม <a href="http://forum.springsource.org/forumdisplay.php?f=76">Grails Forum</a> เข้ามาในส่วน Forum ของ Spring communities เพื่อให้ผู้ใช้งานเข้ามาพูดคุยหรือสอบถามปัญหาต่างๆ ได้สะดวกยิ่งขึ้น</p>
<p><strong>Resources</strong><br />
- <a href="http://grails.org/Download">Download</a><br />
- <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11063&#038;version=16545">Changelog</a><br />
- <a href="http://grails.org/doc/1.3.x">Document</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1068</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>มาแล้วววว Grails 1.3.2</title>
		<link>http://www.grails66.com/blog/?p=1058</link>
		<comments>http://www.grails66.com/blog/?p=1058#comments</comments>
		<pubDate>Mon, 28 Jun 2010 04:50:40 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1058</guid>
		<description><![CDATA[ทางทีมพัฒนาได้ปล่อย Grails 1.3.2 ออกมาแล้วโดยใน version นี้จะเป็นการแก้ไขข้อผิดพลาดต่างๆ ใน verison 1.3.0 และ 1.3.1  และได้เพิ่มส่วนต่างๆเข้าไปอีก เช่น
- สนับสนุน Groovy 1.7.3
- สนับสนุน Spring Frameowrk 3.0.3
- มีการตรวจสอบความผิดพลาดของ script ที่ใช้งาน โดยถ้าผิดจะมีการแนะนำ script ที่ใกล้เคียงให้ โดยช่วยทำให้ผู้ใช้งานสะดวกมากยิ่งขึ้น
- method find() ใน doamin class นั้นสนับสนุนการทำ caching แล้ว
- ปรับปรุง  HTTP Proxy โดยสามารถเพิ่ม proxy ได้มากกว่า 1 proxy
ที่มา 
Grails 1.3.2 Release Notes
]]></description>
			<content:encoded><![CDATA[<p>ทางทีมพัฒนาได้ปล่อย Grails 1.3.2 ออกมาแล้วโดยใน version นี้จะเป็นการแก้ไขข้อผิดพลาดต่างๆ ใน verison 1.3.0 และ 1.3.1  และได้เพิ่มส่วนต่างๆเข้าไปอีก เช่น<br />
- สนับสนุน Groovy 1.7.3<br />
- สนับสนุน Spring Frameowrk 3.0.3<br />
- มีการตรวจสอบความผิดพลาดของ script ที่ใช้งาน โดยถ้าผิดจะมีการแนะนำ script ที่ใกล้เคียงให้ โดยช่วยทำให้ผู้ใช้งานสะดวกมากยิ่งขึ้น<br />
- method find() ใน doamin class นั้นสนับสนุนการทำ caching แล้ว<br />
- ปรับปรุง  HTTP Proxy โดยสามารถเพิ่ม proxy ได้มากกว่า 1 proxy</p>
<p><strong>ที่มา </strong><br />
<a href="http://grails.org/1.3.2+Release+Notes">Grails 1.3.2 Release Notes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1058</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GORM Has-Many แบบ Tree Relationship</title>
		<link>http://www.grails66.com/blog/?p=1039</link>
		<comments>http://www.grails66.com/blog/?p=1039#comments</comments>
		<pubDate>Tue, 15 Jun 2010 18:37:26 +0000</pubDate>
		<dc:creator>poorprogrammer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gorm]]></category>
		<category><![CDATA[newbie]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1039</guid>
		<description><![CDATA[เรื่องรามันเริ่มที่มี table อยู่แล้วต้อง map ขึ้นมาเป็น domain class แน่นอนเพื่อให้มันดูสวยงาม GORM DSL Mapping คือคำตอบทุกอย่างก็ผ่านไปด้วยดี แต่แล้วก็ต้องสะดุดลงเมื่อเจอกับความสัมพันธ์แบบ one-to-many แต่มาหาตัวเองก็มานั่งนึกว่าเอ้จะ map ยังไงจริงๆ มันก็ง่ายนิดเดียวแต่ก็ไปคิดซะเยอะเอง entry นี้เลยไม่ได้เป็นการมาเล่าเรื่องใหม่แต่เป็นการมาขยายความไม่รู้ของตัวเองแทนเผื่อจะมีใครลอง google คำนี้จะได้เข้ามาเจอ พวกเรา (แอบ SEO หน่อยๆ อิอิ)
โดยแค่มองให้มัน hasMany หาตัวเองก็เรียบร้อย แล้วก็ใช้ mapping  ช่วยเรื่องชื่อ column นิดหน่อย ดู code เลยแล้วกันอธิบายไม่เก่งครับ

// In ./grails-app/domain/Department.groovy
class Department {
Department rootDepartment
static hasMany = [ subDepartments : Department ]

static constraints = {
thaiName(blank:false)
}

static mapping = [...]]]></description>
			<content:encoded><![CDATA[<p>เรื่องรามันเริ่มที่มี table อยู่แล้วต้อง map ขึ้นมาเป็น domain class แน่นอนเพื่อให้มันดูสวยงาม GORM DSL Mapping คือคำตอบทุกอย่างก็ผ่านไปด้วยดี แต่แล้วก็ต้องสะดุดลงเมื่อเจอกับความสัมพันธ์แบบ one-to-many แต่มาหาตัวเองก็มานั่งนึกว่าเอ้จะ map ยังไงจริงๆ มันก็ง่ายนิดเดียวแต่ก็ไปคิดซะเยอะเอง entry นี้เลยไม่ได้เป็นการมาเล่าเรื่องใหม่แต่เป็นการมาขยายความไม่รู้ของตัวเองแทนเผื่อจะมีใครลอง google คำนี้จะได้เข้ามาเจอ พวกเรา (แอบ SEO หน่อยๆ อิอิ)</p>
<p>โดยแค่มองให้มัน hasMany หาตัวเองก็เรียบร้อย แล้วก็ใช้ mapping  ช่วยเรื่องชื่อ column นิดหน่อย ดู code เลยแล้วกันอธิบายไม่เก่งครับ</p>
<pre class="brush: java">
// In ./grails-app/domain/Department.groovy
class Department {
Department rootDepartment
static hasMany = [ subDepartments : Department ]

static constraints = {
thaiName(blank:false)
}

static mapping = {
table &#039;DEPARTMENT&#039;
id column: &#039;DEPARTMENT_ID&#039;
rootDepartment column: &#039;PARENT_DEPARTMENT_ID&#039;
}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1039</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grails 1.3.1 ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1035</link>
		<comments>http://www.grails66.com/blog/?p=1035#comments</comments>
		<pubDate>Tue, 18 May 2010 03:36:08 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1035</guid>
		<description><![CDATA[ทางทีมพัฒนา Grails และ SpringSource ได้ปล่อย Grails 1.3.1 ออกมา [ หลังจากปล่อย 1.3 final มาไม่นาน ]
โดย Grails 1.3.1 นี้มีการปรับปรุงดังนี้
-features ใหม่ๆ 3 ตัว
-ปรับปรุงความสามารถ 5 ตัว
-แก้ไขข้อผิดพลาด 8 ตัว
ที่มา
-Changelog: See JIRA
-Download
-Documentation
]]></description>
			<content:encoded><![CDATA[<p>ทางทีมพัฒนา Grails และ SpringSource ได้ปล่อย Grails 1.3.1 ออกมา [ หลังจากปล่อย 1.3 final มาไม่นาน ]</p>
<p>โดย Grails 1.3.1 นี้มีการปรับปรุงดังนี้<br />
-features ใหม่ๆ 3 ตัว<br />
-ปรับปรุงความสามารถ 5 ตัว<br />
-แก้ไขข้อผิดพลาด 8 ตัว</p>
<p><strong>ที่มา</strong><br />
-<a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11063&#038;version=16350">Changelog: See JIRA</a><br />
-<a href="http://grails.org/Download">Download</a><br />
-<a href="http://grails.org/doc/1.3.x">Documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1035</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Grails 1.3 ตัวเต็มๆ ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1031</link>
		<comments>http://www.grails66.com/blog/?p=1031#comments</comments>
		<pubDate>Tue, 11 May 2010 16:25:34 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1031</guid>
		<description><![CDATA[ทางทีมพัฒนาปล่อยตัวเต็มๆ ของ Grails 1.3 ออกมาแล้ว โดยใน version นี้ใช้ Groovy 1.7 ซึ่งมีความสามารถต่างๆ มากมาย รวมทั้งเรื่องประสิทธิภาพการทำงานที่ดีขึ้นมาก โดยส่งผลดีต่อ Grails 1.3 อย่างมากมาย
ความสามารถของ Grails 1.3 มีดังนี้
- JUnit4
- Maven Repository
- Declarative plugin dependencies
- Dirty checking in GORM
- Chaining of named criteria
- Sitemesh layout
ดังนั้นตอนนี้สามารถ download มาใช้งานได้แล้วนะครับ
ปล. โดยใน version ถัดไปต่อจากนี้คือ Grails 2.0 โดยจะเน้นในเรื่อง plugin runtime modularity,  database reverse engineering/migration รวมทั้งปรับปรุงการใช้งานให้ง่ายยิ่งขึ้น
Website References
- Grails 1.3 [...]]]></description>
			<content:encoded><![CDATA[<p>ทางทีมพัฒนาปล่อยตัวเต็มๆ ของ Grails 1.3 ออกมาแล้ว โดยใน version นี้ใช้ Groovy 1.7 ซึ่งมีความสามารถต่างๆ มากมาย รวมทั้งเรื่องประสิทธิภาพการทำงานที่ดีขึ้นมาก โดยส่งผลดีต่อ Grails 1.3 อย่างมากมาย</p>
<p><strong>ความสามารถของ Grails 1.3 มีดังนี้</strong><br />
- JUnit4<br />
- Maven Repository<br />
- Declarative plugin dependencies<br />
- Dirty checking in GORM<br />
- Chaining of named criteria<br />
- Sitemesh layout</p>
<p>ดังนั้นตอนนี้สามารถ download มาใช้งานได้แล้วนะครับ</p>
<p>ปล. โดยใน version ถัดไปต่อจากนี้คือ Grails 2.0 โดยจะเน้นในเรื่อง plugin runtime modularity,  database reverse engineering/migration รวมทั้งปรับปรุงการใช้งานให้ง่ายยิ่งขึ้น</p>
<p><strong>Website References</strong><br />
- <a href="http://blog.springsource.com/2010/05/11/grails-1-3-released/">Grails 1.3 Released</a><br />
- <a href="http://www.grails.org/1.3+Release+Notes">Release Notes</a><br />
- <a href="http://grails.org/Download">Download</a><br />
- <a href="http://grails.org/doc/1.3.0/">Documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1031</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grails 1.3 RC2 ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1029</link>
		<comments>http://www.grails66.com/blog/?p=1029#comments</comments>
		<pubDate>Sat, 24 Apr 2010 15:06:29 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1029</guid>
		<description><![CDATA[ทางทีมพัฒนาได้ปล่อย Grails 1.3 RC2  ออกมาซึ่งเป็นการแก้ไขข้อผิดพลาดต่างๆ และปรับปรุงประสิทธิภาพของการทำงานต่างๆ  โดย RC2 นี้เป็นตัวสุดท้ายก่อนที่จะปล่อยตัวเต็มออกมาในเร็วๆ นี้ครับ
ข้อมูลเพิ่มเติม 
- Release notes
- Download
- Changelog
]]></description>
			<content:encoded><![CDATA[<p>ทางทีมพัฒนาได้ปล่อย Grails 1.3 RC2  ออกมาซึ่งเป็นการแก้ไขข้อผิดพลาดต่างๆ และปรับปรุงประสิทธิภาพของการทำงานต่างๆ  โดย RC2 นี้เป็นตัวสุดท้ายก่อนที่จะปล่อยตัวเต็มออกมาในเร็วๆ นี้ครับ</p>
<p><strong>ข้อมูลเพิ่มเติม </strong><br />
- <a href="http://www.grails.org/1.3-RC2+Release+Notes">Release notes</a><br />
- <a href="http://grails.org/Download">Download</a><br />
- <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11063&#038;version=16334">Changelog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1029</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ขอปรึกษาเรื่อง grials ในการแยก tier หน่อยครับ</title>
		<link>http://www.grails66.com/blog/?p=1026</link>
		<comments>http://www.grails66.com/blog/?p=1026#comments</comments>
		<pubDate>Wed, 14 Apr 2010 07:04:53 +0000</pubDate>
		<dc:creator>optixpro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1026</guid>
		<description><![CDATA[คือผมต้องการแยก jar file ในส่วนของ domain และ servince ออกไปจาก war ที่มัดรวมอยู่กับ view และ controller ประเด็นคือต้องการแยก tier ไห้ domain และ servince อยู่ใน business tier server และอยู่ต่างเครื่อง กับ view และ controller จะทำยังไงไห้มันสามารถคุยกันได้ครับ ใช้ remote plugin เข้ามาช่วยรึปร่าวครับ ช่วยแนะนำหน่อยครับว่า เป็นไปได้ไหม และยังไง
]]></description>
			<content:encoded><![CDATA[<p>คือผมต้องการแยก jar file ในส่วนของ domain และ servince ออกไปจาก war ที่มัดรวมอยู่กับ view และ controller ประเด็นคือต้องการแยก tier ไห้ domain และ servince อยู่ใน business tier server และอยู่ต่างเครื่อง กับ view และ controller จะทำยังไงไห้มันสามารถคุยกันได้ครับ ใช้ remote plugin เข้ามาช่วยรึปร่าวครับ ช่วยแนะนำหน่อยครับว่า เป็นไปได้ไหม และยังไง</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1026</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Grails 1.3 RC1 ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1021</link>
		<comments>http://www.grails66.com/blog/?p=1021#comments</comments>
		<pubDate>Sun, 04 Apr 2010 18:25:43 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.3]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1021</guid>
		<description><![CDATA[เมื่อวันที่ 31 มีนาคมที่ผ่านมาทางทีมงานของ SpringSource ได้ปล่อย Grails 1.3 RC1 ( Released Candidate ) ออกมา  โดยมี features ใหม่ตาม Grails 1.3 M2
รวมทั้งแก้ไขข้อผิดพลาดต่างๆ ที่ได้รับกลับมา  ดังนั้นชาว Grails ทั้งหลายสามารถ Download และทดสอบใช้งานได้เลยครับ  เมื่อพบปัญหาหรือข้อผิดพลาดต่างๆ
สามารถแจ้งไปที่ทีมงานของ SpringSource ได้เลยครับ
Changelog: See JIRA
Download: http://grails.org/Download
Documentation: http://grails.org/doc/1.3.x
]]></description>
			<content:encoded><![CDATA[<p>เมื่อวันที่ 31 มีนาคมที่ผ่านมาทางทีมงานของ SpringSource ได้ปล่อย Grails 1.3 RC1 ( Released Candidate ) ออกมา  โดยมี features ใหม่ตาม <a href="http://www.grails66.com/blog/?p=987">Grails 1.3 M2</a></p>
<p>รวมทั้งแก้ไขข้อผิดพลาดต่างๆ ที่ได้รับกลับมา  ดังนั้นชาว Grails ทั้งหลายสามารถ Download และทดสอบใช้งานได้เลยครับ  เมื่อพบปัญหาหรือข้อผิดพลาดต่างๆ<br />
สามารถแจ้งไปที่ทีมงานของ SpringSource ได้เลยครับ</p>
<p><strong>Changelog:</strong> <a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11063&#038;version=16274">See JIRA</a><br />
<strong>Download:</strong> <a href="http://grails.org/Download">http://grails.org/Download</a><br />
<strong>Documentation:</strong> <a href="http://grails.org/doc/1.3.x">http://grails.org/doc/1.3.x</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1021</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grails 1.2.2 ออกมาแล้ว</title>
		<link>http://www.grails66.com/blog/?p=1012</link>
		<comments>http://www.grails66.com/blog/?p=1012#comments</comments>
		<pubDate>Thu, 25 Mar 2010 14:49:31 +0000</pubDate>
		<dc:creator>up1</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[grails1.2.2]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1012</guid>
		<description><![CDATA[Grails 1.2.2 ออกมาแล้ว
ทีมพัฒนา Grails ได้ปล่อย version 1.2.2 ออกมาโดยส่วนใหญ่เป็นการแก้ไขข้อผิดพลาดและปรับปรุงประสิทธิภาพต่างๆ ที่มีใน version 1.2 ตาม Link นี้
และ Grails 1.2.2 เป็น version ที่เสถียรสำหรับ production ด้วยครับ ดังนั้นทำการ download ได้ที่นี่ครับ
ที่มา
Grails 1.2.2 Release Notes
]]></description>
			<content:encoded><![CDATA[<p><strong>Grails 1.2.2 ออกมาแล้ว</strong></p>
<p>ทีมพัฒนา Grails ได้ปล่อย version 1.2.2 ออกมาโดยส่วนใหญ่เป็นการแก้ไขข้อผิดพลาดและปรับปรุงประสิทธิภาพต่างๆ ที่มีใน version 1.2 ตาม<a href="http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11063&#038;version=16198"> Link นี้</a></p>
<p>และ Grails 1.2.2 เป็น version ที่เสถียรสำหรับ production ด้วยครับ ดังนั้นทำการ <a href="http://grails.org/download/file?mirror=141">download ได้ที่นี่ครับ</a></p>
<p><strong>ที่มา</strong><br />
<a href="http://www.grails.org/1.2.2+Release+Notes">Grails 1.2.2 Release Notes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1012</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>สอบถามวิธีการทำ Relational กันหน่อยครับ</title>
		<link>http://www.grails66.com/blog/?p=1005</link>
		<comments>http://www.grails66.com/blog/?p=1005#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:50:13 +0000</pubDate>
		<dc:creator>samrantim</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.grails66.com/blog/?p=1005</guid>
		<description><![CDATA[ตอนนี้ผมใหม่มากสำหรับ Grail นะครับ โจทย์ของผมคือจะทำระบบ inventory นะครับทำหน้ารับสินค้าโดยผมจะมี domain ดังนี้ครับ
class header{
String docno
String invoicno
&#8230;&#8230;&#8230;&#8230;..
}
class detail{
String docno
int  rowids
String  itemcode
int  qty
float  price
&#8230;&#8230;&#8230;&#8230;..
}
class items{
String itemcode
String itemname
&#8230;&#8230;&#8230;..
}
เราจะต้องสร้างความสัมพันธ์อย่างไงครับเพื่อที่จะให้ได้ item name มาแสดงที่ detail ครับ
ต้องรบกวนผู้รู้หน่อยครับ ผมต้องการความสัมพัน จาก header &#8211;&#62; detail &#8211;&#62; item
คือใน header จะมีหลาย item ใน detail อะครับ
ขอบคุณครับ
]]></description>
			<content:encoded><![CDATA[<p>ตอนนี้ผมใหม่มากสำหรับ Grail นะครับ โจทย์ของผมคือจะทำระบบ inventory นะครับทำหน้ารับสินค้าโดยผมจะมี domain ดังนี้ครับ</p>
<p>class header{</p>
<p>String docno</p>
<p>String invoicno</p>
<p>&#8230;&#8230;&#8230;&#8230;..</p>
<p>}</p>
<p>class detail{</p>
<p>String docno</p>
<p>int  rowids</p>
<p>String  itemcode</p>
<p>int  qty</p>
<p>float  price</p>
<p>&#8230;&#8230;&#8230;&#8230;..</p>
<p>}</p>
<p>class items{</p>
<p>String itemcode</p>
<p>String itemname</p>
<p>&#8230;&#8230;&#8230;..</p>
<p>}</p>
<p>เราจะต้องสร้างความสัมพันธ์อย่างไงครับเพื่อที่จะให้ได้ item name มาแสดงที่ detail ครับ</p>
<p>ต้องรบกวนผู้รู้หน่อยครับ ผมต้องการความสัมพัน จาก header &#8211;&gt; detail &#8211;&gt; item</p>
<p>คือใน header จะมีหลาย item ใน detail อะครับ</p>
<p>ขอบคุณครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grails66.com/blog/?feed=rss2&amp;p=1005</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
