예제 #1
0
	def __init__(self, stub, logger):
		"""Generic PL/SQL method
		"""
		PL_SQL_Block.__init__(self, stub, logger)

		self._name=self._stub['method_name']
		self._method_block=None
		if self._stub.has_key('method_block'):
			self._method_block=self._stub['method_block']
		self._type='PROCEDURE'
		confirm (self._type == self._stub['method_type'], 'It''s not a procedure.')
		self._params={}	
		self._block_obj={} #block
예제 #2
0
파일: pl_sql.py 프로젝트: alexbuz/TabZilla
	def __init__(self,  *args, **kwargs):
		"""PL/SQL Outer block
		"""
		PL_SQL_Block.__init__(self, *args, **kwargs)
		self._type='OUTERBLOCK'
		self._src={}