martes, 27 de enero de 2009

Problema al crear un query con inheritance en ejbql

si tenemos herencia en nuestro modelo de datos y en la consulta EJBQL queremos tomar solo los objetos que se corresponden con uno de los "hijos" accedemos al atributo class y le pasamos la clase sin comillas y directamente en el query,
un ejemplo de cuando funciona y cuando no en ...
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1836

miércoles, 7 de enero de 2009

Seam JBoss 4.2.3 Problem



En definitiva: borrar la linea que se ve en la imagen dentro del modulo ejb




http://seamframework.org/Community/ProblemWithJboss423

I have the same issue using JBoss Tools. I have solved this by editing the MANIFEST.MF file in the ejb sub-project. Remove the reference to jboss-seam.jar. Then add this back to your build path manually. Now redeploy and you should be good to go.

On my machine I have this issue with both 1.5 and 1.6 JDKs, but I'll admit that I have a lot of various tools and its possible that somehow the project generation tools are still finding a 1.6 JDK, but I don't think so. I've tried everything I can think of, but I in the end this is a serious shortcoming of the jboss tools that they do not yet support 1.6. Not sure what they are waiting for with 1.5 going end of life next summer. They have support slated for Tools 3.0, but looking at the Jira for that project is not encouraging.

beren

beren