Hey everyone I'm pretty new to CB and I've been reading through the documentation and group questions and for the life of me I can't figure out how to get this to work. I have a entity that I would like to use on this new project I'm working on but it keeps inheriting whatever data source is set in the application even when I tell it to use another.
Entity code:
Component accessor=true, persistent=true table="user" entityname="user" extends="model.BaseActiveEntity"{ ... }
Virtual entity:
Component singleton=true accessory=true extends="coldbox.system.orm.hibernate.VirtualEntityService"{
Public currentUsers function init(){
Super.init(arguments=arguments, entityName="user", datasource="ds2");
Return this;
}
}
Even though I'm telling it to use DS2 it's still inheriting DS1 from the application and passing back that data instead, any help would be appreciated
Thanks!
-Colin