<?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: EJB CMP/CMR example with JBoss+Xdoclet</title>
	<atom:link href="http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ejb-cmpcmr-example-with-jboss</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: CMR</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-401</link>
		<dc:creator>CMR</dc:creator>
		<pubDate>Wed, 25 Oct 2006 23:43:20 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-401</guid>
		<description><![CDATA[Did it and worked. In fact the CMR element -Container Managed Relations- is an obvious missing point. Do you know where I can get some good sources for CMR?
Thanks!]]></description>
		<content:encoded><![CDATA[<p>Did it and worked. In fact the CMR element -Container Managed Relations- is an obvious missing point. Do you know where I can get some good sources for CMR?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carola</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-400</link>
		<dc:creator>Carola</dc:creator>
		<pubDate>Thu, 22 Dec 2005 20:41:48 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-400</guid>
		<description><![CDATA[Hi everyone:

I would like to know if there&#039;s possible to generate querys in the .java&#039;s bean with xdoclect, something like Jboss IDE or hibernate. I must define relationships and create new querys and can&#039;t do enything of that with my Lomboz Eclipse plugin and Jboss server.

I would be greateful at any kind of help]]></description>
		<content:encoded><![CDATA[<p>Hi everyone:</p>
<p>I would like to know if there&#8217;s possible to generate querys in the .java&#8217;s bean with xdoclect, something like Jboss IDE or hibernate. I must define relationships and create new querys and can&#8217;t do enything of that with my Lomboz Eclipse plugin and Jboss server.</p>
<p>I would be greateful at any kind of help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Wurm</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-399</link>
		<dc:creator>Jens Wurm</dc:creator>
		<pubDate>Thu, 17 Nov 2005 19:05:56 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-399</guid>
		<description><![CDATA[Regarding Comment 4, that&#039;s because it&#039;s after the &quot;@jboss.target-relation&quot; tag, which refers to the blind side of the relation. In the case which you mentioned, one would use the &quot;@jboss.relation&quot; tag, which makes it work from the other side.

It took me very long to figure this out...somehow most tutorials on the net use that kind of example with the CMR Relation on the blind side, which i personally find not very intuitive for a first example. When trying it with the tags on the side with the foreign key column this produces &quot;unknown column in where query&quot; exceptions.]]></description>
		<content:encoded><![CDATA[<p>Regarding Comment 4, that&#8217;s because it&#8217;s after the &#8220;@jboss.target-relation&#8221; tag, which refers to the blind side of the relation. In the case which you mentioned, one would use the &#8220;@jboss.relation&#8221; tag, which makes it work from the other side.</p>
<p>It took me very long to figure this out&#8230;somehow most tutorials on the net use that kind of example with the CMR Relation on the blind side, which i personally find not very intuitive for a first example. When trying it with the tags on the side with the foreign key column this produces &#8220;unknown column in where query&#8221; exceptions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Breno Leitao</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-398</link>
		<dc:creator>Breno Leitao</dc:creator>
		<pubDate>Thu, 24 Feb 2005 12:15:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-398</guid>
		<description><![CDATA[I did it and it works correctly (after some hacks :o)).
Now i want to make tests around it. need i use cactus? is there another solution?
I dont want to kludge without another ejb. :-(
Thank you
Breno LeitÃ£o.
http://lcr.icmc.usp.br]]></description>
		<content:encoded><![CDATA[<p>I did it and it works correctly (after some hacks <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )).<br />
Now i want to make tests around it. need i use cactus? is there another solution?<br />
I dont want to kludge without another ejb. <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
Thank you<br />
Breno LeitÃ£o.<br />
<a href="http://lcr.icmc.usp.br" rel="nofollow">http://lcr.icmc.usp.br</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne v.Irmer</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-397</link>
		<dc:creator>Arne v.Irmer</dc:creator>
		<pubDate>Mon, 06 Dec 2004 08:08:17 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-397</guid>
		<description><![CDATA[For anyone who searches for good example code:
Maybe you like to look at
http://xpetstore.sourceforge.net/
It is quite simple but has no bedirection m:n relationship.]]></description>
		<content:encoded><![CDATA[<p>For anyone who searches for good example code:<br />
Maybe you like to look at<br />
<a href="http://xpetstore.sourceforge.net/" rel="nofollow">http://xpetstore.sourceforge.net/</a><br />
It is quite simple but has no bedirection m:n relationship.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne v.Irmer</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-396</link>
		<dc:creator>Arne v.Irmer</dc:creator>
		<pubDate>Tue, 30 Nov 2004 09:55:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-396</guid>
		<description><![CDATA[I got it!!!!&lt;br&gt; â€œssâ€? and me have the following problem:&lt;br&gt; XDoclet generates an empty {field-name} and {column -name}.&lt;br&gt; Here is the reason for that behaviour:&lt;br&gt; We got the source via copy and paste from this website. This leads us to the following line:&lt;br&gt; &lt;pre&gt;related-pk-field=&quot;table1IDâ€?&lt;/pre&gt; The closing quotation mark is non ASCII! This confuses XDoclet. Just replace it with the correct one (&quot;) and everything works properly. &lt;p&gt; Yours&lt;br&gt; Arne &lt;/p&gt;]]></description>
		<content:encoded><![CDATA[<p>I got it!!!!<br /> â€œssâ€? and me have the following problem:<br /> XDoclet generates an empty {field-name} and {column -name}.<br /> Here is the reason for that behaviour:<br /> We got the source via copy and paste from this website. This leads us to the following line:<br /> 
<pre class="wp-code-highlight prettyprint">related-pk-field=&quot;table1IDâ€?</pre>
<p> The closing quotation mark is non ASCII! This confuses XDoclet. Just replace it with the correct one (&#8220;) and everything works properly.
<p> Yours<br /> Arne </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeger Hendrikse</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-395</link>
		<dc:creator>Zeger Hendrikse</dc:creator>
		<pubDate>Tue, 23 Nov 2004 11:54:14 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-395</guid>
		<description><![CDATA[This example is part of quite a large project in Eclipse, hence it is not possible to compose such a JAR instantly. However, I think it is a very good idea. Moreover, the statistics show that many people are struggling with these issues and are consulting my post.

Although I cannot promise to deliver the JAR file tomorrow, I&#039;ll do my best to make it available soon. If so, I&#039;ll make a new post, instead of changing this one. Of course, I&#039;ll leave a comment referring to the new post.

If anyone else already has such a JAR file (preferrably based on my example) and is willing to share his/her efforts with the rest of the world, please let me know.

Regards,]]></description>
		<content:encoded><![CDATA[<p>This example is part of quite a large project in Eclipse, hence it is not possible to compose such a JAR instantly. However, I think it is a very good idea. Moreover, the statistics show that many people are struggling with these issues and are consulting my post.</p>
<p>Although I cannot promise to deliver the JAR file tomorrow, I&#8217;ll do my best to make it available soon. If so, I&#8217;ll make a new post, instead of changing this one. Of course, I&#8217;ll leave a comment referring to the new post.</p>
<p>If anyone else already has such a JAR file (preferrably based on my example) and is willing to share his/her efforts with the rest of the world, please let me know.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne v.Irmer</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-394</link>
		<dc:creator>Arne v.Irmer</dc:creator>
		<pubDate>Tue, 23 Nov 2004 11:32:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-394</guid>
		<description><![CDATA[It would be *very* nice if you can zip a complete working example (inclusive build.xml) and give it for download. Please.
Yours
 Arne
Btw.: Your examplanations are very understandable.]]></description>
		<content:encoded><![CDATA[<p>It would be *very* nice if you can zip a complete working example (inclusive build.xml) and give it for download. Please.<br />
Yours<br />
 Arne<br />
Btw.: Your examplanations are very understandable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne v.Irmer</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-393</link>
		<dc:creator>Arne v.Irmer</dc:creator>
		<pubDate>Tue, 23 Nov 2004 11:28:41 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-393</guid>
		<description><![CDATA[I got the same problems as &quot;ss&quot; has.
It would be &lt;strong&gt;*very*&lt;strong /&gt; nice if you can zip a complete working example (inclusive build.xml) and give it for download. &lt;strong&gt;&gt;&gt; Please &lt; &lt;&lt;strong/&gt;
Yours
 Arne
Btw.: Your examplanations are very understandable.]]></description>
		<content:encoded><![CDATA[<p>I got the same problems as &#8220;ss&#8221; has.<br />
It would be <strong>*very*<strong></strong> nice if you can zip a complete working example (inclusive build.xml) and give it for download. </strong><strong>>> Please < <<strong/><br />
Yours<br />
 Arne<br />
Btw.: Your examplanations are very understandable.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeger Hendrikse</title>
		<link>http://technology.amis.nl/2004/07/28/ejb-cmpcmr-example-with-jboss/#comment-392</link>
		<dc:creator>Zeger Hendrikse</dc:creator>
		<pubDate>Mon, 08 Nov 2004 11:28:56 +0000</pubDate>
		<guid isPermaLink="false">/?p=90#comment-392</guid>
		<description><![CDATA[From your comment I cannot see what you find confusing. I did not post the database schema, since the intention was to let the container create the schema for me. But now that the schema has been created, I can post it, of course!

An article is created in the Hypersonic database with this SQL statement:

&lt;pre&gt;
CREATE TABLE ARTICLE(PUBLICATION_ID_FK VARCHAR(256) NOT NULL,TITLE VARCHAR(256),JOURNAL VARCHAR(256),YEAR INTEGER,VOLUME VARCHAR(256),NUMBER INTEGER,PAGES VARCHAR(256),MONTH VARCHAR(256),NOTE VARCHAR(256),CONSTRAINT PK_ARTICLE PRIMARY KEY(PUBLICATION_ID_FK))
&lt;/pre&gt;

The PUBLICATION_ID_FK is primary key and foreign key at the same time for the article table. This is sound, since we are dealing with a one-to-one relationship here.

A bibliography is created with:

&lt;pre&gt;
CREATE TABLE BIBLIOGRAPHY(PUBLICATION_ID VARCHAR(256) NOT NULL,PUBLICATION_KEY VARCHAR(256),PUBLICATION_TYPE VARCHAR(256),ANNOTATE VARCHAR(256),CROSSREF VARCHAR(256),ABSTRACT VARCHAR(256),AFFILIATION VARCHAR(256),CONTENTS VARCHAR(256),COPYRIGHT VARCHAR(256),ISBN_ISSN VARCHAR(256),KEYWORDS VARCHAR(256),LANGUAGE VARCHAR(256),LCCN VARCHAR(256),LOCATION VARCHAR(256),SIZE INTEGER,MRNUMBER INTEGER,PRICE DECIMAL,URL VARCHAR(256),CATEGORY VARCHAR(256),CONSTRAINT PK_BIBLIOGRAPHY PRIMARY KEY(PUBLICATION_ID))
&lt;/pre&gt;
I hope this helped!]]></description>
		<content:encoded><![CDATA[<p>From your comment I cannot see what you find confusing. I did not post the database schema, since the intention was to let the container create the schema for me. But now that the schema has been created, I can post it, of course!</p>
<p>An article is created in the Hypersonic database with this SQL statement:</p>
<pre class="wp-code-highlight prettyprint">
CREATE TABLE ARTICLE(PUBLICATION_ID_FK VARCHAR(256) NOT NULL,TITLE VARCHAR(256),JOURNAL VARCHAR(256),YEAR INTEGER,VOLUME VARCHAR(256),NUMBER INTEGER,PAGES VARCHAR(256),MONTH VARCHAR(256),NOTE VARCHAR(256),CONSTRAINT PK_ARTICLE PRIMARY KEY(PUBLICATION_ID_FK))
</pre>
<p>The PUBLICATION_ID_FK is primary key and foreign key at the same time for the article table. This is sound, since we are dealing with a one-to-one relationship here.</p>
<p>A bibliography is created with:</p>
<pre class="wp-code-highlight prettyprint">
CREATE TABLE BIBLIOGRAPHY(PUBLICATION_ID VARCHAR(256) NOT NULL,PUBLICATION_KEY VARCHAR(256),PUBLICATION_TYPE VARCHAR(256),ANNOTATE VARCHAR(256),CROSSREF VARCHAR(256),ABSTRACT VARCHAR(256),AFFILIATION VARCHAR(256),CONTENTS VARCHAR(256),COPYRIGHT VARCHAR(256),ISBN_ISSN VARCHAR(256),KEYWORDS VARCHAR(256),LANGUAGE VARCHAR(256),LCCN VARCHAR(256),LOCATION VARCHAR(256),SIZE INTEGER,MRNUMBER INTEGER,PRICE DECIMAL,URL VARCHAR(256),CATEGORY VARCHAR(256),CONSTRAINT PK_BIBLIOGRAPHY PRIMARY KEY(PUBLICATION_ID))
</pre>
<p>I hope this helped!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
