Women in Technology

Hear us Roar



Article:
  iBatis DAO
Subject:   EXTERNAL transactionmanager - getting properties
Date:   2005-08-26 06:01:48
From:   thomasborgsalling
Is there a way to get access to properties in the dao.xml file, i.e.,


<context id="file">
<transactionManager type="EXTERNAL">
<property name="file" value="myfile.dat"/>
</transactionManager>
<dao interface="ZonePolyDAO"
implementation="FileZonePolyDao"/>
</context>


In FileZonePolyDao how do I read the file property?