﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33737	DB queries with using() not consistent/correct	Stephen Brown	nobody	"I've got a case where I carefully operate on a database with the ORM creating objects (using ""objects.using"", and in transactions with ""using="" consistently set for the decorator arg) - and then querying them in the same session. When I connect with ""using"" set to non default - the query operations on the created objects do not return any results. It works fine when ""using"" is set to 'default'. The other database, to confirm it wasn't a database configuration issue, I set it so that the config for ""default"" pointed to that database, and again it worked fine.

I also removed transactions, to simplify any complexity, and it was still an issue.

I tested this is also an issue with 4.0.4, though I was using 3.2.13 initially.

"	Bug	closed	Database layer (models, ORM)	3.2	Normal	needsinfo	using		Unreviewed	0	0	0	0	0	0
