[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Same query doesn't work on jboss-4.0.5.GA

hispeedsurfer do-not-reply at jboss.com
Wed Jan 10 08:11:06 EST 2007


Can someone tell me why a query in my webapp on jboss-4.0.4.GA runs successfully, but on jboss-4.0.5.GA the resultlist is empty.

query= "from org.foo.Measurement where measure.sensor = true and id != 0 order by measure.typ"
  | ...
  | 	private EntityManager em;
  | ...
  |         liste = em.createQuery(query).getResultList();

<component name="em" class="org.jboss.seam.core.ManagedPersistenceContext">
  | 		<property name="persistenceUnitJndiName">
  | 			java:/EntityManagerFactories/boschMmdData
  | 		</property>
  | 	</component>

All libraries on jboss the same, the database too.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999918#3999918

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999918

More information about the jboss-user mailing list