<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-2369</id>
	<title>Nabble - AppFuse</title>
	<updated>2008-10-10T18:32:18Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/AppFuse-f2369.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/AppFuse-f2369.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19928621</id>
	<title>Re: Spring Web Flow and AppFuse</title>
	<published>2008-10-10T18:32:18Z</published>
	<updated>2008-10-10T18:32:18Z</updated>
	<author>
		<name>David Whitehurst</name>
	</author>
	<content type="html">Guys:
&lt;br&gt;&lt;br&gt;I made a new folder in /web called /webflow and I'm going to do it all
&lt;br&gt;over again using Webflow there. &amp;nbsp;Once I get a reply as to where we do
&lt;br&gt;it, I'll revise to suit. &amp;nbsp;This will let me do the whole Webflow thing
&lt;br&gt;in it's own module (locally).
&lt;br&gt;&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;On Fri, Oct 10, 2008 at 7:40 PM, David Whitehurst
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928621&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlwhitehurst@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Matt:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I begin to hack at bringing up the Spring web module is that okay?
&lt;br&gt;&amp;gt; I don't want to focus in that direction and you have a problem with
&lt;br&gt;&amp;gt; it. &amp;nbsp;I'll do it all first local. &amp;nbsp;And, I figured that WebFlow sits on
&lt;br&gt;&amp;gt; Spring Faces and Spring Javascript and Spring MVC. &amp;nbsp;Seems like the
&lt;br&gt;&amp;gt; best thing to bring the Spring web module up to snuff.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thoughts before I start. &amp;nbsp;I won't check in anything until I know it's
&lt;br&gt;&amp;gt; ready. &amp;nbsp;And I may stick it somewhere for folks to review too before I
&lt;br&gt;&amp;gt; would check anything in. &amp;nbsp;I'm working on my own thing too but I want
&lt;br&gt;&amp;gt; to at least do a Spring Web Flow implementation somewhere and AppFuse
&lt;br&gt;&amp;gt; would get the facelift in the Spring module.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you think we could use another separate one, say so. &amp;nbsp;That's an option too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928621&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928621&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Dev-f2371.html&quot; embed=&quot;fixTarget[2371]&quot; target=&quot;_top&quot; &gt;AppFuse - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spring-Web-Flow-and-AppFuse-tp19927699s2369p19928621.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19928569</id>
	<title>Re: Spring Web Flow and AppFuse</title>
	<published>2008-10-10T17:47:41Z</published>
	<updated>2008-10-10T17:47:41Z</updated>
	<author>
		<name>Matt Raible-3</name>
	</author>
	<content type="html">I would recommend creating a branch and doing it there.
&lt;br&gt;&lt;br&gt;Matt
&lt;br&gt;&lt;br&gt;On Oct 10, 2008, at 5:40 PM, &amp;quot;David Whitehurst&amp;quot; &amp;nbsp;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928569&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlwhitehurst@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Matt:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I begin to hack at bringing up the Spring web module is that okay?
&lt;br&gt;&amp;gt; I don't want to focus in that direction and you have a problem with
&lt;br&gt;&amp;gt; it. &amp;nbsp;I'll do it all first local. &amp;nbsp;And, I figured that WebFlow sits on
&lt;br&gt;&amp;gt; Spring Faces and Spring Javascript and Spring MVC. &amp;nbsp;Seems like the
&lt;br&gt;&amp;gt; best thing to bring the Spring web module up to snuff.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thoughts before I start. &amp;nbsp;I won't check in anything until I know it's
&lt;br&gt;&amp;gt; ready. &amp;nbsp;And I may stick it somewhere for folks to review too before I
&lt;br&gt;&amp;gt; would check anything in. &amp;nbsp;I'm working on my own thing too but I want
&lt;br&gt;&amp;gt; to at least do a Spring Web Flow implementation somewhere and AppFuse
&lt;br&gt;&amp;gt; would get the facelift in the Spring module.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you think we could use another separate one, say so. &amp;nbsp;That's an &amp;nbsp;
&lt;br&gt;&amp;gt; option too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928569&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928569&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928569&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19928569&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Dev-f2371.html&quot; embed=&quot;fixTarget[2371]&quot; target=&quot;_top&quot; &gt;AppFuse - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spring-Web-Flow-and-AppFuse-tp19927699s2369p19928569.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19927699</id>
	<title>Spring Web Flow and AppFuse</title>
	<published>2008-10-10T16:40:32Z</published>
	<updated>2008-10-10T16:40:32Z</updated>
	<author>
		<name>David Whitehurst</name>
	</author>
	<content type="html">Matt:
&lt;br&gt;&lt;br&gt;If I begin to hack at bringing up the Spring web module is that okay?
&lt;br&gt;I don't want to focus in that direction and you have a problem with
&lt;br&gt;it. &amp;nbsp;I'll do it all first local. &amp;nbsp;And, I figured that WebFlow sits on
&lt;br&gt;Spring Faces and Spring Javascript and Spring MVC. &amp;nbsp;Seems like the
&lt;br&gt;best thing to bring the Spring web module up to snuff.
&lt;br&gt;&lt;br&gt;Thoughts before I start. &amp;nbsp;I won't check in anything until I know it's
&lt;br&gt;ready. &amp;nbsp;And I may stick it somewhere for folks to review too before I
&lt;br&gt;would check anything in. &amp;nbsp;I'm working on my own thing too but I want
&lt;br&gt;to at least do a Spring Web Flow implementation somewhere and AppFuse
&lt;br&gt;would get the facelift in the Spring module.
&lt;br&gt;&lt;br&gt;If you think we could use another separate one, say so. &amp;nbsp;That's an option too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19927699&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Dev-f2371.html&quot; embed=&quot;fixTarget[2371]&quot; target=&quot;_top&quot; &gt;AppFuse - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spring-Web-Flow-and-AppFuse-tp19927699s2369p19927699.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19918891</id>
	<title>[JIRA] Commented: (APF-984) Upgrade Spring MVC Controllers to use annotations</title>
	<published>2008-10-10T06:56:31Z</published>
	<updated>2008-10-10T06:56:31Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12568&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12568&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Donny A. Wijaya commented on APF-984:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Sorry this looks like Spam. You can delete all my comments above. I thought when I comment on each file the comments would appear next to the file. Sorry about this.
&lt;br&gt;&lt;br&gt;Anyway I created a BaseController for Spring Annotated MVC. I also provided an example class using this BaseController. Sorry for not providing the other classes. But the other classes are DTOs and nothing much. I hope these two classes could be helpful.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Donny
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade Spring MVC Controllers to use annotations
&lt;br&gt;&amp;gt; -------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-984
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Web - Spring
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Alex Coles
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: BaseController.java, UserController.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade Spring MVC Controller classes to use annotations:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&lt;/a&gt;&lt;br&gt;&amp;gt; Form Controllers which extend BaseFormController (and in turn, Spring's SimpleFormController) can make use of the @RequestMapping annotation to define their request mappings:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.FileUploadController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.SignUpController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.UserFormController
&lt;br&gt;&amp;gt; Other controllers should be rewritten to be annotation-based controllers, with the @Controller annotation:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.PasswordHintController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.UserController
&lt;br&gt;&amp;gt; Tutorials should also be updated.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918891&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-984%29-Upgrade-Spring-MVC-Controllers-to-use-annotations-tp14385736s2369p19918891.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19918812</id>
	<title>[JIRA] Updated: (APF-984) Upgrade Spring MVC Controllers to use annotations</title>
	<published>2008-10-10T06:51:30Z</published>
	<updated>2008-10-10T06:51:30Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Donny A. Wijaya updated APF-984:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: UserController.java
&lt;br&gt;&lt;br&gt;An example of class extending BaseController.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade Spring MVC Controllers to use annotations
&lt;br&gt;&amp;gt; -------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-984
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Web - Spring
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Alex Coles
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: BaseController.java, UserController.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade Spring MVC Controller classes to use annotations:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&lt;/a&gt;&lt;br&gt;&amp;gt; Form Controllers which extend BaseFormController (and in turn, Spring's SimpleFormController) can make use of the @RequestMapping annotation to define their request mappings:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.FileUploadController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.SignUpController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.UserFormController
&lt;br&gt;&amp;gt; Other controllers should be rewritten to be annotation-based controllers, with the @Controller annotation:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.PasswordHintController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.UserController
&lt;br&gt;&amp;gt; Tutorials should also be updated.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918812&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-984%29-Upgrade-Spring-MVC-Controllers-to-use-annotations-tp14385736s2369p19918812.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19918783</id>
	<title>[JIRA] Updated: (APF-984) Upgrade Spring MVC Controllers to use annotations</title>
	<published>2008-10-10T06:49:31Z</published>
	<updated>2008-10-10T06:49:31Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Donny A. Wijaya updated APF-984:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: BaseController.java
&lt;br&gt;&lt;br&gt;A controller that has similar BaseFormController functionalities. This controller is for Spring 2.5 annotated MVC.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade Spring MVC Controllers to use annotations
&lt;br&gt;&amp;gt; -------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-984
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-984&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-984&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Web - Spring
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Alex Coles
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: BaseController.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade Spring MVC Controller classes to use annotations:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/&lt;/a&gt;&lt;br&gt;&amp;gt; Form Controllers which extend BaseFormController (and in turn, Spring's SimpleFormController) can make use of the @RequestMapping annotation to define their request mappings:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.FileUploadController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.SignUpController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.web.controller.UserFormController
&lt;br&gt;&amp;gt; Other controllers should be rewritten to be annotation-based controllers, with the @Controller annotation:
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.PasswordHintController
&lt;br&gt;&amp;gt; &amp;nbsp;org.appfuse.webapp.controller.UserController
&lt;br&gt;&amp;gt; Tutorials should also be updated.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918783&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19918783&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-984%29-Upgrade-Spring-MVC-Controllers-to-use-annotations-tp14385736s2369p19918783.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19917804</id>
	<title>Re: Locale problem after Struts2 validation</title>
	<published>2008-10-10T05:56:03Z</published>
	<updated>2008-10-10T05:56:03Z</updated>
	<author>
		<name>Kropp, Henning</name>
	</author>
	<content type="html">Just a shut in the wild, but maybe germane is the default language and 
&lt;br&gt;the failure messages are missing in english locale? Have you checked?
&lt;br&gt;&lt;br&gt;Martin Homik schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Last information, before I give up on that problem:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I oberved that this error occurs only(!) when the locale is set to English!
&lt;br&gt;&amp;gt; If the locale is set to any language but English then the error messages 
&lt;br&gt;&amp;gt; are displayed in the correct language.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Puh ... what now?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Martin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917804&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917804&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Locale-problem-after-Struts2-validation-tp19900222s2369p19917804.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19916806</id>
	<title>Re: Locale problem after Struts2 validation</title>
	<published>2008-10-10T04:52:46Z</published>
	<updated>2008-10-10T04:52:46Z</updated>
	<author>
		<name>Martin Homik</name>
	</author>
	<content type="html">Last information, before I give up on that problem:
&lt;br&gt;&lt;br&gt;I oberved that this error occurs only(!) when the locale is set to English!
&lt;br&gt;If the locale is set to any language but English then the error messages 
&lt;br&gt;are displayed in the correct language.
&lt;br&gt;&lt;br&gt;Puh ... what now?
&lt;br&gt;&lt;br&gt;Martin
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Locale-problem-after-Struts2-validation-tp19900222s2369p19916806.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19915385</id>
	<title>Tapestry Contrib Table Number Format</title>
	<published>2008-10-10T02:59:46Z</published>
	<updated>2008-10-10T02:59:46Z</updated>
	<author>
		<name>Mohammad Irfan</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;I'm using contrib table and I want to use number formating on some of
&lt;br&gt;&amp;nbsp;the columns of the table's content. The tag is like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;lt;table jwcid=&amp;quot;table@contrib:Table&amp;quot; class=&amp;quot;table contribTable ssList&amp;quot;
&lt;br&gt;&amp;nbsp;id=&amp;quot;ssList&amp;quot; rowsClass=&amp;quot;ognl:beans.rowsClass.next&amp;quot; row=&amp;quot;ognl:row&amp;quot;
&lt;br&gt;&amp;nbsp;source=&amp;quot;ognl:topBroker&amp;quot; columns=&amp;quot;topBroker.firmId:firmId,
&lt;br&gt;&amp;nbsp;topBroker.firmName:firmName, topBroker.volume:volume,
&lt;br&gt;&amp;nbsp;topBroker.value:value, topBroker.frequency:frequency&amp;quot;
&lt;br&gt;&amp;nbsp;arrowUpAsset=&amp;quot;asset:upArrow&amp;quot; arrowDownAsset=&amp;quot;asset:downArrow&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;/table&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;For example, I wan't to format the 'topBroker.volume' column. How can
&lt;br&gt;I do this?
&lt;br&gt;&lt;br&gt;&amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;--
&lt;br&gt;&amp;nbsp;Mohammad Irfan
&lt;br&gt;&lt;br&gt;&amp;nbsp;---
&lt;br&gt;&amp;nbsp;www.doktermaya.com
&lt;br&gt;&amp;nbsp;www.L-Ads.com (classifieds ads, iklan baris)
&lt;br&gt;&amp;nbsp;www.komplain.org (complain about product)
&lt;br&gt;&amp;nbsp;www.akarprima.com
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19915385&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19915385&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tapestry-Contrib-Table-Number-Format-tp19915385s2369p19915385.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19912806</id>
	<title>Re: Locale problem after Struts2 validation</title>
	<published>2008-10-09T23:39:42Z</published>
	<updated>2008-10-09T23:39:42Z</updated>
	<author>
		<name>Martin Homik</name>
	</author>
	<content type="html">And by the way, can anyone tell me why I have two(!) error message?
&lt;br&gt;Martin&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Locale-problem-after-Struts2-validation-tp19900222s2369p19912806.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19904336</id>
	<title>[JIRA] Commented: (APF-1073) Profiles seem to be broken in Appfuse 2.0.2, Error executing database operation: CLEAN_INSERT</title>
	<published>2008-10-09T11:13:31Z</published>
	<updated>2008-10-09T11:13:31Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12565&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12565&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;ssarando commented on APF-1073:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;The problem is caused by the behavior of the load() method in java.util.Properties. &amp;nbsp;From the JDK docs:
&lt;br&gt;-----------------------
&lt;br&gt;public void load(InputStream inStream) &amp;nbsp; throws IOException
&lt;br&gt;...
&lt;br&gt;The method does not treat a backslash character, \, before a non-valid escape character as an error; the backslash is silently dropped. For example, in a Java string the sequence &amp;quot;\z&amp;quot; would cause a compile time error. In contrast, this method silently drops the backslash. Therefore, this method treats the two character sequence &amp;quot;\b&amp;quot; as equivalent to the single character 'b'.
&lt;br&gt;-----------------------
&lt;br&gt;&lt;br&gt;As configured, the hibernate3 plugin is loading the jdbc.properties file, whereas the dbunit plugin is being configured using variable replacement &amp;nbsp;in pom.xml. &amp;nbsp;This isn't technically an AppFuse problem. &amp;nbsp;The backslashes need to be escaped (doubled) in the hibernate3 plugin, for instance, the way the Maven resources plugin handles them:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://maven.apache.org/plugins/maven-resources-plugin/xref/org/apache/maven/plugin/resources/ReflectionProperties.html#62&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/plugins/maven-resources-plugin/xref/org/apache/maven/plugin/resources/ReflectionProperties.html#62&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Profiles seem to be broken in Appfuse 2.0.2, Error executing database operation: CLEAN_INSERT
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-1073
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1073&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1073&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Build, Test, or Deploy Process
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: For reference, mvn -version
&lt;br&gt;&amp;gt; Maven version: 2.0.9
&lt;br&gt;&amp;gt; Java version: 1.5.0_14
&lt;br&gt;&amp;gt; OS name: &amp;quot;windows xp&amp;quot; version: &amp;quot;5.1&amp;quot; arch: &amp;quot;x86&amp;quot; Family: &amp;quot;windows&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: jessie evangelista
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Profiles seem to be broken in 2.0.2
&lt;br&gt;&amp;gt; created project using:
&lt;br&gt;&amp;gt; mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=&lt;a href=&quot;http://static.appfuse.org/releases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://static.appfuse.org/releases&lt;/a&gt;&amp;nbsp;-DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
&lt;br&gt;&amp;gt; tried running with h2:
&lt;br&gt;&amp;gt; mvn -Ph2
&lt;br&gt;&amp;gt; Output:
&lt;br&gt;&amp;gt; [INFO] Scanning for projects...
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Building AppFuse Spring MVC Application
&lt;br&gt;&amp;gt; [INFO] &amp;nbsp; &amp;nbsp;task-segment: [install]
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] [warpath:add-classes {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
&lt;br&gt;&amp;gt; [INFO] [resources:resources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [INFO] [compiler:compile]
&lt;br&gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date
&lt;br&gt;&amp;gt; [INFO] [resources:testResources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [INFO] Preparing hibernate3:hbm2ddl
&lt;br&gt;&amp;gt; [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive invocati
&lt;br&gt;&amp;gt; on.
&lt;br&gt;&amp;gt; [INFO] [warpath:add-classes {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
&lt;br&gt;&amp;gt; [INFO] [resources:resources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It w
&lt;br&gt;&amp;gt; ill be ignored for artifact resolution. Reason: Parse error reading POM. Reason:
&lt;br&gt;&amp;gt; &amp;nbsp;TEXT must be immediately followed by END_TAG and not START_TAG (position: START
&lt;br&gt;&amp;gt; _TAG seen ...&amp;lt;licenses&amp;gt;\n\t\t\t&amp;lt;license&amp;gt;... @12:13) &amp;nbsp;for project org.hibernate:j
&lt;br&gt;&amp;gt; tidy at C:\Documents and Settings\jess\.m2\repository\org\hibernate\jtidy\r8-200
&lt;br&gt;&amp;gt; 60801\jtidy-r8-20060801.pom
&lt;br&gt;&amp;gt; [INFO] [hibernate3:hbm2ddl {execution: default}]
&lt;br&gt;&amp;gt; [INFO] Configuration XML file loaded: file:/D:/java/smetrix_workspace/myproject/
&lt;br&gt;&amp;gt; src/main/resources/hibernate.cfg.xml
&lt;br&gt;&amp;gt; [INFO] Configuration XML file loaded: file:/D:/java/smetrix_workspace/myproject/
&lt;br&gt;&amp;gt; src/main/resources/hibernate.cfg.xml
&lt;br&gt;&amp;gt; [INFO] Configuration Properties file loaded: D:\java\smetrix_workspace\myproject
&lt;br&gt;&amp;gt; \target\classes\jdbc.properties
&lt;br&gt;&amp;gt; alter table user_role drop constraint FK143BF46AF503D155;
&lt;br&gt;&amp;gt; alter table user_role drop constraint FK143BF46A4FD90D75;
&lt;br&gt;&amp;gt; drop table app_user if exists;
&lt;br&gt;&amp;gt; drop table role if exists;
&lt;br&gt;&amp;gt; drop table user_role if exists;
&lt;br&gt;&amp;gt; create table app_user (id bigint generated by default as identity, account_expir
&lt;br&gt;&amp;gt; ed bit not null, account_locked bit not null, address varchar(150), city varchar
&lt;br&gt;&amp;gt; (50) not null, country varchar(100), postal_code varchar(15) not null, province
&lt;br&gt;&amp;gt; varchar(100), credentials_expired bit not null, email varchar(255) not null uniq
&lt;br&gt;&amp;gt; ue, account_enabled bit, first_name varchar(50) not null, last_name varchar(50)
&lt;br&gt;&amp;gt; not null, password varchar(255) not null, password_hint varchar(255), phone_numb
&lt;br&gt;&amp;gt; er varchar(255), username varchar(50) not null unique, version integer, website
&lt;br&gt;&amp;gt; varchar(255), primary key (id));
&lt;br&gt;&amp;gt; create table role (id bigint generated by default as identity, description varch
&lt;br&gt;&amp;gt; ar(64), name varchar(20), primary key (id));
&lt;br&gt;&amp;gt; create table user_role (user_id bigint not null, role_id bigint not null, primar
&lt;br&gt;&amp;gt; y key (user_id, role_id));
&lt;br&gt;&amp;gt; alter table user_role add constraint FK143BF46AF503D155 foreign key (user_id) re
&lt;br&gt;&amp;gt; ferences app_user;
&lt;br&gt;&amp;gt; alter table user_role add constraint FK143BF46A4FD90D75 foreign key (role_id) re
&lt;br&gt;&amp;gt; ferences role;
&lt;br&gt;&amp;gt; [INFO] [compiler:testCompile]
&lt;br&gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date
&lt;br&gt;&amp;gt; [INFO] [dbunit:operation {execution: test-compile}]
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [ERROR] BUILD ERROR
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Error executing database operation: CLEAN_INSERT
&lt;br&gt;&amp;gt; Embedded error: user_role
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] For more information, run Maven with the -e switch
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Total time: 22 seconds
&lt;br&gt;&amp;gt; [INFO] Finished at: Thu May 22 07:00:45 CST 2008
&lt;br&gt;&amp;gt; [INFO] Final Memory: 21M/39M
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19904336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19904336&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1073%29-Profiles-seem-to-be-broken-in-Appfuse-2.0.2%2C-Error-executing-database-operation%3A-CLEAN_INSERT-tp17390029s2369p19904336.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19902787</id>
	<title>[JIRA] Commented: (APF-1097) appfuse:gen tries to generate daos and managers for the embeddedId annotated class</title>
	<published>2008-10-09T09:41:30Z</published>
	<updated>2008-10-09T09:41:30Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12564&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12564&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Matt Raible commented on APF-1097:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;Have you tried making this change? If it works, please send a patch. You can checkout the source for the plugin using:
&lt;br&gt;&lt;br&gt;svn co &lt;a href=&quot;https://appfuse.dev.java.net/svn/appfuse/trunk/plugins/appfuse-maven-plugin&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://appfuse.dev.java.net/svn/appfuse/trunk/plugins/appfuse-maven-plugin&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; appfuse:gen tries to generate daos and managers for the embeddedId annotated class
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-1097
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1097&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1097&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Tools - AppGen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Espelt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I want to generate daos and managers for a JPA annotated entity that has an embeddedID companion class, the plugin tries to generate daos and managers for the latter (the embeddedID class) which results in the following exception:
&lt;br&gt;&amp;gt; I think, the problem is in the AppFuseExporter class at the overrided exportPOJO() method:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().contains(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; This method uses the &amp;quot;contains&amp;quot; method when comparing to export entities. Then, if I have, por example, an entity &amp;quot;Person&amp;quot; that it has an embeddedID &amp;quot;PersonId&amp;quot;, the plugin tries to generate code for both classes(the entity and the id class). Shouldn't it use the &amp;quot;equals&amp;quot; method &amp;nbsp;instead of the &amp;quot;contains&amp;quot; method?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().equals(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; 14:02:32,911 ERROR freemarker.runtime - 
&lt;br&gt;&amp;gt; Method public java.lang.String org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(org.hibernate.mapping.Property) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.ComponentPOJOClass(es.cofidis.clt.model.ContratoId)
&lt;br&gt;&amp;gt; The problematic instruction:
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; ==&amp;gt; assignment: getIdMethodName=pojo.getGetterSignature(pojo.identifierProperty) [on line 2, column 1 in appfuse/dao/dao-test.ftl]
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; Java backtrace for programmers:
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:78)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:168)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:164)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(BasicPOJOClass.java:569)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:835)
&lt;br&gt;&amp;gt; 	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19902787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19902787&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1097%29-appfuse%3Agen-tries-to-generate-daos-and-managers-for-the-embeddedId-annotated-class-tp19897982s2369p19902787.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19902737</id>
	<title>[JIRA] Closed: (APF-1098) appfuse:gen tries to generate daos and managers for the embeddedId annotated class</title>
	<published>2008-10-09T09:39:31Z</published>
	<updated>2008-10-09T09:39:31Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Matt Raible closed APF-1098.
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Duplicate
&lt;br&gt;&lt;br&gt;Duplicate of APF-1097.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; appfuse:gen tries to generate daos and managers for the embeddedId annotated class
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-1098
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1098&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Tools - AppGen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Espelt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I want to generate daos and managers for a JPA annotated entity that has an embeddedID companion class, the plugin tries to generate daos and managers for the latter (the embeddedID class) which results in the following exception:
&lt;br&gt;&amp;gt; I think, the problem is in the AppFuseExporter class at the overrided exportPOJO() method:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().contains(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; This method uses the &amp;quot;contains&amp;quot; method when comparing to export entities. Then, if I have, por example, an entity &amp;quot;Person&amp;quot; that it has an embeddedID &amp;quot;PersonId&amp;quot;, the plugin tries to generate code for both classes(the entity and the id class). Shouldn't it use the &amp;quot;equals&amp;quot; method &amp;nbsp;instead of the &amp;quot;contains&amp;quot; method?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().equals(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; 14:02:32,911 ERROR freemarker.runtime - 
&lt;br&gt;&amp;gt; Method public java.lang.String org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(org.hibernate.mapping.Property) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.ComponentPOJOClass(es.cofidis.clt.model.ContratoId)
&lt;br&gt;&amp;gt; The problematic instruction:
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; ==&amp;gt; assignment: getIdMethodName=pojo.getGetterSignature(pojo.identifierProperty) [on line 2, column 1 in appfuse/dao/dao-test.ftl]
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; Java backtrace for programmers:
&lt;br&gt;&amp;gt; ----------
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:78)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:168)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:164)
&lt;br&gt;&amp;gt; 	at org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(BasicPOJOClass.java:569)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:835)
&lt;br&gt;&amp;gt; 	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19902737&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19902737&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1098%29-appfuse%3Agen-tries-to-generate-daos-and-managers-for-the-embeddedId-annotated-class-tp19898045s2369p19902737.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19900623</id>
	<title>[JIRA] Commented: (APF-1073) Profiles seem to be broken in Appfuse 2.0.2, Error executing database operation: CLEAN_INSERT</title>
	<published>2008-10-09T07:53:32Z</published>
	<updated>2008-10-09T07:53:32Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12562&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12562&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;ssarando commented on APF-1073:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;I have run into the same issue with both the H2 and HSQLDB databases. &amp;nbsp;It appears to be a problem with backslashes in the path returned for &amp;quot;java.io.tmpdir&amp;quot; on Windows (I am running Vista). &amp;nbsp;When I ran the application (&amp;quot;mvn jetty:run&amp;quot;), the initial database is created and populated by hbm2ddl in a folder named &amp;quot;UsersUserAppDataLocal&amp;quot; under the project folder, instead of my temp folder &amp;quot;C:\Users\User\AppData\Local&amp;quot; (the path returned by the &amp;quot;java.io.tmpdir&amp;quot; property). &amp;nbsp;When the dbunit goal runs it creates the database again (since it didn't find it) in &amp;quot;C:\Users\User\AppData\Local&amp;quot; but then complains that tables don't exists because it's not using the database created earlier by hbm2ddl. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Initially, it looks like hbm2ddl, or the wrapping Maven plugin, is removing the backslashes from the path and concatenating the directory names together. &amp;nbsp;When I hardcode the path to my temp folder using forward slashes instead, as in &amp;quot;C:/Users/User/AppData/Local&amp;quot;, it works fine.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Profiles seem to be broken in Appfuse 2.0.2, Error executing database operation: CLEAN_INSERT
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-1073
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1073&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1073&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Build, Test, or Deploy Process
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: For reference, mvn -version
&lt;br&gt;&amp;gt; Maven version: 2.0.9
&lt;br&gt;&amp;gt; Java version: 1.5.0_14
&lt;br&gt;&amp;gt; OS name: &amp;quot;windows xp&amp;quot; version: &amp;quot;5.1&amp;quot; arch: &amp;quot;x86&amp;quot; Family: &amp;quot;windows&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: jessie evangelista
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Profiles seem to be broken in 2.0.2
&lt;br&gt;&amp;gt; created project using:
&lt;br&gt;&amp;gt; mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=&lt;a href=&quot;http://static.appfuse.org/releases&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://static.appfuse.org/releases&lt;/a&gt;&amp;nbsp;-DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
&lt;br&gt;&amp;gt; tried running with h2:
&lt;br&gt;&amp;gt; mvn -Ph2
&lt;br&gt;&amp;gt; Output:
&lt;br&gt;&amp;gt; [INFO] Scanning for projects...
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Building AppFuse Spring MVC Application
&lt;br&gt;&amp;gt; [INFO] &amp;nbsp; &amp;nbsp;task-segment: [install]
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] [warpath:add-classes {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
&lt;br&gt;&amp;gt; [INFO] [resources:resources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [INFO] [compiler:compile]
&lt;br&gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date
&lt;br&gt;&amp;gt; [INFO] [resources:testResources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [INFO] Preparing hibernate3:hbm2ddl
&lt;br&gt;&amp;gt; [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive invocati
&lt;br&gt;&amp;gt; on.
&lt;br&gt;&amp;gt; [INFO] [warpath:add-classes {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
&lt;br&gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
&lt;br&gt;&amp;gt; [INFO] [resources:resources]
&lt;br&gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It w
&lt;br&gt;&amp;gt; ill be ignored for artifact resolution. Reason: Parse error reading POM. Reason:
&lt;br&gt;&amp;gt; &amp;nbsp;TEXT must be immediately followed by END_TAG and not START_TAG (position: START
&lt;br&gt;&amp;gt; _TAG seen ...&amp;lt;licenses&amp;gt;\n\t\t\t&amp;lt;license&amp;gt;... @12:13) &amp;nbsp;for project org.hibernate:j
&lt;br&gt;&amp;gt; tidy at C:\Documents and Settings\jess\.m2\repository\org\hibernate\jtidy\r8-200
&lt;br&gt;&amp;gt; 60801\jtidy-r8-20060801.pom
&lt;br&gt;&amp;gt; [INFO] [hibernate3:hbm2ddl {execution: default}]
&lt;br&gt;&amp;gt; [INFO] Configuration XML file loaded: file:/D:/java/smetrix_workspace/myproject/
&lt;br&gt;&amp;gt; src/main/resources/hibernate.cfg.xml
&lt;br&gt;&amp;gt; [INFO] Configuration XML file loaded: file:/D:/java/smetrix_workspace/myproject/
&lt;br&gt;&amp;gt; src/main/resources/hibernate.cfg.xml
&lt;br&gt;&amp;gt; [INFO] Configuration Properties file loaded: D:\java\smetrix_workspace\myproject
&lt;br&gt;&amp;gt; \target\classes\jdbc.properties
&lt;br&gt;&amp;gt; alter table user_role drop constraint FK143BF46AF503D155;
&lt;br&gt;&amp;gt; alter table user_role drop constraint FK143BF46A4FD90D75;
&lt;br&gt;&amp;gt; drop table app_user if exists;
&lt;br&gt;&amp;gt; drop table role if exists;
&lt;br&gt;&amp;gt; drop table user_role if exists;
&lt;br&gt;&amp;gt; create table app_user (id bigint generated by default as identity, account_expir
&lt;br&gt;&amp;gt; ed bit not null, account_locked bit not null, address varchar(150), city varchar
&lt;br&gt;&amp;gt; (50) not null, country varchar(100), postal_code varchar(15) not null, province
&lt;br&gt;&amp;gt; varchar(100), credentials_expired bit not null, email varchar(255) not null uniq
&lt;br&gt;&amp;gt; ue, account_enabled bit, first_name varchar(50) not null, last_name varchar(50)
&lt;br&gt;&amp;gt; not null, password varchar(255) not null, password_hint varchar(255), phone_numb
&lt;br&gt;&amp;gt; er varchar(255), username varchar(50) not null unique, version integer, website
&lt;br&gt;&amp;gt; varchar(255), primary key (id));
&lt;br&gt;&amp;gt; create table role (id bigint generated by default as identity, description varch
&lt;br&gt;&amp;gt; ar(64), name varchar(20), primary key (id));
&lt;br&gt;&amp;gt; create table user_role (user_id bigint not null, role_id bigint not null, primar
&lt;br&gt;&amp;gt; y key (user_id, role_id));
&lt;br&gt;&amp;gt; alter table user_role add constraint FK143BF46AF503D155 foreign key (user_id) re
&lt;br&gt;&amp;gt; ferences app_user;
&lt;br&gt;&amp;gt; alter table user_role add constraint FK143BF46A4FD90D75 foreign key (role_id) re
&lt;br&gt;&amp;gt; ferences role;
&lt;br&gt;&amp;gt; [INFO] [compiler:testCompile]
&lt;br&gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date
&lt;br&gt;&amp;gt; [INFO] [dbunit:operation {execution: test-compile}]
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [ERROR] BUILD ERROR
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Error executing database operation: CLEAN_INSERT
&lt;br&gt;&amp;gt; Embedded error: user_role
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] For more information, run Maven with the -e switch
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; [INFO] Total time: 22 seconds
&lt;br&gt;&amp;gt; [INFO] Finished at: Thu May 22 07:00:45 CST 2008
&lt;br&gt;&amp;gt; [INFO] Final Memory: 21M/39M
&lt;br&gt;&amp;gt; [INFO] ------------------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19900623&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19900623&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1073%29-Profiles-seem-to-be-broken-in-Appfuse-2.0.2%2C-Error-executing-database-operation%3A-CLEAN_INSERT-tp17390029s2369p19900623.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19900222</id>
	<title>Locale problem after Struts2 validation</title>
	<published>2008-10-09T07:33:09Z</published>
	<updated>2008-10-09T07:33:09Z</updated>
	<author>
		<name>Martin Homik</name>
	</author>
	<content type="html">Problem: After validating a form, the error message is always displayed in German
&lt;br&gt;although I have set a different locale and the rest of the page is displayed in English.
&lt;br&gt;Even the fallback locale is set to English. I must have introduced 
&lt;br&gt;this problem somewhere, but I have no idea where. Here are the facts:
&lt;br&gt;&lt;br&gt;&lt;br&gt;1. I set the locale programmatically depending on the current user's language.
&lt;br&gt;&amp;nbsp; &amp;nbsp;To do this I replaced the LocaleFilter by my own version. I wrote about
&lt;br&gt;&amp;nbsp; &amp;nbsp;that &lt;a href=&quot;http://www.nabble.com/How-to-change-the-locale-programmatically-td18706402s2369.html#a18706402&quot; target=&quot;_top&quot;&gt;here&lt;/a&gt;.
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;User's language is English --&amp;gt; both locale values are set to &amp;quot;en&amp;quot;: locale and preferredLocale
&lt;br&gt;&lt;br&gt;2. ActionContext.getContext().getLocale(); &amp;nbsp; --&amp;gt; returns &amp;quot;en&amp;quot;
&lt;br&gt;&lt;br&gt;3. here are the request attributes of my locale filter: is there any critical information?
&lt;br&gt;&lt;br&gt;...lazyLoadingFilter.FILTERED: true
&lt;br&gt;...encodingFilter.FILTERED: true
&lt;br&gt;..._clickstream_filter_applied: true
&lt;br&gt;...localeFilter.FILTERED: true
&lt;br&gt;...__spring_security_filterSecurityInterceptor_filterApplied: true
&lt;br&gt;...__spring_security_session_integration_filter_applied: true
&lt;br&gt;...__spring_security_session_fixation_filter_applied: true
&lt;br&gt;...org.springframework.web.context.request.RequestContextListener.REQUEST_ATTRIBUTES: GET /images/iconWarning.gif HTTP/1.1
&lt;br&gt;Host: localhost:8080
&lt;br&gt;User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
&lt;br&gt;Accept: image/png,image/*;q=0.8,*/*;q=0.5
&lt;br&gt;Accept-Language: de-DE,de;q=0.9,en-GB;q=0.9,en;q=0.8,en-US;q=0.7,en-gb;q=0.6,fr-FR;q=0.6,fr;q=0.5,it-IT;q=0.4,it;q=0.4,nl-NL;q=0.3,nl;q=0.2,en-us;q=0.1,en;q=0.1
&lt;br&gt;Accept-Encoding: gzip,deflate
&lt;br&gt;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
&lt;br&gt;Keep-Alive: 300
&lt;br&gt;Connection: keep-alive
&lt;br&gt;Referer: &lt;a href=&quot;http://localhost:8080/saveName.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/saveName.html&lt;/a&gt;&lt;br&gt;Cookie: username=admin; JSESSIONID=ggbhxjwlxm4h
&lt;br&gt;&lt;br&gt;4. ApplicationResources* are correct. Nothing hard-coded here.
&lt;br&gt;&lt;br&gt;5. Nothing hard-coded into the project that fixes the language to German.
&lt;br&gt;&lt;br&gt;6. Tested with local Tomcat and Jetty. Same behaviour.
&lt;br&gt;&lt;br&gt;7. Cleared Firefox cache. No difference.
&lt;br&gt;&lt;br&gt;8. However, we have packed a version a few days ago and this has no
&lt;br&gt;problem. I have no idea what I might have changed meanwhile that 
&lt;br&gt;is responsible for this behaviour.
&lt;br&gt;&lt;br&gt;9. Even when my user has set language to English, and getLocale returns
&lt;br&gt;the French locale, validation message is in German. 
&lt;br&gt;&lt;br&gt;Question is: Does validation and retrieval of error messages get the locale
&lt;br&gt;from somewhere else? Or is it preceeding the LocaleFilter? I have no clue.
&lt;br&gt;&lt;br&gt;At least, I know why the language is German. I live in Germany. 
&lt;br&gt;&lt;br&gt;&lt;img src=&quot;http://www.nabble.com/file/p19900222/comped-localization.png&quot; border=&quot;0&quot; /&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Locale-problem-after-Struts2-validation-tp19900222s2369p19900222.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19898045</id>
	<title>[JIRA] Created: (APF-1098) appfuse:gen tries to generate daos and managers for the embeddedId annotated class</title>
	<published>2008-10-09T05:35:30Z</published>
	<updated>2008-10-09T05:35:30Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">appfuse:gen tries to generate daos and managers for the embeddedId annotated class
&lt;br&gt;----------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: APF-1098
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1098&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1098&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AppFuse
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Tools - AppGen
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Albert Espelt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Matt Raible
&lt;br&gt;&lt;br&gt;&lt;br&gt;When I want to generate daos and managers for a JPA annotated entity that has an embeddedID companion class, the plugin tries to generate daos and managers for the latter (the embeddedID class) which results in the following exception:
&lt;br&gt;&lt;br&gt;I think, the problem is in the AppFuseExporter class at the overrided exportPOJO() method:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().contains(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;This method uses the &amp;quot;contains&amp;quot; method when comparing to export entities. Then, if I have, por example, an entity &amp;quot;Person&amp;quot; that it has an embeddedID &amp;quot;PersonId&amp;quot;, the plugin tries to generate code for both classes(the entity and the id class). Shouldn't it use the &amp;quot;equals&amp;quot; method &amp;nbsp;instead of the &amp;quot;contains&amp;quot; method?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().equals(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;14:02:32,911 ERROR freemarker.runtime - 
&lt;br&gt;Method public java.lang.String org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(org.hibernate.mapping.Property) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.ComponentPOJOClass(es.cofidis.clt.model.ContratoId)
&lt;br&gt;The problematic instruction:
&lt;br&gt;----------
&lt;br&gt;==&amp;gt; assignment: getIdMethodName=pojo.getGetterSignature(pojo.identifierProperty) [on line 2, column 1 in appfuse/dao/dao-test.ftl]
&lt;br&gt;----------
&lt;br&gt;&lt;br&gt;Java backtrace for programmers:
&lt;br&gt;----------
&lt;br&gt;...
&lt;br&gt;Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:78)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:168)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:164)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(BasicPOJOClass.java:569)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:835)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19898045&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19898045&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1098%29-appfuse%3Agen-tries-to-generate-daos-and-managers-for-the-embeddedId-annotated-class-tp19898045s2369p19898045.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19897982</id>
	<title>[JIRA] Created: (APF-1097) appfuse:gen tries to generate daos and managers for the embeddedId annotated class</title>
	<published>2008-10-09T05:33:30Z</published>
	<updated>2008-10-09T05:33:30Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">appfuse:gen tries to generate daos and managers for the embeddedId annotated class
&lt;br&gt;----------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: APF-1097
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1097&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1097&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AppFuse
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Tools - AppGen
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Albert Espelt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Matt Raible
&lt;br&gt;&lt;br&gt;&lt;br&gt;When I want to generate daos and managers for a JPA annotated entity that has an embeddedID companion class, the plugin tries to generate daos and managers for the latter (the embeddedID class) which results in the following exception:
&lt;br&gt;&lt;br&gt;I think, the problem is in the AppFuseExporter class at the overrided exportPOJO() method:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().contains(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;This method uses the &amp;quot;contains&amp;quot; method when comparing to export entities. Then, if I have, por example, an entity &amp;quot;Person&amp;quot; that it has an embeddedID &amp;quot;PersonId&amp;quot;, the plugin tries to generate code for both classes(the entity and the id class). Shouldn't it use the &amp;quot;equals&amp;quot; method &amp;nbsp;instead of the &amp;quot;contains&amp;quot; method?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Override
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void exportPOJO(Map map, POJOClass element) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (element.getShortName().equals(System.getProperty(&amp;quot;appfuse.entity&amp;quot;))) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; super.exportPOJO(map, element);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;14:02:32,911 ERROR freemarker.runtime - 
&lt;br&gt;Method public java.lang.String org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(org.hibernate.mapping.Property) threw an exception when invoked on org.hibernate.tool.hbm2x.pojo.ComponentPOJOClass(es.cofidis.clt.model.ContratoId)
&lt;br&gt;The problematic instruction:
&lt;br&gt;----------
&lt;br&gt;==&amp;gt; assignment: getIdMethodName=pojo.getGetterSignature(pojo.identifierProperty) [on line 2, column 1 in appfuse/dao/dao-test.ftl]
&lt;br&gt;----------
&lt;br&gt;&lt;br&gt;Java backtrace for programmers:
&lt;br&gt;----------
&lt;br&gt;...
&lt;br&gt;Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getMetaAsString(Cfg2JavaTool.java:78)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:168)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.Cfg2JavaTool.getJavaTypeName(Cfg2JavaTool.java:164)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.hibernate.tool.hbm2x.pojo.BasicPOJOClass.getGetterSignature(BasicPOJOClass.java:569)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:835)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19897982&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19897982&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1097%29-appfuse%3Agen-tries-to-generate-daos-and-managers-for-the-embeddedId-annotated-class-tp19897982s2369p19897982.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19894711</id>
	<title>Referencing properties in AppicationResources*</title>
	<published>2008-10-09T01:38:18Z</published>
	<updated>2008-10-09T01:38:18Z</updated>
	<author>
		<name>Martin Homik</name>
	</author>
	<content type="html">Is it possible to reference a property inside an ApplicationResources*.propeties file.
&lt;br&gt;I'd like to reuse some properties in more complex phrases.
&lt;br&gt;&lt;br&gt;For instance:
&lt;br&gt;&lt;br&gt;# List of vehicles
&lt;br&gt;vehicle=Vehicle
&lt;br&gt;vehicle.car=Car
&lt;br&gt;&lt;br&gt;# car form
&lt;br&gt;# car.label.type=&amp;lt;reference vehicle.car&amp;gt;
&lt;br&gt;# car.accident=This &amp;lt;reference vehicle.car&amp;gt; had an accident.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I tried to google this information, but the keywords are too general and I ended up
&lt;br&gt;with lots of non-relevant pages.
&lt;br&gt;&lt;br&gt;Hope, anybody can help
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Martin
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Referencing-properties-in-AppicationResources*-tp19894711s2369p19894711.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19883647</id>
	<title>Re: modeling question</title>
	<published>2008-10-08T10:31:47Z</published>
	<updated>2008-10-08T10:31:47Z</updated>
	<author>
		<name>Michael Duergner</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Wel you could intercept the method which saves your product, check wether ANY and NONE shipments are already present in the database and insert them otherwise. In your &amp;#39;normal&amp;#39; code for saving the product you replace the final static objects by the ones persited in the database whenever ANY oder NONE is selected.&lt;br&gt;
&lt;br&gt;But I think it&amp;#39;s overpowered to use method interception in that case. I&amp;#39;d just use DBunit to prepopulate the database with any data necessary. In my experience these data increases as the application grows. ;-)&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 8, 2008 at 6:13 PM, Luiz Fernando Rodrigues &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19883647&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emaildolf@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;No, the table is not pre populated. I would like to avoid inserting data other way than through the application code.&lt;br&gt;I do believe that inserting two entries is a good solution. But how to control that in the application code?&lt;br&gt;

&lt;br&gt;Thanks for helping.&lt;br&gt;&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/10/8 Vincent Ramdhanie &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19883647&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vramdhanie@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;Do you have your preferred ship table pre populated with data? In that case why not add ANY and NONE as two entries rather than making them static final objects. So the combo box will display all data in the preferred ship table including ANY and NONE and there, you do not have to treat them differently.&lt;br&gt;


&lt;br&gt;Just a thought.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Vincent&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 8, 2008 at 11:12 AM, Luiz Fernando Rodrigues &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19883647&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emaildolf@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;


&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;Hi there,&lt;br&gt;&lt;br&gt;&amp;nbsp;I&amp;#39;m mapping my application to a database usinf JPA tags. I&amp;#39;m with the following situation:&lt;br&gt;


&lt;br&gt;I have a class Product which has an attribute preferedShip, from the class Ship. &lt;br&gt;
In the interface, the user chooses a ship from a combobox. The combo lists all the registered ships and two more options: ANY and NONE.&lt;br&gt;&lt;br&gt;I have modeled ANY and NONE as static final objects of the type Ship, because, like this I don&amp;#39;t have to treat each case apart. Any and none are Ships them.&lt;br&gt;



&lt;br&gt;Well, the problem is to persist this code. To save a product with preferedShip as ANY or NONE I will have to reference one of the two objects. But they are not persisted, because I modeled it as static final objects.&lt;br&gt;



If I map it to the database I&amp;#39;ll have to hard code an id in the objects.&lt;br&gt;&lt;br&gt;Is this a good solution? Does anyone see any better solution?&lt;br&gt;&lt;br&gt;thanks,&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;-- &lt;br&gt;Mit freundlichen Grüßen / With kind regards&lt;br&gt;&lt;br&gt;Michael Dürgner&lt;br&gt;
&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/modeling-question-tp19880884s2369p19883647.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19882126</id>
	<title>Re: modeling question</title>
	<published>2008-10-08T09:13:18Z</published>
	<updated>2008-10-08T09:13:18Z</updated>
	<author>
		<name>Luiz Fernando Rodrigues</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;No, the table is not pre populated. I would like to avoid inserting data other way than through the application code.&lt;br&gt;I do believe that inserting two entries is a good solution. But how to control that in the application code?&lt;br&gt;
&lt;br&gt;Thanks for helping.&lt;br&gt;&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2008/10/8 Vincent Ramdhanie &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19882126&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vramdhanie@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;Do you have your preferred ship table pre populated with data? In that case why not add ANY and NONE as two entries rather than making them static final objects. So the combo box will display all data in the preferred ship table including ANY and NONE and there, you do not have to treat them differently.&lt;br&gt;

&lt;br&gt;Just a thought.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Vincent&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 8, 2008 at 11:12 AM, Luiz Fernando Rodrigues &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19882126&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emaildolf@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;Hi there,&lt;br&gt;&lt;br&gt;&amp;nbsp;I&amp;#39;m mapping my application to a database usinf JPA tags. I&amp;#39;m with the following situation:&lt;br&gt;

&lt;br&gt;I have a class Product which has an attribute preferedShip, from the class Ship. &lt;br&gt;
In the interface, the user chooses a ship from a combobox. The combo lists all the registered ships and two more options: ANY and NONE.&lt;br&gt;&lt;br&gt;I have modeled ANY and NONE as static final objects of the type Ship, because, like this I don&amp;#39;t have to treat each case apart. Any and none are Ships them.&lt;br&gt;


&lt;br&gt;Well, the problem is to persist this code. To save a product with preferedShip as ANY or NONE I will have to reference one of the two objects. But they are not persisted, because I modeled it as static final objects.&lt;br&gt;


If I map it to the database I&amp;#39;ll have to hard code an id in the objects.&lt;br&gt;&lt;br&gt;Is this a good solution? Does anyone see any better solution?&lt;br&gt;&lt;br&gt;thanks,&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/modeling-question-tp19880884s2369p19882126.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19881414</id>
	<title>Re: modeling question</title>
	<published>2008-10-08T08:38:01Z</published>
	<updated>2008-10-08T08:38:01Z</updated>
	<author>
		<name>Vincent Ramdhanie</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Do you have your preferred ship table pre populated with data? In that case why not add ANY and NONE as two entries rather than making them static final objects. So the combo box will display all data in the preferred ship table including ANY and NONE and there, you do not have to treat them differently.&lt;br&gt;
&lt;br&gt;Just a thought.&lt;br&gt;&lt;br&gt;Vincent&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 8, 2008 at 11:12 AM, Luiz Fernando Rodrigues &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19881414&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emaildolf@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;Hi there,&lt;br&gt;&lt;br&gt;&amp;nbsp;I&amp;#39;m mapping my application to a database usinf JPA tags. I&amp;#39;m with the following situation:&lt;br&gt;
&lt;br&gt;I have a class Product which has an attribute preferedShip, from the class Ship. &lt;br&gt;
In the interface, the user chooses a ship from a combobox. The combo lists all the registered ships and two more options: ANY and NONE.&lt;br&gt;&lt;br&gt;I have modeled ANY and NONE as static final objects of the type Ship, because, like this I don&amp;#39;t have to treat each case apart. Any and none are Ships them.&lt;br&gt;

&lt;br&gt;Well, the problem is to persist this code. To save a product with preferedShip as ANY or NONE I will have to reference one of the two objects. But they are not persisted, because I modeled it as static final objects.&lt;br&gt;

If I map it to the database I&amp;#39;ll have to hard code an id in the objects.&lt;br&gt;&lt;br&gt;Is this a good solution? Does anyone see any better solution?&lt;br&gt;&lt;br&gt;thanks,&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/modeling-question-tp19880884s2369p19881414.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19880884</id>
	<title>modeling question</title>
	<published>2008-10-08T08:12:32Z</published>
	<updated>2008-10-08T08:12:32Z</updated>
	<author>
		<name>Luiz Fernando Rodrigues</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi there,&lt;br&gt;&lt;br&gt;&amp;nbsp;I&amp;#39;m mapping my application to a database usinf JPA tags. I&amp;#39;m with the following situation:&lt;br&gt;&lt;br&gt;I have a class Product which has an attribute preferedShip, from the class Ship. &lt;br&gt;
In the interface, the user chooses a ship from a combobox. The combo lists all the registered ships and two more options: ANY and NONE.&lt;br&gt;&lt;br&gt;I have modeled ANY and NONE as static final objects of the type Ship, because, like this I don&amp;#39;t have to treat each case apart. Any and none are Ships them.&lt;br&gt;
&lt;br&gt;Well, the problem is to persist this code. To save a product with preferedShip as ANY or NONE I will have to reference one of the two objects. But they are not persisted, because I modeled it as static final objects.&lt;br&gt;
If I map it to the database I&amp;#39;ll have to hard code an id in the objects.&lt;br&gt;&lt;br&gt;Is this a good solution? Does anyone see any better solution?&lt;br&gt;&lt;br&gt;thanks,&lt;br&gt;Luiz Fernando&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---User-f2370.html&quot; embed=&quot;fixTarget[2370]&quot; target=&quot;_top&quot; &gt;AppFuse - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/modeling-question-tp19880884s2369p19880884.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19874158</id>
	<title>[JIRA] Commented: (APF-1095) ManyToOne Update Fails when lazyLoadingFilter switched on</title>
	<published>2008-10-08T01:00:31Z</published>
	<updated>2008-10-08T01:00:31Z</updated>
	<author>
		<name>AppFuse - Issues mailing list</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12561&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12561&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ali Behzadian Nejad commented on APF-1095:
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;Fixed!
&lt;br&gt;&lt;br&gt;I have added an init param to openViewInSessionFilter filter as below:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;singleSession&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&lt;br&gt;Hope this help other guys!
&lt;br&gt;Ali Behzadian Nejad.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ManyToOne Update Fails when lazyLoadingFilter switched on
&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: APF-1095
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://issues.appfuse.org/browse/APF-1095&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/browse/APF-1095&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: AppFuse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Persistence Layer
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Hibernate 3, Struts 2 Basic
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ali Behzadian Nejad
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Matt Raible
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Assume that we have two entities: EntA and EntB. Entity EntB has a @ManyToOne relation with entity EntA.
&lt;br&gt;&amp;gt; If we enable (un-comment) lazyLoadingFilter (Open Session in View Filter) in web.xml, while updating EntB by selecting another value for entA from a combobox, a Hibernate exception occures:
&lt;br&gt;&amp;gt; identifier of an instance of com.mycompany.app.model.EntA was altered from -3 to -2; 
&lt;br&gt;&amp;gt; nested exception is org.hibernate.HibernateException: identifier of an instance of com.mycompany.app.model.EntA was altered from -3 to -2 
&lt;br&gt;&amp;gt; I guess that in persistence layer, hibernate tries to set id of attached entity. Any idea?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://issues.appfuse.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.appfuse.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19874158&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19874158&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;issues-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AppFuse---Issues-f2372.html&quot; embed=&quot;fixTarget[2372]&quot; target=&quot;_top&quot; &gt;AppFuse - Issues&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28APF-1095%29-ManyToOne-Update-Fails-when-lazyLoadingFilter-switched-on-tp19548958s2369p19874158.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19871736</id>
	<title>Re: OneToMany Relation Problem from User</title>
	<published>2008-10-07T20:31:23Z</published>
	<updated>2008-10-07T20:31:23Z</updated>
	<author>
		<name>mraible</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Deleting the file in src/test/resources should solve your problem.&lt;br&gt;&lt;br&gt;Matt&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Oct 7, 2008 at 9:16 PM, mmaia &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871736&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maia.marcos@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
Hi Matt,&lt;br&gt;
&lt;br&gt;
I found the problem!!! Looked for hibernate.cfg.xml in project and found 4&lt;br&gt;
references.&lt;br&gt;
&lt;br&gt;
The one that is showed as loaded when I run the test cases is the one under&lt;br&gt;
src/main/resources as stated in console while running the tests:&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
[INFO] Configuration XML file loaded:&lt;br&gt;
&lt;/div&gt;file:/C:/workspaces/projetos/controlepeso/src/main/resources/hibernate.cfg.xml&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;[INFO] Configuration XML file loaded:&lt;br&gt;
&lt;/div&gt;file:/C:/workspaces/projetos/controlepeso/src/main/resources/hibernate.cfg.xml&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
this one was ok and had the reference to class ControlePeso in model&lt;br&gt;
package.&lt;br&gt;
&lt;br&gt;
Than I found the reference to hibernate.cfg.xml under src/test/resources and&lt;br&gt;
there the ControlePeso reference was not existent.. Just added there and it&lt;br&gt;
worked, my concerns:&lt;br&gt;
&lt;br&gt;
1) If during tests the context loader is using the hibernate.cfg.xml under&lt;br&gt;
src/test/resources , why it says that have loaded the ones under&lt;br&gt;
src/main/resources??? This information made me take much longer to find the&lt;br&gt;
problem...&lt;br&gt;
&lt;br&gt;
2) Shouldn&amp;#39;t the hibernate.cfg.xml from src/test/resources be updated&lt;br&gt;
automatically after an update on the one under src/main/resources???&lt;br&gt;
&lt;br&gt;
tx for your interest in the problem.. it&amp;#39;s solved now..&lt;br&gt;
&lt;br&gt;
regards.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
mraible wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The only thing I can think of is there&amp;#39;s another hibernate.cfg.xml in your&lt;br&gt;
&amp;gt; classpath. I&amp;#39;d suggest you send me your project, but it&amp;#39;s unlikely I&amp;#39;d&lt;br&gt;
&amp;gt; have&lt;br&gt;
&amp;gt; time to look at it this week.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Sorry,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Matt&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Tue, Oct 7, 2008 at 8:51 PM, mmaia &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871736&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maia.marcos@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi Matt,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; just updated the code from svn to my notebook, got exactly the same&lt;br&gt;
&amp;gt;&amp;gt; error!!!!&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Any suggestions on path to solve this? I&amp;#39;m lost here.. Really worried&lt;br&gt;
&amp;gt;&amp;gt; about&lt;br&gt;
&amp;gt;&amp;gt; this issue as I&amp;#39;m used with TDD and not using it is not an option for&lt;br&gt;
&amp;gt;&amp;gt; me!!!!&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I&amp;#39;ve recheck all stuff.. can&amp;#39;t understand how can this not be working..&lt;br&gt;
&amp;gt;&amp;gt; hibernate.cfg.xml is loaded, everything looks correct to me...&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; any clues on this will be wellcome.. any paths to follow that could help&lt;br&gt;
&amp;gt;&amp;gt; to&lt;br&gt;
&amp;gt;&amp;gt; solve this also...&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; regards..&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; mraible wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; The two loadings are from the hibernate3-maven-plugin and that seems to&lt;br&gt;
&amp;gt;&amp;gt; be&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; working correctly. Can you reproduce this problem on another machine?&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Matt&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; On Tue, Oct 7, 2008 at 3:09 PM, mmaia &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19871736&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maia.marcos@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Some more on this:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; I can see in console when hibernate.cfg.xml is loaded , also I´ve&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; checked(again) and had the entry in this file:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;mapping class=&amp;quot;br.com.maweb.controlepeso.model.ControlePeso&amp;quot;/&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; so this is correct, right?&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; From console the only weird things when I run the tests that I´m able&lt;br&gt;
&amp;gt;&amp;gt; to&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; see&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; are:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; 2 hibernate loadings and a warning as follows:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [WARNING] POM for &amp;#39;org.hibernate:jtidy:pom:r8-20060801:runtime&amp;#39; is&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; invalid.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; It w&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ill be ignored for artifact resolution. Reason: Parse error reading&lt;br&gt;
&amp;gt;&amp;gt; POM.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Reason:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;TEXT must be immediately followed by END_TAG and not START_TAG&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; (position:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; START&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; _TAG seen ...&amp;lt;licenses&amp;gt;\n\t\t\t&amp;lt;license&amp;gt;... @12:13) &amp;nbsp;for project&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; org.hibernate:j&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; tidy at&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; c:\tools\maven.repo\org\hibernate\jtidy\r8-20060801\jtidy-r8-20060801.po&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; m&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [hibernate3:hbm2ddl {execution: default}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Configuration XML file loaded:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; file:/D:/workspaces/projetos/controlepeso/&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; src/main/resources/hibernate.cfg.xml&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Configuration XML file loaded:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; file:/D:/workspaces/projetos/controlepeso/&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; src/main/resources/hibernate.cfg.xml&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; I´m sure the jtidy warning is not the problem. I´m concerned about 2&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; loadings for hibernate.cfg.xml file.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Still lost here, any help will be appreciated.. as I´m really worried&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; about&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; carring on with appfuse on this project if I´m not able to use&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; UnitTests....&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Follows all the console copy for better understanding(you´ll find&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; surefire&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; report atached in this same post in my first thread if you want to&lt;br&gt;
&amp;gt;&amp;gt; take&lt;br&gt;
&amp;gt;&amp;gt; a&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; look at it):&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; D:\workspaces\projetos\controlepeso&amp;gt;mvn test -Dtest=*DaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Scanning for projects...&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ------------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Building AppFuse Struts 2 Application&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] &amp;nbsp; &amp;nbsp;task-segment: [test]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ------------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [resources:resources]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [compiler:compile]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [resources:testResources]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Preparing hibernate3:hbm2ddl&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent&lt;br&gt;
&amp;gt;&amp;gt; recursive&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; invocation.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [aspectj:compile {execution: default}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [resources:resources]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Using default encoding to copy filtered resources.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [WARNING] POM for &amp;#39;org.hibernate:jtidy:pom:r8-20060801:runtime&amp;#39; is&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; invalid.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; It will be ignored for artifact resolution.&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Reason: Parse error reading POM. Reason: TEXT must be immediately&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; followed&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; by END_TAG and not START_TAG (position: START&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; _TAG seen ...&amp;lt;licenses&amp;gt;\n\t\t\t&amp;lt;license&amp;gt;... @12:13) &amp;nbsp;for project&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; org.hibernate:jtidy at c:\tools\maven.repo\org\hibernat&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; e\jtidy\r8-20060801\jtidy-r8-20060801.pom&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [hibernate3:hbm2ddl {execution: default}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Configuration XML file loaded:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; file:/D:/workspaces/projetos/controlepeso/src/main/resources/hibernate.cfg.xml&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Configuration XML file loaded:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; file:/D:/workspaces/projetos/controlepeso/src/main/resources/hibernate.cfg.xml&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Configuration Properties file loaded:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; D:\workspaces\projetos\controlepeso\target\classes\jdbc.properties&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table controle_peso drop foreign key FK5243CE487452007B;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table user_role drop foreign key FK143BF46ACF273C9B;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table user_role drop foreign key FK143BF46A7452007B;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; drop table if exists app_user;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; drop table if exists controle_peso;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; drop table if exists role;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; drop table if exists user_role;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; create table app_user (id bigint not null auto_increment,&lt;br&gt;
&amp;gt;&amp;gt; account_expired&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; bit not null, account_locked bit not null, add&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ress varchar(150), city varchar(50), country varchar(100), postal_code&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; varchar(15), province varchar(100), cellphone_num&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ber varchar(255), credentials_expired bit not null, email varchar(255)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; not&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; null unique, account_enabled bit, first_name&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; varchar(50) not null, last_name varchar(50) not null, password&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; varchar(255)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; not null, password_hint varchar(255), phone_&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; number varchar(255), username varchar(50) not null unique, version&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; integer,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; website varchar(255), primary key (id)) ENGI&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; NE=InnoDB;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; create table controle_peso (id bigint not null auto_increment, data&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; datetime&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; not null, peso float not null, user_id bigi&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; nt not null, primary key (id)) ENGINE=InnoDB;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; create table role (id bigint not null auto_increment, description&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; varchar(64), name varchar(20), primary key (id)) ENGIN&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; E=InnoDB;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; create table user_role (user_id bigint not null, role_id bigint not&lt;br&gt;
&amp;gt;&amp;gt; null,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; primary key (user_id, role_id)) ENGINE=InnoDB;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table controle_peso add index FK5243CE487452007B (user_id), add&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; constraint FK5243CE487452007B foreign key (user_id&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ) references app_user (id);&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table user_role add index FK143BF46ACF273C9B (role_id), add&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; constraint&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; FK143BF46ACF273C9B foreign key (role_id) re&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ferences role (id);&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; alter table user_role add index FK143BF46A7452007B (user_id), add&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; constraint&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; FK143BF46A7452007B foreign key (user_id) re&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; ferences app_user (id);&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [compiler:testCompile]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Nothing to compile - all classes are up to date&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [dbunit:operation {execution: test-compile}]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] [surefire:test]&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; [INFO] Surefire report directory:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; D:\workspaces\projetos\controlepeso\target\surefire-reports&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; -------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;T E S T S&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; -------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Running br.com.maweb.controlepeso.dao.UniversalDaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; INFO - AbstractSingleSpringContextTests.loadContextLocations(210) |&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Loading&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; context for locations: classpath:/applicatio&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; nContext-resources.xml,classpath:/applicationContext-dao.xml,classpath*:/applicationContext.xml,classpath:**/application&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Context*.xml&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.61&lt;br&gt;
&amp;gt;&amp;gt; sec&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt;&amp;lt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; FAILURE!&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Running br.com.maweb.controlepeso.dao.LookupDaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047&lt;br&gt;
&amp;gt;&amp;gt; sec&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Running br.com.maweb.controlepeso.dao.ControlePesoDaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015&lt;br&gt;
&amp;gt;&amp;gt; sec&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Running br.com.maweb.controlepeso.dao.RoleDaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.063&lt;br&gt;
&amp;gt;&amp;gt; sec&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Running br.com.maweb.controlepeso.dao.UserDaoTest&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.094&lt;br&gt;
&amp;gt;&amp;gt; sec&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Results :&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; Tests in error:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testCRUD(br.com.maweb.controlepeso.dao.UniversalDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testGetRoles(br.com.maweb.controlepeso.dao.LookupDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; testAddAndRemoveControlePeso(br.com.maweb.controlepeso.dao.ControlePesoDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testGetRoleInvalid(br.com.maweb.controlepeso.dao.RoleDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testGetRole(br.com.maweb.controlepeso.dao.RoleDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testUpdateRole(br.com.maweb.controlepeso.dao.RoleDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testAddAndRemoveRole(br.com.maweb.controlepeso.dao.RoleDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testFindByNamedQuery(br.com.maweb.controlepeso.dao.RoleDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testGetUserInvalid(br.com.maweb.controlepeso.dao.UserDaoTest)&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;testGetUser(br.com.maweb.controlepeso