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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Bug
    • 1.6
    • 1.7
    • platforms
    • 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 A. Magda

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              dmagda Denis A. Magda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: