First,
Luis, thanks for answering a late night tweet!
Hey everyone,
I’m trying to get going on using ORM with ColdBox. The last time I did some development with CB we were still using CRUD with illudium. I see now that ORM can save me some time with coding as well with a number of other benefits.
Info:
Development server:
OS: Windows XP
WAMP server (Apache 2.2.22 - Mysql 5.5.24 - PHP 5.3.13)
CF 9.0
CFBuilder 2
ColdBox 3.5.1
I began by watching the video here: http://blog.coldbox.org/blog/wirebox-orm-entity-injection-howto and followed it word for word. I even created the same data structure that was used in the example.
Once I tried to run the user example: /EntitySample/index.cfm/users I received this error:
Application Execution ExceptionError Type: Template : [N/A]
Error Messages: Invalid CFML construct found on line 1072 at column 25.
ColdFusion was looking at the following text:
for
The CFML compiler was processing:
- A script statement beginning with for on line 1072, column 25.
- A script statement beginning with { on line 1070, column 53.
- A script statement beginning with if on line 1070, column 17.
- A script statement beginning with public on line 1041, column 9.
ID: ?? LINE: 1072 Template: C:\wamp\www\coldbox\system\orm\hibernate\BaseORMService.cfc
I can provide a full stack if needed.
While I’m asking, are there any other tutorials that would help me get started with ORM?
Thanks,