MySQL and Generate SQL, and inline bindings problems
MySQL and Generate SQL, and inline bindings problems
- Subject: MySQL and Generate SQL, and inline bindings problems
- From: Thomas Worrall <email@hidden>
- Date: Mon, 6 Oct 2008 00:37:14 +0100
Hi. Once again, I may be asking newbie questions, I'm afraid.
When I go to do Generate SQL for my EOModel, it does not escape the table or field names in backticks (`). Because of this, table names like Order cause SQL errors.
In googling, all I could find was a suggestion to name my tables something else. I can do that, but it seems I shouldn't have to: regardless of what words are reserved, putting them all in backticks would solve the problem entirely. Why doesn't EO do that?
Second question: I can't get inline bindings to work. My Properties file (in the Resources group) has the following:
# OGNL ognl.active = true ognl.helperFunctions=true ognl.inlineBindings=true
When I try to use inline bindings, the tags seem to do nothing. They are passed through to the browser. For example, I have:
<wo:string value = "$session.sessionID"/>
It appears in my HTML source and is not rendered at all.
Thanks for taking the time to help a WO newbie. I'll hopefully be able to show off my first major app soon!
Thomas Worrall |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden