  /** 
    *
    * <!-- begin-xdoclet-definition --> 
    * @ejb.interface-method view-type="remote"
    * <!-- end-xdoclet-definition --> 
    * @generated
    *
    */
    public void accessDatabase() throws EJBException {
        	Map config = new HashMap();

		%invokeline
		
		%impartline
		
		config.put(new Integer(DMSConnection.DMS_FETCH_WITH_LOCK),
		           new Integer(DMSConnection.%fetchlockval));
		
		config.put(new Integer(DMSConnection.DMS_QUEUING),
		           new Integer(DMSConnection.%queueval));  
        
        try {
            acquireDMSDatabaseConnection();
            
            DMSDatabaseManager dbMgr = getDatabaseManager(%dbname, config);
            
            /*
             * Perform other database operations here
             */
            
            dbMgr.close();
        }
        catch (DMSException e) {
            throw new EJBException(e.getMessage(), e);
        } 
        catch (Exception e) {
            throw new EJBException(e.getMessage(), e);            
        }
        finally {
            releaseDMSDatabaseConnection();
        }
    }    	           