ColdFusion 9 ORM and having an entity extend another to persist

I spent the day trying to get my head around mapping and older Application to the new ORM in ColdFusion 9, to only be very disillusioned again with CF-ORM.

I really hope that this problem will be addressed at some stage, as it would be very beneficial to some applications out there.

Now don't get me wrong with this, as first you can extend another component and use methods in that component. But what you can't do natively is have the properties of the extended component persist into the table.

ColdFusion 9 ORM and ORMSetting dbcreate dropcreate problems

While developing on a development server I would have my ORMSetting dbcreate='dropcreate' and on my testing/staging/production server it would be set to update.

However the last hour i have come to the conclusion that the setting dropcreate is nothing but buggy as hell.

ColdFusion 9 ORM and a serious bug with validateparams

I have actually come across this problem once before, however it was under different circumstances.

Adobe should be making ColdFusion 9 ORM easier

It is no secret that I don't like the current implementation, and it's not because it is hard to learn. But Adobe have made our work harder than they really could have.

ColdFusion 9 ORM and mapping an older database

After having a bit of a debate on a mailing list over the last few days, I thought I would blog a bit more about this problem. But lets get this right first, it isn't a problem so to speak but it could be if you are not aware or are just learning the new ColdFusion 9 ORM.

I am going to place myself into the shoes off someone who might be learning database design, and ColdFusion 9 ORM at the same time.

ColdFusion 9 ORM, findBy, searchBy, countBy and more…

When ColdFusion 9 was in its very early stages I raised an Enhancment Request where we could use these as part of the persistent Entity or as it should be know Domain Class.

Adobe in their wisdom chose to ignore this E/R, because they thought the users would not be up to understanding it.

In the last few days there has been a few blogs by Dan Vega on his interpretation of how it needs to be implemented. And Dan nothing against your attempt, you should be doing it at the persistent / domain class layer and not the service layer.

ColdFusion 9 Proof of concept for Dump() of Entities

After having a discussion about why cfdump() uses getters to grab its data, I was curious that Adobe could have checked to see if the lazy is true on a property and if so not fetch it.

Another ColdFusion 9 ORM bug, Adobe says no

While playing around with ColdFusion 9 and the ORM features I suddenly changed my mind, on the property definition for the ORM and got some very unexpected behaviour.

The Adobe Software Engineer claims that this works for him, and I am at a loss to explain to him that this is still a bug.

ColdFusion 9 ORM and changing the name of a table problem

This is not a real problem in the sense that it shouldn't happen, but it is a problem if you are not aware what is actually happening here.

More ColdFusion 9 and working with Legacy Databases Part II

As with my previous blog, there are some more things that we as a developer need to be very weary off. One of these is the relationship between tables where one table can have a many relationship with another.

Using ColdFusion ORM with Legacy Databases

One of the best things an ORM can introduce for us ColdFusion developers is the ability to, create mappings or persistent components for our legacy databases. Now don't get confused here, legacy is a term that is used for databases that were not created with an ORM.

However in ColdFusion their is a major trap that one needs to be very careful about, and although it shows another problem that ColdFusion has never addressed. This is something that we as developers need to be aware of when we begin migrating over to using the new ORM type features of ColdFusion

ColdFusion ORM is far to complicated than it has to be Part II.

It seems that nobody has fully understood what I was trying to say in the previous post, and I thought I would explain it in a more step by step process.

Boot Strapping your ColdFusion 9 ORM Application

ColdFusion 9 has given us something wonderful when it comes to the database, however maintaining the code to be able to just move it to another server and database isn't extremely easy when it comes to data.

ColdFusion 9 ORM and reusing code

One of things that I love about the new features of ColdFusion 9, is of course the ORM and it will be no secret how much I love this feature.

more ColdFusion 9 and ORM goodness

In my last post I gave you a very quick introduction on how to get started with ORM in ColdFusion 9, in this post I am going to give you a look at some of its power that will make you think twice about using cfquery again.

ColdFusion 9 and ORM

Well as well all know by know that the news is ColdFusion 9 has stepped out into the wild, and that means we can all begin to have a play with some of the new features. And there is a lot that has been packaged into this release, and one of the biggest anticipated integrations into ColdFusion has to be Hibernate.

More Entries