Skip to content

NH-3541 - Future queries of Criteria API/QueryOver are batched separately from other query methods #752

Closed
@nhibernate-bot

Description

@nhibernate-bot

Massimiliano Alberti created an issue — 28th September 2013, 8:09:10:

I was interested in batching together (through the use of .Future<>()) a CreateSQLCriteria (so a native SQL query) with a QueryOver query, but I've discovered that the two are batched separately (so two distinct commands are sent to the SQL). I've done some tests and it seems there are two queues:

  • HQL, Native SQL, LINQ queue
  • Criteria API/QueryOver queue

I've built an nunit to show it (I have done all the 10 possible X-Y tests, I trust that the X-X tests (HQL+HQL) will work, but I've only tested .Future(), not .FutureValue(), and without parameters in the query)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions