1. Create hibernate query seamframework.org |
2. hibernate-entity-query seamframework.org |
3. Hibernate query at startup seamframework.orgjava.lang.IllegalStateException: No active session context at org.jboss.seam.security.Identity.instance(Identity.java:115) at org.jboss.seam.security.EntityPermissionChecker.checkEntityPermission(EntityPermissionChecker.java:78) at org.jboss.seam.security.EntityPermissionChecker.checkEntityPermission(EntityPermissionChecker.java:63) at org.jboss.seam.security.HibernateSecurityInterceptor.onLoad(HibernateSecurityInterceptor.java:36) at org.hibernate.event.def.DefaultPreLoadEventListener.onPreLoad(DefaultPreLoadEventListener.java:18) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:125) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854) at org.hibernate.loader.Loader.doQuery(Loader.java:729) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.doList(Loader.java:2220) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) at org.hibernate.loader.Loader.list(Loader.java:2099) at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569) at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283) at br.com.loteriaweb.servicos.utilitarios.ParametrosSistema.construir(ParametrosSistema.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at ... |
4. Hibernate Search and Seam - Empty query result seamframework.org |
5. JPA, simplified access to named queries seamframework.org |
6. Partial Submit + hibernate query called multiple time seamframework.orgEvery EL expression (well, almost every EL expression) you have on a xhtml page can be resolved n+1 times. The value of n depends on a whole bunch of factors. But, the real issue here is that it is very rare that an EL expression will only get resolved once in page lifecycle (Restore model through to render response). In fact ... |
7. Hibernate Search and Seam - Empty query result forum.hibernate.orgHello all, I'm using Hibernate Search 3.1.1GA and Jboss Seam 2.2.0GA with lucence 2.4.1. If I run a query inside a main method, all works fine. But, when I run a query inside a Seam Component, the result is always empty. With Luke, all the index is ok, and performs the query correctly. Any suggestion? Thanks. |