I have a function in SQL Server that has a SMALLINT parameter.
The SQL Looks Like this:
TKLogout 134273, 1, 0, '', -1
This is the line of code that freezes:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
This is the first line of the SQL Stored Procedure SQL:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
My Android program Hangs completely and forever on the CreateCallStatement line. If I change the -1 to a 1 or a 0 it works fine. Which actually works for me, the -1 resulted from a boolean whcih should have been converted to a 1 anyway, but I wanted to report the issue.
It did NOT happen on the ExecCall line. An error message would be OK but it completely freezes the program.
If you think this is a jdbc driver issue let me know and I will report it to the proper authorities.
Thanks
			
			The SQL Looks Like this:
TKLogout 134273, 1, 0, '', -1
This is the line of code that freezes:
			
				B4X:
			
		
		
		Dim S As Object = sql1.CreateCallStatement(SQLStr, Null)  'FAILED (ACTUALLY IT HUNG FOREVER) with a negative number
			
				B4X:
			
		
		
		CREATE PROCEDURE [dbo].[TKLogout] @TKID AS INT, @QtyComplete AS INT, @Tk_DefectiveQty AS INT, @DefectNote AS NVARCHAR(MAX), @OpComplete as SMALLINTMy Android program Hangs completely and forever on the CreateCallStatement line. If I change the -1 to a 1 or a 0 it works fine. Which actually works for me, the -1 resulted from a boolean whcih should have been converted to a 1 anyway, but I wanted to report the issue.
It did NOT happen on the ExecCall line. An error message would be OK but it completely freezes the program.
If you think this is a jdbc driver issue let me know and I will report it to the proper authorities.
Thanks
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		