- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
List<Measure> meaList = q.getResultList();
try
{
if (meaList.size() == 0)
{
throw new Exception("Measure not found: "+_wsPrice.getMeasureIso());
}
else
{
p.setMeasure(meaList.get(0));
}
}
finally
{
meaList.clear();
}
guest 06.04.2010 15:59 # 0
konsoletyper 06.04.2010 17:54 # 0
guest 06.04.2010 22:47 # +1
guest 06.04.2010 23:49 # +2.4
konsoletyper 07.04.2010 13:29 # 0
guest 07.04.2010 13:39 # +1.4
guest 07.04.2010 22:31 # +1.6
guest 11.04.2010 15:57 # +1
guest 11.04.2010 21:26 # 0
вопрос в другом - а надо ли?