All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.db.SQLAndroidSQLiteHelper Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.0
Show newest version
package com.genexus.db;

import java.lang.reflect.Method;


public class SQLAndroidSQLiteHelper 
{
	   private static String clazzFullName = "com.artech.layers.LocalUtils";
	   
	   public static void beginTransaction()
	    {
	        try {
	            Class clazz = Class.forName(clazzFullName);
	            Method method = clazz.getMethod("beginTransaction");
	            
	            method.invoke(null);
	            
	        } catch ( Exception e) {
	            // TODO Auto-generated catch block
	            e.printStackTrace();
	        } 
	    }
	    
	    public static void endTransaction()
	    {
	        try {
	            Class clazz = Class.forName(clazzFullName);
	            Method method = clazz.getMethod("endTransaction");
	            
	            method.invoke(null);
	            
	        } catch ( Exception e) {
	            // TODO Auto-generated catch block
	            e.printStackTrace();
	        } 
	        
	    }
	    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy