Multiple datasources in ORM issue
Hello,
I've installed Coldfusion 9.0.1 yesterday, but I'm having trouble to configure multiple datasources in Coldfusion ORM. For some reason, when I try to use more than one data source, Coldfusion says that my CFC is not mapped. However, if I switch back to one data source, everything works fine. Here's my CFC (PeopleEntity.cfc):
<cfcomponent persistent="true" datasource="action" table="people">
<cfproperty name="id" type="numeric">
<cfproperty name="name" type="string">
<cfproperty name="birthdate" type="timestamp">
<cfproperty name="address" type="string">
<cfproperty name="phone" type="string">
</cfcomponent>
Here's the query that throws the error:
ormExecuteQuery("select count(*) from PeopleEntity")
And here's the error:
org.hibernate.hql.ast.QuerySyntaxException: ActionEntity is not mapped [select count(*) from PeopleEntity]
What could it be?
