Author: heiko.braun(a)jboss.com
Date: 2009-10-12 06:01:51 -0400 (Mon, 12 Oct 2009)
New Revision: 167
Modified:
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionImpl.java
Log:
fix compile errors
Modified:
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionImpl.java
===================================================================
---
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionImpl.java 2009-10-12
09:47:24 UTC (rev 166)
+++
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionImpl.java 2009-10-12
10:01:51 UTC (rev 167)
@@ -97,8 +97,8 @@
}
public MessageExchangeDAO getMessageExchange(String mexid) {
- org.hibernate.Query query = _session.createQuery("from HMessageExchange x
where x.mexId = ?");
- query.setString(0, mexId);
+ org.hibernate.Query query = getSession().createQuery("from HMessageExchange x
where x.mexId = ?");
+ query.setString(0, mexid);
HMessageExchange mex = (HMessageExchange) query.uniqueResult();
return mex == null ? null : new MessageExchangeDaoImpl(_sm, mex);
}
Show replies by date