Interesting. So, apparently users don't delete concepts, like, ever. :-)
On Aug 19, 2011 6:45 PM, "Wyclif Luyima" <[email protected]> wrote:
> Ah! That is the bug,seems like it is in most of the OpenMRS versions, so
> purgeConcept and deleteConceptWord are both faulty.
>
> Wyclif
>
> On Fri, Aug 19, 2011 at 10:42 AM, Ben Wolfe <[email protected]> wrote:
>
>> Is that supposed to be ConceptId instead of concept_id ?
>>
>> Which openmrs version are you using?
>>
>> Ben
>>
>>
>> On Fri, Aug 19, 2011 at 5:20 PM, Tammy Dugan <[email protected]> wrote:
>>
>>> I also can't get update concept words to work either.
>>>
>>> Tammy
>>>
>>>
>>> On 8/19/2011 9:36 AM, Tammy Dugan wrote:
>>>
>>> When I try to create a new concept through the webapp, I get the
following
>>> error:
>>>
>>> *java.lang.NullPointerException*
>>>
>>>
>>>
org.hibernate.impl.SessionFactoryImpl.getImplementors(SessionFactoryImpl.java:709)
>>> org.hibernate.hql.QuerySplitter.concreteQueries(QuerySplitter.java:100)
>>> org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:68)
>>> org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
>>>
>>>
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
>>>
>>>
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
>>>
>>>
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
>>> org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
>>> *
>>>
org.openmrs.api.db.hibernate.HibernateConceptDAO.deleteConceptWord(HibernateConceptDAO.java:817)
>>> *
>>> *
>>>
org.openmrs.api.db.hibernate.HibernateConceptDAO.updateConceptWord(HibernateConceptDAO.java:777)
>>> *
>>> *
>>>
org.openmrs.api.impl.ConceptServiceImpl.updateConceptWord(ConceptServiceImpl.java:1176)
>>> *
>>>
>>>
>>> It happens when I try to run this part of line 817:
>>>
>>> sessionFactory.getCurrentSession().createQuery("delete from ConceptWord
>>> where concept_id = :c")
>>>
>>> This statement works just fine:
>>>
>>> sessionFactory.getCurrentSession()
>>>
>>>
>>> Tammy Dugan
>>>
>>> --
>>> Tammy Dugan
>>> CHIRDL Technical Lead
>>> Children's Health Services Research
>>> IU School of Medicine
>>>
>>> ------------------------------
>>> Click here to unsubscribe<
[email protected]?body=SIGNOFF%20openmrs-devel-l>from OpenMRS
Developers' mailing list
>>>
>>>
>>> --
>>> Tammy Dugan
>>> CHIRDL Technical Lead
>>> Children's Health Services Research
>>> IU School of Medicine
>>>
>>> ------------------------------
>>> Click here to unsubscribe<
[email protected]?body=SIGNOFF%20openmrs-devel-l>from OpenMRS
Developers' mailing list
>>>
>>
>> ------------------------------
>> Click here to unsubscribe<
[email protected]?body=SIGNOFF%20openmrs-devel-l>from OpenMRS
Developers' mailing list
>>
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-devel-l" in the body (not
the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to