Mostrando entradas con la etiqueta java. Mostrar todas las entradas
Mostrando entradas con la etiqueta java. Mostrar todas las entradas

jueves, 10 de febrero de 2011

Solución: "org.hibernate.hql.ast.querysyntaxexception is not mapped from" en español

Ya entrado en esto del Hibernate, me he dado cuenta que metí completamente la pata al querer realizar una consulta en HQL (Hibernate Query Languaje), como sabrán, si vamos a hacer una consulta equivalente al SQL por ejemplo: 
select * from registro_usuarios;
Su equivalente en HQL es:
from RegistroUsuarios  
OJO por favor, en la consulta HQL escribimos "RegistroUsuarios" en lugar de "registro_usuarios", esto es porque se hace referencia al bean (o bien a la clase RegistroUsuarios.java, para los no natos) que mapea a la tabla "registro_usuarios". Si comenten el error de escribir la consulta HQL de la manera:

from registro_usuarios

entonces obtendrán la espantosa excepción:
org.hibernate.hql.ast.querysyntaxexception registro_usuarios is not mapped from Registro_Usuarios

Bueno espero que les haya sido de ayuda, saludos... 

viernes, 30 de julio de 2010

Programming, Development Skills in Demand

For those whose refuse the idea that Java is being demanded.

Java/J2EE is the programming and developing skill in most demand with more than 14,000 open job positions nationally, according to a July report from IT job board Dice. The survey of recruiters and human resource professionals also found very high demand for C#, .Net, Oracle, Sharepoint, and SAP skills, as well as security analysts, people with federal security clearances, and database administrators. New York leads the way with more than 8,200 openings, followed by Washington, D.C., with 7,400, Silicon Valley with 4,400, and Chicago and Los Angeles with more than 2,800 each. Atlanta, Seattle, and Dallas have more than 2,000 IT job openings each, and Philadelphia has more than 1,600 openings. Meanwhile, Pace University analyzed government figures for its latest quarterly Pace/Skillproof IT Index, and found the indicator of employment activity in Manhattan's information technology (IT) industry has risen 46 percent, from 74 to 110. The index report also notes that job openings for IT management and network communication analysts have risen by more than 60 percent. Meanwhile, demand for database administrators and network administrators has increased about 15 percent in the second quarter.


Source here.