Code example for Field

Methods: getModifiers

	 * @param field	the field 
	 * @return	a boolean 
	private static boolean isTransient(final Field field) {
		return Modifier.isTransient(field.getModifiers());
	 * Issues a given native SQL query, returning a list of a given class type instances.  
	 * @param cls	the class type 
	 * @param sql	the complete SQL statement 
	 * @param params	optional parameters 
	 * @return	a list of class type 
	public static <T extends Model> List<T> createSQLQuery(final Class<T> cls, final String sql, final String... params) {
		final List<T> result = new ArrayList<T>();
		final DBOpenHelper helper = Beans.getBean(DBOpenHelper.class);