can't use different connections inside a transaction
at railo.runtime.db.DatasourceManagerImpl.getConnection(DatasourceManagerImpl.java:66):66
at railo.runtime.tag.Query.executeDatasoure(Query.java:616):616
at railo.runtime.tag.Query.doEndTag(Query.java:474):474
at org.railo.cfml.base_cfc$cf._1(D:\git-repos\project\webroot\WEB-INF\railo\components\org\railo\cfml\Base.cfc:148):148
at org.railo.cfml.base_cfc$cf.udfCall(D:\git-repos\project\webroot\WEB-INF\railo\components\org\railo\cfml\Base.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215
at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434
at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1443):1443
at org.railo.cfml.query_cfc$cf.udfCall(D:\git-repos\project\webroot\WEB-INF\railo\components\org\railo\cfml\Query.cfc:35):35
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215
at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434
at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384
at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615
at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:733):733
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1443):1443
at web_inf180.app.model.entity.abstractentity_cfc$cf._2(D:\git-repos\project\webroot\WEB-INF\app\model\entity\AbstractEntity.cfc:123):123
at web_inf180.app.model.entity.abstractentity_cfc$cf.udfCall(D:\git-repos\project\webroot\WEB-INF\app\model\entity\AbstractEntity.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215
at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434
at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384
at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615
at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815
at railo.runtime.orm.hibernate.event.EventListener.invoke(EventListener.java:94):94
at railo.runtime.orm.hibernate.event.InterceptorImpl.on(InterceptorImpl.java:67):67
at railo.runtime.orm.hibernate.event.InterceptorImpl.onSave(InterceptorImpl.java:46):46
at org.hibernate.event.def.AbstractSaveEventListener.substituteValuesIfNecessary(AbstractSaveEventListener.java:414):414
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:293):293
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204):204
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:144):144
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210):210
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195):195
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:117):117
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93):93
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:677):677
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:669):669
at railo.runtime.orm.hibernate.HibernateORMSession.save(HibernateORMSession.java:165):165
at railo.runtime.functions.orm.EntitySave.call(EntitySave.java:16):16
at railo.runtime.functions.orm.EntitySave.call(EntitySave.java:11):11
at tests.scratch._5_cfm$cf.call(D:\git-repos\project\webroot\tests\scratch\5.cfm:4):4
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:761):761
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:179):179
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:23):23
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1998):1998
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1965):1965
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:297):297
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224):224
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539):539
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298):298
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886):886
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908):908
at java.lang.Thread.run(Thread.java:662):662