After I changing the Entity to javax.persistence.Entity.
It works fine.
Thanks.
tony
mraible wrote:
>
> You need to use javax.persistence.Entity, not the Entity annotation
> from Hibernate Annotations. Hope that fixes the problem!
>
> Matt
>
> On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrot
You need to use javax.persistence.Entity, not the Entity annotation
from Hibernate Annotations. Hope that fixes the problem!
Matt
On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrote:
Sure !! I follow the tutorial strictly.
here is my model,
package com.tcf.model;
import javax.persistence.Col
Sure !! I follow the tutorial strictly.
here is my model,
package com.tcf.model;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import org.appfuse.model.BaseObject;
import org.hibernate.annotations.
That certainly is strange - it all looks correct. Do you have an
@Entity annotation on your Person class?
Matt
On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrote:
tonylu880042 wrote:
>
>
> I used the basic archetypes.
> I checked the hibernate.cfg.xml for the Person class mapping. It was
>
I tried "mvn dbunit:operation" but it did not work.
However, "mvn post-integration-test" works fine with your suggested
modifications.
wnqq wrote:
>
>
> If I wish to manually insert the data (namely, "ant db-load" in v1.x),
> what configurations should I set, and what command should I execute
If I wish to manually insert the data (namely, "ant db-load" in v1.x), what
configurations should I set, and what command should I execute? TIA.
mraible wrote:
>
> If you add an to the dbunit plugin that executes in the
> "post-integration-test" phase, that should solve your issue:
>
>
Ivan,
It works! Thanks.
Best regards,
Jonathan
Ivancho wrote:
You can set a new request variable named "order" before you do the include:
Ivan
Jonathan Tse wrote:
Hi all,
I don't know if my question make sense or not. I got a jsp (say,
ViewOrder.jsp) displaying an order sum
Thanks Corey, This resolved the issue.
- Paul
-Original Message-
From: Sanders, Corey [mailto:[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 1:42 PM
To: users@appfuse.dev.java.net
Subject: RE: [appfuse-user] Message resource key strings not found
The c:fmt tag assumes you setup a loca
tonylu880042 wrote:
>
>
> I used the basic archetypes.
> I checked the hibernate.cfg.xml for the Person class mapping. It was
> there.
> the package of the class is com.tcf.model.
> However, the table is still not created. Really upset now.
>
> the output of mvn compile hibernate3:hbm2ddl
>
I used the basic archetypes.
I checked the hibernate.cfg.xml for the Person class mapping. It was there.
the package of the class is com.tcf.model.
However, the table is still not created. Really upset now.
tonylu880042 wrote:
>
> hi,
> I am new to appfuse 2.X .
> I follow the tutorials to
Hi benoit,
There is a "Snippets" tool in one of the web/JSP plug ins.
It seems to have been intended for JSP but I have used it with other
source types.
It allows you to create a template with substitutions. When you insert
the '"Snippet" a dialog box asks for the values of the parameters to
cd web;mvn test
On 3/12/07, Christopher Love <[EMAIL PROTECTED]> wrote:
Hi all
How do I just build and run the unit tests for a child project.
For example I have
demo-app
-- web
How do I just build and run tests for web?
Chris
--
http://raibledesigns.com
-
Hi all
How do I just build and run the unit tests for a child project.
For example I have
demo-app
-- web
How do I just build and run tests for web?
Chris
On Mon, 12 Mar 2007 16:02:40 -0600, Matt Raible wrote
> kgbinternet.com was discussed last week - $20/month for your own JVM
> and Tomcat instance. I know they support MySQL, don't know about
> PostgreSQL. They're the kind of company that would probably install
> PostgreSQL for you though.
I'll s
Section 9.1.28 of the 'ejb-3_0-fr-spec-persistence.pdf' doc available
here: http://jcp.org/en/jsr/detail?id=220
Bryan Noll wrote:
Check out the @OrderBy annotation.
romsrini wrote:
I guess what I'm really asking is if there is a way to do the sort in
the
database for a collection return
kgbinternet.com was discussed last week - $20/month for your own JVM
and Tomcat instance. I know they support MySQL, don't know about
PostgreSQL. They're the kind of company that would probably install
PostgreSQL for you though.
Matt
On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
So
Check out the @OrderBy annotation.
romsrini wrote:
I guess what I'm really asking is if there is a way to do the sort in the
database for a collection returned from a join.
For example, given the following code snippet from org.appfuse.model.User:
@ManyToMany(fetch = FetchType.EAGER)
@Jo
I guess what I'm really asking is if there is a way to do the sort in the
database for a collection returned from a join.
For example, given the following code snippet from org.appfuse.model.User:
@ManyToMany(fetch = FetchType.EAGER)
@JoinTable(
name="user_role",
join
So what about low-end hosting? "eat your own dog food" sites, or for
small niches where downtime is acceptable? I remember seeing ads for <$25
sites awhile back, but iirc most used mysql backends. (I was looking for
postgresql)
---
Hi Folks,
One for the mailing list archives here: If anyone is having trouble running
'ant test-all' under a Java 1.4.2 with a Facelets setup, you'll find the
solution and the required files
on my modest pseudo blog at http://www.jakobsen.ca/techblog
I'm doing a lot of Facelets work, so if you
Thank you, Matt. I'll update and run it again. :-)
mraible wrote:
>
> You need to use Ant 1.6.5 as a minimum - it looks like you're using 1.5.2.
>
> Matt
>
> On 3/12/07, heccarrillo <[EMAIL PROTECTED]> wrote:
>> I am trying to launch appfuse on a box running the following:
>>
>>
>> Fedora
>
You need to use Ant 1.6.5 as a minimum - it looks like you're using 1.5.2.
Matt
On 3/12/07, heccarrillo <[EMAIL PROTECTED]> wrote:
I am trying to launch appfuse on a box running the following:
Fedora
Tomcat 5.5.20
Ant
MySQL
Hibernate
I ran ant with verbose and got the following:
[EMAIL PR
Anyone know the answer to the following question?
http://www.nabble.com/Is-it-possible-to-have-application-specific-properties-in-settings.xml--tf3363611s177.html#a9357756
If it's not possible to have application-specific settings, that's a
big flaw in Maven's settings IMO. If I have the followi
I am trying to launch appfuse on a box running the following:
Fedora
Tomcat 5.5.20
Ant
MySQL
Hibernate
I ran ant with verbose and got the following:
[EMAIL PROTECTED] appfuse]# ant -verbose new
Apache Ant version 1.5.2-26 compiled on May 5 2004
Buildfile: build.xm
http://rimuhosting.com
Great customer service, dependable hardware. I have been with them for 3 years.
Their VPS will probably fit the bill of what you are looking for.
Luke
On 3/12/07, wish wish <[EMAIL PROTECTED]> wrote:
hi, we are in search of a good hosting company to hose our tomcat, my
If you're willing to pay for it, Contegix is the best hosting company
I've ever worked with. They literally respond to any support requests
in under a minute!
http://contegix.com
Matthew Porter is one of the founders and a good friend of mine. You
can tell him I sent you if you like.
Matt
On
hi, we are in search of a good hosting company to hose our tomcat, mysql app (appfuse 1.6.1). we are not looking for the low cost solution since the app power hundreds client's business, so a mid to high end provider. anyone has any good recommandation?
TIA
alex Mortgage rates as low as 4.625% -
Thanks for the response. We don't have that in our current version of
the decorator, so I must have accidentally deleted it at some point.
I'll add it back in.
Thanks again.
-- Corey
From: Michael Horwitz [mailto:[EMAIL PROTECTED]
Sent: Monday, March 12,
It is set by sitemesh when it assembles the page. If you look in
/decorator/default.jsp:
And you will see that each page has an entry of the form in its head.
Mike.
On 3/12/07, Sanders, Corey <[EMAIL PROTECTED]> wrote:
I am working on customizing the menu display in cssHorizontalMenu.vm
The c:fmt tag assumes you setup a localization bundle. Does your web.xml
also have this section?
javax.servlet.jsp.jstl.fmt.localizationContext
ApplicationResources
Matt has some info on this on his site.
http://raibledesigns.com/rd/entry/changing_struts_lt_bean_message
-- Corey
-O
All:
I am developing an application which has the xml snippet below
included in me web.xml file.
404
/404.jsp
However, when I enter a bad URL I am forwarded to my 404.jsp file but
the jstl tag
doesn't work. I get the errors below shown on my 404.jsp page.
???404.tit
I am working on customizing the menu display in cssHorizontalMenu.vm and
I am having some trouble with the currentMenu variable. It doesn't seem
to ever get a value. Where is the currentMenu variable populated?
Thanks,
---
Corey Sanders
Senior Software Developer
Sterling Commerce, an AT&
I'll try to config it within action-servlet.xml and let you know what's
happening. Thanks.
Qin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Monday, March 12, 2007 11:07 AM
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] AS
I wouldn't expect you to get logging out of webapp/listener or model
because those are not configured by Spring. However, it is strange
you're not seeing logging messages from your controllers. Maybe it's
because the ApplicationContext is hierarchical and you need to
configure this aspect in act
I use spring's MVC. I choose MVC because I understood that it is
seamlessly integrated into spring's framework.
Qin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Monday, March 12, 2007 9:53 AM
To: users@appfuse.dev.java.net
Subject: Re
Can you please enter this as a bug in JIRA so we can track the change
in our release notes?
Thanks,
Matt
On 3/11/07, viggo <[EMAIL PROTECTED]> wrote:
http://www.nabble.com/file/7086/norwegianCharacters.jpg
--
View this message in context:
http://www.nabble.com/Norwegian-characters-are-not-di
Hmmm, I may need a new version of ApplicationResources_no.properties
then. If I changed it from ASCII to UTF8 in Notepad++, it changes:
Detaljer følger
to:
Detaljer f魧er
Of course, I can leave it as an ASCII file and process it with UTF8,
but that doesn't seem right.
Matt
On 3/12/07, viggo
It does sound about right. There is still an outstanding issue with the
Eclipse project plugin, but this should not affect AppFuse end users who
simply depend on AppFuse jar files. I would suggest a check of the list of
libraries in the Eclipse project to see if the required ones are present to
sa
On 3/12/07, Matt Raible <[EMAIL PROTECTED]> wrote:
On 3/12/07, Jon Loken <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO
> environmental variable, when running either 'mvn jetty:run-war' or 'mvn
> integration-test' there was a problem downl
Dependency injection. I just ended up looking it up with a call to
applicationContext.getBean(). I just thought I would use a class that
Spring had available if one existed.
Thanks...
Matt Raible wrote:
What functionality are you looking for? Dependency injection or
automatic rollback afte
The repository is not Tomcat-based, it uses Apache
(static.appfuse.org), so it should rarely (if ever) go down. If it
does, it's probably a network or DNS issue. Of course, that could be
on the appfuse.org side, and not on yours. ;-)
Matt
On 3/12/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote:
These errors are likely because Eclipse isn't reading the dependencies
from the WARs (using the warpath plugin). Does that sound right Mike?
A lot of the JSP errors that Eclipse reports are invalid, but it
sounds to me like it's barfing on imports.
Matt
On 3/12/07, yuccaplant <[EMAIL PROTECTED
On 3/12/07, Jon Loken <[EMAIL PROTECTED]> wrote:
Hi,
Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO
environmental variable, when running either 'mvn jetty:run-war' or 'mvn
integration-test' there was a problem downloading tomcat. This was
resolved by updating the to become
Which web framework are you using? The reason you're probably not
seeing log messages from your web framework is because those classes
are not managed by Spring. Using AspectJ's compile-time-weaving should
get you the behavior you desire.
Matt
On 3/12/07, Ding, Qin <[EMAIL PROTECTED]> wrote:
Ma
Matt: thank you for replying my question.
Actually, three jars asm-1.5.3.jar and asm-attrs-1.5.3.jar and
asm-all-2.2.3.jar must all be in the classpath. I changed my pointcut
definition to
I thought that way I can see logging from all public methods within
appfuse. However, now I can only se
Hi,
If you have not tried Selenium, make sure you play with it for a couple of days
before you make up your mind.
For one, comparing Selenium to JMeter is perhaps a misunderstanding of what
Selium is and what it can do.
Also, if you always prefer Apache projects, these days it seems like some
For UI Testing I think Apache JMeter is cool and it is well supported. I just
looked at the selenium. It seems nice too but I always prefer Apache
projects.
--
View this message in context:
http://www.nabble.com/Questions-for-2.x%3A-Archetypes-and-UI-Testing-tf3364157s2369.html#a9432984
Sent fro
Yes I did that (checked it again). Afterwards I did it the first time, there
were a lot of import errors gone. In fact Eclipse doesn't give
import-errors, but as far as I can see the errors are the result of missing
resources. If I go to preferences -> Java builth path, Eclipse gives a
warning: 57
Have you set up your Maven repository for use with Eclipse by running mvn -
Declipse.workspace= eclipse:add-maven-repo? You can find
details here: http://www.appfuse.org/display/APF/Eclipse or here
http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html
Mike.
On 3/12/07, yuccaplant <[EM
I'm trying to start a simple struts2 project with appfuse, follow the
instructions on the Wiki. In console everything goes fine, no building
errors. I use Eclipse as my IDE, but when I import the project (after mvn
eclipse:eclipse), I get a bunch of building errors:
Clickstream cannot be resolved
And hey presto its up again. That mailing list monitoring auto restart
feature is working well!
Tim Azzopardi wrote:
>
> I'm getting from http://appfuse.org/
> The Tomcat server is not answering
> consitently
>
> (and now running appfuse2 I just saw
>
> [INFO] Repository 'appfuse' will be
I'm getting from http://appfuse.org/
The Tomcat server is not answering
consitently
(and now running appfuse2 I just saw
[INFO] Repository 'appfuse' will be blacklisted
Do I need to unblacklist somehow !!!???!!!)
--
View this message in context:
http://www.nabble.com/http%3A--appfuse.org--i
Hi,
1. We have not upgraded from version 1.9.3 yet. Still need to research
which is the best option.
2. We have made a number of changes to the AppFuse code and vote for
having a full source archetype.
It is true that upgrading AppFuse code will then be more cumbersome, but
I must live with thi
Hi,
Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO
environmental variable, when running either 'mvn jetty:run-war' or 'mvn
integration-test' there was a problem downloading tomcat. This was
resolved by updating the to become
http://apache.org/dist/tomcat/tomcat-5/v5.5.20/bin
54 matches
Mail list logo