That�s probably your problem then.  The default identifier class is native
however the default type is incorrectly set to datatype.String, you can
override the defaultIdentifierType by setting this property in the hibernate
dependency in the mda/project.xml.  I just changed the defaultIdentifierType
to datatype.Long in the cartridge (in CVS) so that it will work with the
native generator class next time.

________________________________________
From: Gabriela Chiribau [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 26, 2005 3:07 PM
To: Chad Brandon
Subject: [Norton AntiSpam] RE: RE: RE: Re: [Andromda-user] Database schema
generation problem

just using the one generated by default ! is a really cool feature :)

Chad Brandon <[EMAIL PROTECTED]> wrote: 
Are you modeling this identity or are you just using the one generated by
default?

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabriela
Chiribau
Sent: Wednesday, January 26, 2005 3:00 PM
To: [email protected]
Subject: [Norton AntiSpam] RE: RE: Re: [Andromda-user] Database schema
generation problem

and hmm... why would be the identity created as varchar ? and not as int !
there should be some mixup :)

Gabriela Chiribau wrote:
ahhhhh
well i'll try with the latest and greatest hypersonic version
but... i didn't touch the id definition...
where is it set ?
what is the default ?

Chad Brandon wrote:
The hypersonic SQL version is not controlled by the cartridge. The default
identifier type has been changed to native, so that could be your problem
(it was uuid.hex)

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabriela
Chiribau
Sent: Wednesday, January 26, 2005 2:38 PM
To: [email protected]
Subject: [Norton AntiSpam] RE: Re: [Andromda-user] Database schema
generation problem

what about that "generated by default as identity ?
the hsql version I have doesn't recognize the "generated" keyword...

Chad Brandon wrote:
The hibernate XML files are now all generated by the cartridge (no more
xdoclet). Youll need to update your maven.xml in your core module to point
to the locat ion of these files (since theyre not longer in
xdoclet/hibernate like you discovered). 

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabriela
Chiribau
Sent: Wednesday, January 26, 2005 2:31 PM
To: Gabriela Chiribau; [email protected]
Subject: [Norton AntiSpam] Re: [Andromda-user] Database schema generation
problem

The schema is not generated because the hbm.xml files are not generated in
xdoclet/hibernate
Did this change ?
�
how do I automatically copy the hbm.xml file in xdoclet.hibernate ?
�
Also the schema gets generated with:
�
create table PRODUCT_OFFERING (ID varchar(255) generated by default as
identity (start with 1), class varchar(255) not null, NAME VARCHAR(256) not
null, DESCRIPTION VARCHAR(256) not null, STATUS VARCHAR(256) not null,
TIME_PERIOD_FK varchar(255) )
Did the hsql version change ? "generated by default as identity " is not
recognized...

Gabriela Chiribau wrote:

I upgraded to rc1-snapshot. For some reason the schema is not generated.
"hibernate.properties not found"
Any reason why ? How do I generate the schema off-line if this is a bug :)
________________________________________
Do you Yahoo!?
The all-new My Yahoo!  What will yours do?
________________________________________
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user
________________________________________
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

________________________________________
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
________________________________________
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

________________________________________
Do you Yahoo!?
The all-new My Yahoo!  What will yours do?




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to