DBUnit is used to load the initial dataset into the database. Both AppFuse
1.9.4 and 2.0.x do this. In 1.9.4 the Ant task db-load will load your
database with the dataset defined in sample-data.xml.

Mike.

On 8/1/07, jimmy6 <[EMAIL PROTECTED]> wrote:
>
>
> I am using 1.9.4 appfuse. Thus, how to create a predefined data to db on
> startup after hibernate create the table?
>
>
> Michael Horwitz wrote:
> >
> > I'm not sure I understand the question? What is it you are trying to do?
> > It
> > would also help to know which version of AppFuse you are using, and
> which
> > versions you are referring to in your email below.
> >
> > Mike
> >
> > On 8/1/07, jimmy6 <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Actually i want to how to create run the sql script in startup. It is
> >> because
> >> i am using hsql. i remember last time appfuse was run in this way but
> the
> >> latest one is not right?
> >>
> >>
> >> Michael Horwitz wrote:
> >> >
> >> > This is the property that tells Hibernate which database flavour you
> >> are
> >> > using. It is replaced by Ant during the build process with the value
> in
> >> > your
> >> > build.properties file. A list of the valid settings for this property
> >> can
> >> > be
> >> > found here: http://tinyurl.com/dpkau
> >> >
> >> > Mike
> >> >
> >> > On 8/1/07, jimmy6 <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> What is the @HIBERNATE-DIALECT@ mean?
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/%3Cprop-key%3D%22hibernate.dialect%22%3E%40HIBERNATE-DIALECT%40%3C-prop%3E---tf4198684s2369.html#a11941559
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/%3Cprop-key%3D%22hibernate.dialect%22%3E%40HIBERNATE-DIALECT%40%3C-prop%3E---tf4198684s2369.html#a11942209
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/%3Cprop-key%3D%22hibernate.dialect%22%3E%40HIBERNATE-DIALECT%40%3C-prop%3E---tf4198684s2369.html#a11942665
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to