Yes you can define correlation properties and even use correlationSets.
Cheers
Vishal


2010/6/17 Agustín Gañán <[email protected]>

> Hi again,
>
> Only posting for confirm that the filtering works with the Hibernate DAO.
>
> Thanks for your patience Rafal,
>
> Agus
>
> El día 16 de junio de 2010 18:26, Agustín Gañán <[email protected]>
> escribió:
> > Hi again,
> >
> > As I supposed, it was a config error.
> > if helping others, here are the ode-jbi properties:
> >
> > ode-jbi.db.mode=INTERNAL
> > ode-jbi.db.int.jdbcurl=jdbc:oracle:thin:@localhost:1521:xe
> > ode-jbi.db.int.driver=oracle.jdbc.driver.OracleDriver
> > ode-jbi.db.int.username=ode
> > ode-jbi.db.int.password=ode
> >
> ode-jbi.dao.factory=org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
> >
> > El día 16 de junio de 2010 17:41, Agustín Gañán <[email protected]>
> escribió:
> >> Hi,
> >>
> >> Sure I'm missing some config parameter/property but when I try to
> >> install the ode-hib-oracle feature I get this error[1].
> >> My config is based in [2].
> >>
> >> any idea?
> >>
> >> regards
> >>
> >>
> >> [1]
> >>
> >> 17:38:04,517 | INFO  | xtenderThread-62 | Database
> >>    | rg.apache.ode.il.dbutil.Database  171 | ODE using internal
> >> database "jdbc:derby://localhost/ode" with driver
> >> org.apache.derby.jdbc.ClientDriver.
> >> 17:38:04,626 | INFO  | xtenderThread-62 | Database
> >>    | rg.apache.ode.il.dbutil.Database  278 | Using DAO Connection
> >> Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
> >> 17:38:04,629 | FATAL | xtenderThread-62 | OdeLifeCycle
> >>    | org.apache.ode.jbi.OdeLifeCycle   151 |
> >> java.lang.NoClassDefFoundError: org/apache/openjpa/ee/ManagedRuntime
> >>        at java.lang.ClassLoader.defineClass1(Native Method)
> >>        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> >>        at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872)
> >>        at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758)
> >>        at
> org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
> >>        at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
> >>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> >>        at
> org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init(BPELDAOConnectionFactoryImpl.java:99)
> >>        at
> org.apache.ode.il.dbutil.Database.createDaoCF(Database.java:291)
> >>        at org.apache.ode.jbi.OdeLifeCycle.initDao(OdeLifeCycle.java:269)
> >>
> >> [2] https://issues.apache.org/jira/browse/ODE-777
> >>
> >> 2010/6/16 Rafal Rusin <[email protected]>
> >>>
> >>> AFAIK, some filter queries for instances are not implemented in JPA
> >>> Dao, which is enabled by default.
> >>> You can try to switch to hibernate and compare results (something like
> >>> ode-hib-oracle karaf feature).
> >>>
> >>> 2010/6/16 Agustín Gañán <[email protected]>:
> >>> > Hi,
> >>> >
> >>> > I have deployed de ODE Managemen API to get information about the
> >>> > processes/instances.
> >>> > I can invoke succesfully the listAllInstances operation but now I'm
> trying
> >>> > to filter the results using the listInstances and I'm getting the
> same
> >>> > result as in the listAllInstances operation.
> >>> >
> >>> > Is this operation fully implemented?
> >>> >
> >>> > My need is to query if there is any active instance with a
> correlation
> >>> > property. Can I do this whit the management API?
> >>> >
> >>> > My environment:
> >>> >
> >>> > ODE 1.3.4 (osgi version) deployed on SMX 4.2
> >>> >
> >>> > Thanks
> >>> >
> >>> > Agus
> >>> >
> >>>
> >>> --
> >>> Regards,
> >>> Rafał Rusin
> >>> http://rrusin.blogspot.com
> >>
> >
>



-- 
Vishal Saxena
Vice President Engineering
Intalio Inc
http://vishals.blogspot.com

Reply via email to