lunes, 7 de diciembre de 2015

Group concat en oracle 11g como el de MYSQL

Group concat en oracle 11g como el de MYSQL
SELECT 
    col1,
    LISTAGG(col2, ', ') WITHIN GROUP (ORDER BY col2) "names"
FROM table_x
GROUP BY col1

Thymeleaft envio de listas de objetos al server

El isuiente link me ayudo bastante, sin embargo con los select no funciona.

http://nixmash.com/java/object-child-lists-in-thymeleaf-forms-and-spring-mvc/

jueves, 16 de julio de 2015

Verificar que elemento en un CheckBoxList dispara un evento

 protected void chkEtapaLegal_SelectedIndexChanged(object sender, EventArgs e)
        {
            CheckBoxList list = (CheckBoxList)sender;
            string[] control = Request.Form.Get("__EVENTTARGET").Split('$');
            int idx = control.Length - 1;
            string sel = list.Items[Int32.Parse(control[idx])].Value;   
          
        }

viernes, 13 de marzo de 2015

ETL en java

http://www.journaldev.com/2494/jdbc-batch-processing-example-tutorial-with-insert-statements
De media hora usando PreparedStatement Batch y el rewriteBatchedStatements as TRUE el tiempo de inserción de SQL SERVER 2008 R2 a MYSQL 5.x, de media hora q se tardaba aquí y en con los Integration Services, se redujo a tan solo 15 segundos.

viernes, 27 de febrero de 2015

Link a tuto para crear webfonts

http://www.webdesignerdepot.com/2013/04/how-to-turn-your-icons-into-a-web-font/

Link a blog de bussiness intelligence

Ultimamente he medio trbajado con algunas cosas de cubos y encontre este blog bastante bueno http://www.businessintelligence.info/serie-dwh/dimensiones-business-intelligence.html espero les sirva

viernes, 6 de febrero de 2015

MaxNameTableCharCount problema WCF y visual studio 2008

Agregue estas lineas en el archivo devenv.exe.config en C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE antes de cerrar la etiqueta configuration
 <system.serviceModel>
  <client>
   <endpoint name="net.tcp" binding="netTcpBinding" bindingConfiguration="bc" contract="IMetadataExchange" />
  </client>
  <bindings>
   <netTcpBinding>
    <binding name="bc" maxReceivedMessageSize="512000">
     <readerQuotas maxNameTableCharCount="163840" />
     <security mode="None"/>
    </binding>
   </netTcpBinding>
  </bindings>
 </system.serviceModel>