public void saveOrIgnoreByJdbc(Collection<T> entities,boolean updateOrIngore) {
		if (entities == null || entities.size() == 0) {
			return;
		}
		final Collection<T> beanList = entities;
		final boolean update = updateOrIngore;
		Session session = getCurrentSession();
		session.doWork(new Work() {
			public void execute(Connection connection) throws SQLException {
				List<Field> fields = fieldSOfType();
				String sql = createSqlByBean(fields,update);
//				System.out.println("batch sql： "+sql);
				PreparedStatement stmt = connection.prepareStatement(sql,
						ResultSet.TYPE_SCROLL_SENSITIVE,
						ResultSet.CONCUR_READ_ONLY);
				for (T bean : beanList) {
					assignValueForSql(stmt,bean,fields,update);
					stmt.addBatch();
				}
				stmt.executeBatch();
				/*int[] result = stmt.executeBatch();
				for (int i = 0; i < result.length; i++) {
					System.out.println(result[i]);
				}*/
			}
		});
	}