Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3485

.Net: SqlFieldsQuery doesn't work if App.config is used for statup and type configuration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Bug
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: platforms
    • Labels:
      None

      Description

      If to specify a type in App.config this

      <typeConfigurations>
                <binaryTypeConfiguration typeName='OrderEntityDataIgnite.OrderEntity'/>
              </typeConfigurations>
      

      or that way

      <types>
             <string>OrderEntityDataIgnite.OrderEntity</string> 
      </types>
      

      and set the query entity for the given type

          <cacheConfiguration>
            <cacheConfiguration name="OrderCache" cacheMode="Replicated">
              <queryEntities>
                <queryEntity keyTypeName="System.Int32" valueTypeName="OrderEntityDataIgnite.OrderEntity">
                </queryEntity>
              </queryEntities>
            </cacheConfiguration>
          </cacheConfiguration>
      

      Then SqlFields query won't work.

      To reproduce use attached sample project:

      • uncomment the following gin Program.cs
        //QueryList.Add("select OrderId, OrderName, OrderValue, OrderAddress from OrderEntity");
        
      • start Program.cs

        Attachments

        1. OrderEntityDataIgnite.zip
          9 kB
          Denis Magda

          Issue Links

            Activity

              People

              • Assignee:
                ptupitsyn Pavel Tupitsyn
                Reporter:
                dmagda Denis Magda
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: