-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: doubt with hibernate query langauage
PostPosted: Fri Feb 18, 2005 9:29 am 
Newbie

Joined: Fri Feb 18, 2005 9:23 am
Posts: 10
see i am using the following query with jbpm

select involog from org.jbpm.model.log.impl.ExecutionLogImpl exelog , org.jbpm.model.log.impl.InvocationLogImpl involog where exelog.invocationLog=involog.id and involog.serviceMethod='endOfState' and involog.actorId=:user

and it is working fine ...

but when using

jbpmquery=new JbpmQuery( "select involog.actorId,involog.id from org.jbpm.model.log.impl.ExecutionLogImpl exelog , org.jbpm.model.log.impl.InvocationLogImpl involog where exelog.invocationLog=involog.id and involog.serviceMethod='endOfState' and involog.actorId=:user ");

i doenot receive corrcet results

when i printed the list retrieved it gives ..

16:07:57,187 INFO [STDOUT] [Ljava.lang.Object;@107e4bc
16:07:57,187 INFO [STDOUT] [Ljava.lang.Object;@139f953
16:07:57,203 INFO [STDOUT] [Ljava.lang.Object;@11fb8c6
16:07:57,203 INFO [STDOUT] [Ljava.lang.Object;@19bd1ca


can any one help ..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 10:48 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Returning a List of arrays of Objects. Each element of the array has the result in order of your query.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.