Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-08 Thread Rob Hills
Hi Matt, On 8 Sep 2007 at 3:08, Matt Raible wrote: > Yeah, negative keys is probably the way to go. Maybe we should have a > "dev" and "prod" profile in pom.xml. For "dev", sample-data.xml (or > test-data.xml) would be used (with negative keys). For production, a > default-data.xml would be used.

Re: [appfuse-user] Issue running spring-modular-spring following the Spring+MVC tutorial

2007-09-08 Thread dev dev
i did some quick debugging and a quick fix is to make sure the " hibernate.cfg.xml" is NOT included in the web module... dev On 9/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Please enter an issue for this and I'll try to reproduce. > > > On 9/8/07, dev dev <[EMAIL PROTECTED]> wrote: > > if y

Re: [appfuse-user] Issue running spring-modular-spring following the Spring+MVC tutorial

2007-09-08 Thread Matt Raible
Please enter an issue for this and I'll try to reproduce. On 9/8/07, dev dev <[EMAIL PROTECTED]> wrote: > if you delete the one from the web module, it won't work. You can try it out > and see. > > dev > > On 9/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > You should be able to delete the

Re: [appfuse-user] Issue running spring-modular-spring following the Spring+MVC tutorial

2007-09-08 Thread dev dev
if you delete the one from the web module, it won't work. You can try it out and see. dev On 9/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > You should be able to delete the one from your web module. If that > works, it's a bug that one is put in the web module. > > Matt > > > On 9/8/07, dev d

Re: [appfuse-user] Issue running spring-modular-spring following the Spring+MVC tutorial

2007-09-08 Thread Matt Raible
You should be able to delete the one from your web module. If that works, it's a bug that one is put in the web module. Matt On 9/8/07, dev dev <[EMAIL PROTECTED]> wrote: > I found the problem. > > I already had it in the "core"/src/main/resource/hibernate.cfg.xml. > > > but you also need to a

Re: [appfuse-user] Issue running spring-modular-spring following the Spring+MVC tutorial

2007-09-08 Thread dev dev
I found the problem. I already had it in the "core"/src/main/resource/hibernate.cfg.xml. but you also need to add it to "web"/src/main/resource/hibernate.cfg.xml as well. This seems to be a minor bug to me. Thanks Matt dev On 9/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > You need to ad

Re: [appfuse-user] Canoo /ibatis/ spring mvc

2007-09-08 Thread Guillaume ROMAGNY
> You'll need to synch up your dispatcher-servlet.xml and web-tests.xml. Thank you Matt. in case someone needs, here's the diff : web-tests.xml 88c91 < --- > 187c190 < 200c203 <

Re: [appfuse-user] Canoo /ibatis/ spring mvc

2007-09-08 Thread Matt Raible
You'll need to synch up your dispatcher-servlet.xml and web-tests.xml. Matt On 9/8/07, Guillaume ROMAGNY <[EMAIL PROTECTED]> wrote: > Hi, > > I have tested the ibatis+spring mvc tuto with success with 2.0-m5 > > so at the end I do mvn integration-test and everything is fine. > > I tried upgradin

[appfuse-user] Canoo /ibatis/ spring mvc

2007-09-08 Thread Guillaume ROMAGNY
Hi, I have tested the ibatis+spring mvc tuto with success with 2.0-m5 so at the end I do mvn integration-test and everything is fine. I tried upgrading to 2.0-rc1 which is much a change in pom.xml 222c183 < 1.0-rc1 --- > 1.0-m5 660,661c621,622 < 2.0-rc1 <

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-08 Thread Matt Raible
Yeah, negative keys is probably the way to go. Maybe we should have a "dev" and "prod" profile in pom.xml. For "dev", sample-data.xml (or test-data.xml) would be used (with negative keys). For production, a default-data.xml would be used. This would have default values - for example, an admin user

[appfuse-user] How to extend the example of Appfuse?

2007-09-08 Thread Rick Guo
Hi all, Sorry to bother again, I am developing an application using Appfuse 2.0 m5. Many bugs has been solved by this News Group, related BBS or myself. Now I met a question mainly about the business model. I appriciate somebody could spend time to give me some advice. First descript my use case:

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-08 Thread Rob Hills
Hi Matt, On 8 Sep 2007 at 2:35, Matt Raible wrote: > The easiest solution is don't use Oracle. ;-) Or maybe use PostgreSQL Sorry, I should have mentioned, I'm using PostgreSQL. I'll not start any flame wars by talking about my opinion of Oracle... > since that's very similar. In all seriousne

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-08 Thread Matt Raible
The easiest solution is don't use Oracle. ;-) Or maybe use PostgreSQL since that's very similar. In all seriousness, there should be an easy way to solve this problem, but I don't know it. There is a SequenceGenerator annotation - maybe that can be used somehow? @Id @SequenceGenerator( n

Re: [appfuse-user] Error executing database operation: CLEAN_INSERT

2007-09-08 Thread Rob Hills
Hi Matt, I've just bumped into this problem and wanted clarification of the suggested workaround. On 5 Sep 2007 at 22:26, Matt Raible wrote: > This might help: > > http://issues.appfuse.org/browse/APF-718 > > > Set your hibernate_sequence to a high enough value so that future > insertions do

Re: [appfuse-user] appfuse:full-source works on modular projects on Appfuse2.0 RC1?

2007-09-08 Thread mraible
Should be fixed now - at least it works on my Windows XP box with both Cygwin and the good ol' Windows "cmd" prompt. Matt gumiyo wrote: > > yes Vista. > > On 9/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> >> Are you on Windows as well? >> >> On 9/5/07, dev dev <[EMAIL PROTECTED]> wrote: >>