[appfuse-user] hibernate InheritanceType.TABLE_PER_CLASS issue

2007-08-22 Thread p7k
I have a polymorphic BaseLocation class, which is extended by Customer and Depot classes. with hibernate and annotations my setup is something like this: @Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstract class BaseLocation extends BaseObject implements Serializable

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Matt Raible
No - you only need it if you're using JPA. Matt On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote: > Matt, everyone, > > Do we need to use hibernate-entity-manager along side with hibernate > annotations? > > On 8/23/07, fadhli <[EMAIL PROTECTED]> wrote: > > > > Sorry for replying so late Matt.I had

[appfuse-user] Spring MVC : Multiple Form in One View?

2007-08-22 Thread fadhli
Hello, I would like to ask whether is it possible to put multiple form in one view in spring mvc? This is because I want to put upload file and edit profile together in one page. Your views and opinions are highly appreciated. Regards -- /fadhli

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread fadhli
Matt, everyone, Do we need to use hibernate-entity-manager along side with hibernate annotations? On 8/23/07, fadhli <[EMAIL PROTECTED]> wrote: > > Sorry for replying so late Matt.I had a problem with composite id using > annotations and I read from the hibernate forum to upgrade to the latest >

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread fadhli
Sorry for replying so late Matt.I had a problem with composite id using annotations and I read from the hibernate forum to upgrade to the latest hibernate library files. I didnt' know I would've entered a whole new mess. On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Sounds like a bug in h

Re: [appfuse-user] JBoss Seam

2007-08-22 Thread Matt Raible
I think it's a good choice if you want to use JSF and EJB3. Matt On 8/22/07, André Faria <[EMAIL PROTECTED]> wrote: > Hi Everybody, > > I would like to know what is your opnion about JBoss Seam... > Do you guys think that it can be a better choice than the Spring + > Struts2? Why? > > Reg

[appfuse-user] JBoss Seam

2007-08-22 Thread André Faria
Hi Everybody, I would like to know what is your opnion about JBoss Seam... Do you guys think that it can be a better choice than the Spring + Struts2? Why? Regards, André Faria from Brazil - To unsubscribe, e-mail: [E

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-22 Thread arvinder
Do you have a version field in the candidate entity? If yes, Are you populating it in the action when you fetch the data for edit? Arvinder tibi-3 wrote: > > hi, > > i have a candidate which has a one-one relation to user > when i save candidate i want to save changes to the user too. > but i g

Re: [appfuse-user] 1.000.000 records

2007-08-22 Thread Matt Raible
I'd suggest looking at the external paging/sorting feature of the DisplayTag: http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html Matt On 8/22/07, Adolfo <[EMAIL PROTECTED]> wrote: > > Hi, > > Im using 2.0M5/jsf/basic/mysql/jdk5/windows and I have a simple persistent > entity in wh

[appfuse-user] 1.000.000 records

2007-08-22 Thread Adolfo
Hi, Im using 2.0M5/jsf/basic/mysql/jdk5/windows and I have a simple persistent entity in which I have to persist 1.081.575 records. After the records are created and persisted, theres no memory to load them on the list screen. The classes for this were created using appfuse:gen. This collection

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Matt Raible
This solves the dependency resolution problem, but it creates a new problem. I've posted the details on Hibernate's forums. http://forum.hibernate.org/viewtopic.php?p=2362810 Thanks, Matt On 8/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > One solution may be to add the JBoss repository to

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Michael Horwitz
One solution may be to add the JBoss repository to the list in the pom.xml: it seems to have everything JBoss related in it: http://repository.jboss.com/maven2/ Mike On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > It looks like hibernate-entitymanager 3.2.1.ga has a similar issue - > bug I

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Matt Raible
It looks like hibernate-entitymanager 3.2.1.ga has a similar issue - bug I can't find jboss-common-core in Maven's central repo: Missing: -- 1) jboss:jboss-common-core:jar:2.0.4.GA Try downloading the file manually from the project website. Then, install it using the command: m

Re: [appfuse-user] About copyright of the forms.css

2007-08-22 Thread Matt Raible
>From http://issues.appfuse.org/browse/APF-309: Matt, I saw your contest when you first announced it and honestly I would have entered if we weren't so busy with Wufoo, Treehouse and Particletree. There isn't really a problem with using our CSS and markup because we'll be giving it away when we l

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Michael Horwitz
According to mvnrepository its all there: http://mvnrepository.com/artifact/org.hibernate/hibernate-commons-annotations. Looks like Hibernate have added a new package to their stack for 3.3.0.ga? Mike On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Sounds like a bug in hibernate-annotation

[appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-22 Thread tibi
hi, i have a candidate which has a one-one relation to user when i save candidate i want to save changes to the user too. but i get an: 'Object of class [org.appfuse.model.User] with identifier [3]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread Matt Raible
Sounds like a bug in hibernate-annotations, no? It doesn't look like this JAR is in the central Maven repo, nor does hibernate-annotations contain a dependency on it. Below are the versions of Hibernate we're currently using in AppFuse: 3.2.5.ga 3.2.1.ga 3.2.1.ga Why did

Re: [appfuse-user] test fail in mvn integration-test

2007-08-22 Thread Michael Horwitz
It looks like something strange is happening when the cargo plugin tries to download and install Apache Tomcat. The zip that comes down seems to be corrupted - it may be worth checking if you can download it on your Linux box manually and if you can unzip it without error (using a utility like unzi

Re: [appfuse-user] package does not exist error

2007-08-22 Thread Matt Raible
On 8/22/07, sudheerp <[EMAIL PROTECTED]> wrote: > > Hi Friends, > >I am using appfuse-jsf 1.9.4. > >When I compile a source file which is in src\service\org\sample\service > directory, the following line give package does not exist error. > > import javax.faces.application.FacesMess

[appfuse-user] About copyright of the forms.css

2007-08-22 Thread Jim Qiu
Hi, everyone. I'm using Appfuse for a commercial project, my customer need to know the something about copyright of this forms.css /* A CSS Framework by Mike Stenhouse of Content with Style */ /* FORM ELEMENTS */ /* From http://www.wufoo.com/css/global/dynamic.css */ /* - CLASSIC WUFOO FO

Re: [appfuse-user] test fail in mvn integration-test

2007-08-22 Thread Kanchana
Hi Mike Thanks for the reply..btw I'm on linux and I checked on windows the same spring basic build. it doesn't have to change the pom.xml manually. is that I'm on linux is the fact that I have to edit this manually?While the build running it creates a folder /tmp/core/installs/apache-5.5.23.zip

Re: [appfuse-user] what is the alternate to "mvn appfuse:full-source" for struts 2 modular project

2007-08-22 Thread Michael Horwitz
Haeve you run a mvn install on you core component? It seems it can find the class you generated in core. Mike. On 8/22/07, jaywalkable <[EMAIL PROTECTED]> wrote: > > > Thanks Mike for your suggestion. I was able to run all the tests including > the tutorial on the web successfully. Now I have s

Re: [appfuse-user] what is the alternate to "mvn appfuse:full-source" for struts 2 modular project

2007-08-22 Thread jaywalkable
Thanks Mike for your suggestion. I was able to run all the tests including the tutorial on the web successfully. Now I have started working with the appfuse plugin. I was able to run appfuse:gen in core module. But unable to run the same in web module. Please advise. The stack trace is given below

[appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-22 Thread fadhli
Hello guys, I've stumbled upon some trouble while upgrading my hibernate version to hibernate 3.2.5.ga and hibernate annotation 3.3.0.ga. If you try to build and run integration-test, this error will come out. ERROR - ContextLoader.initWebApplicationContext(203) | Context initialization failed or

Re: [appfuse-user] test fail in mvn integration-test

2007-08-22 Thread Michael Horwitz
If you look in your top level pom.xml there should be a property called cargo.container.url (look for the properties relating to tomcat5x). If you download the zip using the url, can you open it? If so you may want to drop the zip somewhere on your file system and change the URL to point to that lo

[appfuse-user] test fail in mvn integration-test

2007-08-22 Thread Kanchana
Hi All I was working on the Sample tutorials (spring base)of appfuse and when I do the mvn integration-test it gave the following error.I removed the complianed stuff from the repository and did a on line build and tested in many other ways.But still it's throw the same error.can any one please h

Re: [appfuse-user] Jdbc.properties configuration

2007-08-22 Thread fadhli
Thanks michael. On 8/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > > > > On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote: > > > > Hello, just a simple question > > > > In the jdbc.properties file, where does it pick the values? Is it from > > the pom.xml file? > > > It uses the properties from

Re: [appfuse-user] Jdbc.properties configuration

2007-08-22 Thread Michael Horwitz
On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote: > > Hello, just a simple question > > In the jdbc.properties file, where does it pick the values? Is it from the > pom.xml file? It uses the properties from the pom.xml file. Mike. -- > /fadhli

[appfuse-user] Jdbc.properties configuration

2007-08-22 Thread fadhli
Hello, just a simple question In the jdbc.properties file, where does it pick the values? Is it from the pom.xml file? -- /fadhli

[appfuse-user] package does not exist error

2007-08-22 Thread sudheerp
Hi Friends, I am using appfuse-jsf 1.9.4. When I compile a source file which is in src\service\org\sample\service directory, the following line give package does not exist error. import javax.faces.application.FacesMessage; But if I move the same source to \src\web\org\samp