Search Results

There are 4 item(s) tagged with the keyword "orm".

  • Displaying: 1 - 4 of 4
1. CF9 ORM and Apache’s mod_rewrite

Here’s another problem I’ve run into with ColdFusion’s ORM (there seem to be a few of these recently…).

I’ve only just started running a CF dev environment under Apache on my Mac – I was previously running IIS under VMWare. The problem comes when using Apache’s mod_rewrite for URL rewriting.

Read More
Tags: ColdFusion, ORM, mod_rewrite, ISAPI_rewrite
2. CF9 ORM relationships – hasProperty oddity

In my CF9 ORM application, I have a magazine object. Each magazine has a single genre (e.g. Craft, Sports, etc.) – so I have a many-to-one relationship set up on the magazine.cfc. It all works nicely, until I want to try removing the genre from the magazine.

If I create a new magazine entity, the genre property contains an empty string (confirmed by dumping the object). And the hasGenre() method returns false.

Read More
Tags: ColdFusion, ORM
3. Validate new passwords with ORM and ValidateThis

My new project is using CF9’s ORM, FW/1 and ValidateThis, all for the first time – so naturally I’m having to work a few things out. There will probably be a few posts like this one over the next few weeks…

I have a user edit page, on which you can edit your personal details and change your password. It’s set up something like this...

Read More
Tags: ColdFusion, ORM, ValidateThis
4. ORM gotcha: Hibernate reserved words

Typically, the very first time I tried to use CF9’s ORM, I ran into a bizarre problem which had me scratching my head for hours…

The setup was this: a table in my SQL database called “member”. A member.cfc object with the following code...

Read More
Tags: ColdFusion, ORM
  • Displaying: 1 - 4 of 4

Didn't find what you were looking for? Refine your search and try again.

Search: