On 3 janv. 07, at 18:34, Mike Schrag wrote:

Not sure I understand the bug you're seeing: "as there is no space between the entity name and the list of attributes, one of my entity is probably seen as a function and the script fails". Can you give me an example of the entity name/attribute names of a failing entity, the SQL that's being generated from it, and the exact error that the database is responding with? Also, if you can strip down your model to a small example of this problem, that would be very helpful.

Mike, I think the problem may appear when using entities such as "Version". The generated SQL code might look like :
Create Table Version(int .......)".

The code above is raising an error with OpenBase, Version is maybe a reserved keyword. If you add a space between Version and the paranthesis, the SQL script will work like a charm. I don't know if this bug is due to OpenBase, or if it happens with other RDMS.

Regards,
Philippe


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to