sábado, 2 de abril de 2011

Hibernate and JDBC

One of the objectives of Hibernate and other ORM tools is to abstract the persistence of an object. Hibernate works hard to provide as much flexibility as JDBC offers while at the same time removing much of the maintenance headaches that are associated with managing SQL statements embedded into an application.

There are some additional considerations and complexity that must be tackled, but this quickly becomes a non-issue as a developer becomes adept with the framework. The complexities that were ones a problem with JDBC (connection management, connection pooling, caching, lazy-loading associations, etc.) become configuration driven and no longer an issue for a developer to contend with.

With HQL (Hibernate Query Language) the developer can achieve nearly all of the same semantics that are available in SQL. All the power of the relational database is still present and can even be reinforced in the application through column definition, foreign keys, etc. on the object meta-data (which is amazingly simple with annotations).

If you additionally leverage Spring in conjunction with Hibernate (or JPA) you will also reap the benefit of springs transaction management, connection management, etc. and still have access to the underlying JDBC connection if you find a reason to need it.

A veces es mejor usar JDBC directamente en una query compleja, Hibernate nos soluciona el mapeo de nuestros objetos, pero en caso de querys de recuperacion de datos particulares, que por ahi no estan mapeados a objetos, o incluso objetos pero tales que el mapping no nos ayuda a obtener lo que queremos (caso JBPM_VARIABLEINSTANCE, Hibernate 3.5) conviene obtener el dato con JDBC, no perdamos de vista que Hibernate USA Jdbc


http://forum.springsource.org/archive/index.php/t-10359.html



MVN install file

cuando no funciona nuestro repositorio, por A o po B, maven y eclipse no logran recuperar
en esos casos lo mejor creo es borrar la carpeta del repo local y volver a instalar como



mvn install:install-file -Dfile=C:\Mario\1.0.1-SNAPSHOT\javadbf-1.0.1-SNAPSHOT.jar -DgroupId=com.latintech -DartifactId=javadbf -Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -DlocalRepositoryPath=C:\Mario\.m2\repository

lunes, 28 de marzo de 2011

comex ideas

http://www.theanswerbank.co.uk/How-it-Works/article/what-is-swift-payment/
http://www.itau.com.py/empresas/comercio_exterior.php
http://www.e-galicia.com/portal/site/eGalicia/menuitem.923bf72e87dfb5aa1aad5341222011ca

lunes, 7 de marzo de 2011

http://en.wikipedia.org/wiki/Software_as_a_service

http://en.wikipedia.org/wiki/Freemium

http://blogs.amrresearch.com/enterprisesoftware/2009/01/inside-a-startup-who-needs-an-it-department-not-zuora.html

http://peripateticaxiom.blogspot.com/2010/01/its-screaming.html

viernes, 4 de marzo de 2011

http://h10010.www1.hp.com/wwpc/es/es/ho/WF06b/15179-15179-64195-3445112-3445112-3723463-3723468.html


http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA2-0285ESE.pdf


http://www.abbyy.com/support/

http://www.sediex.com/contactenos.php