Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack
<html><head><title></title></head><body>* Discuss plans for PIH to visit Indy on June 21-22 (if we haven't already)
*: public Integer getNextAvailableId() { *: Session session = HibernateUtil.currentSession(); *: *: String sql = "select min(concept_id+1) as concept_id from concept where (concept_id+1) not in (select concept_id from concept)"; *: *: Query query = session.createSQLQuery(sql); *: *: BigInteger big = (BigInteger)query.uniqueResult(); *: *: return new Integer(big.intValue()); *: }
Moved to Technical Workshop 6-21-6-22-2006 Agenda
</body></html>