In reply to Steve Springett,
i want to create tables from classes(like Artist.java to Artist table). so
is there any documentation given for CM 3.0+ version

On Sat, Apr 9, 2011 at 5:55 AM, Steve Springett <[email protected]> wrote:

> Cayenne 3.0 can optionally create the schema defined in the map by adding
> the following attribute to the node element in cayenne.xml
>
>
> schema-update-strategy="org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy"
>
> --Steve
>
>
>
> On Fri, Apr 8, 2011 at 5:10 PM, Aristedes Maniatis <[email protected]>
> wrote:
>
> > On 9/04/11 9:51 AM, sri krishna prasad wrote:
> >
> >>
> >> hi friends, good morning,
> >>
> >> Can we create tables from the classes in cayenne moduler(3.0+) as this
> is
> >> one of the feature of cayenne?
> >>
> >> i tryed in both CM versions(2.0+,3.0.1) but it is showing alert box
> error"
> >> driver load error" although i gave correct driver name and url path.
> >>
> >> i have attached the image of the error.
> >>
> >
> >
> > I am moving this to the user list because it belongs there and not on the
> > Cayenne dev list. Please drop dev@ from any replies.
> >
> > Your image didn't come through to this list, however what you are doing
> is
> > basically correct. Perhaps you just need to review your db driver jar
> file
> > to make sure it is correct. Also, some of the database URIs are quite
> > confusing at first. This may help:
> >
> >  http://cayenne.apache.org/doc30/database-support.html
> >
> >
> > Ari
> >
> >
> >
> > --
> > -------------------------->
> > Aristedes Maniatis
> > GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
> >
>



-- 
your's  ....
D.SriKrishnaPrasad
08143231985
09494540886
"Work hard for excellence "

Reply via email to