Have you done a mvn clean and rebuild after changing the pom.xml? The
password gets set in the Spring configuration files during build.
Mike
2008/5/5 chandrashekar <[EMAIL PROTECTED]>:
> hi
> i am new to maven 2 and appfuse. i am trying to build a
> appfuse-basic-jsf.
> i have freshly installed
hi
i am new to maven 2 and appfuse. i am trying to build a appfuse-basic-jsf.
i have freshly installed mysql 5.0.27 and its working fine with
username:- root and password:- root
i have changed the pom.xml:
org.dbunit.dataset.datatype.DefaultDataTypeFactory
CLEAN_INSERT
Dale Newfield wrote:
generator-class="increment"
Quoted from
http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html#mapping-declaration-id-generator:
increment
generates identifiers of type long, short or int that are unique only
when no other process is inserting data into the
Matt Raible wrote:
Can you please enter an issue for this in JIRA? Feel free to link back
to this thread (via nabble).
I don't know if this works in all DBs, and I don't know how to translate
to JPA, but I use postgresql, hibernate, and xdoclet to set
generator-class="increment"
and it magi
Can you please enter an issue for this in JIRA? Feel free to link back
to this thread (via nabble).
Matt
On 9/8/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> 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"
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.
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
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
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
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
This might help:
http://issues.appfuse.org/browse/APF-718
Set your hibernate_sequence to a high enough value so that future
insertions do not produce unique key constraint violations. For
instance, if your highest key value in any of your tables is 182974,
then the following statement would work
Hi David,
I have the same problem as yours. What error did you find in your
sample-data.xml file? My project can be built correctly with MySQL database
but not Oracle database , so I don't think the sample-data.xml has a
problem...
Binh Pham
Djohannot wrote:
>
> I found the origin of the pro
It looks like this is the key piece of the exception:
Caused by: org.dbunit.dataset.NoSuchTableException: Request
It looks as though your sample data refers to a table called Request yet no
such table exists?
Mike
On 7/19/07, Srini Bobbala <[EMAIL PROTECTED]> wrote:
HI,
Got 3 pojos (emplo
HI,
Got 3 pojos (employee, task, employeetask) with many to one relationship
in employeetask pojo with rest,
I am able to generate & install pojos, creating db tables:
When try to run mvn install or mvn test -e getting error
Thanks a lot,
[ERROR] BUILD ERROR
[INFO]
-
I found the origin of the problem.
I had an error on my sample-data.xml files.. (Always check your xml...)
David
Djohannot wrote:
>
> Hello,
>
> When i run mvn jetty:run-war -e, I've this error:
>
> Error executing database operation: CLEAN_INSERT
>
> I've drop my database from MyS
Hello,
When i run mvn jetty:run-war -e, I've this error:
Error executing database operation: CLEAN_INSERT
I've drop my database from MySQL from the command line, but the problem is
always the same. Has someone an Idea?
--
View this message in context:
http://www.nabble.com/Error-executing-da
16 matches
Mail list logo