Package cn.org.zeronote.orm.extractor

Examples of cn.org.zeronote.orm.extractor.IdentityFinder


        SelectKey selectKey = SqlRepairer.getSelectKey(dbType);
        if (selectKey != null) {
          List<Object> objs = sqlPojosMapping.get(sql);
          if (objs != null && !objs.isEmpty()) {
            // 自增主键配置
            IdentityFinder identityFinder = new IdentityFinder(conn, selectKey);
            try {
              identityFinder.find(objs.toArray());
            } catch (IllegalArgumentException e) {
              logger.error("find identity!", e);
              throw new DataAccessException("find identity error!", e);
            } catch (IllegalAccessException e) {
              logger.error("find identity!", e);
View Full Code Here


        SelectKey selectKey = SqlRepairer.getSelectKey(dbType);
        if (selectKey != null) {
          List<Object> objs = sqlPojosMapping.get(sql);
          if (objs != null && !objs.isEmpty()) {
            // 自增主键配置
            IdentityFinder identityFinder = new IdentityFinder(conn, selectKey);
            try {
              identityFinder.find(objs.toArray());
            } catch (IllegalArgumentException e) {
              logger.error("find identity!", e);
              throw new DataAccessException("find identity error!", e);
            } catch (IllegalAccessException e) {
              logger.error("find identity!", e);
View Full Code Here

TOP

Related Classes of cn.org.zeronote.orm.extractor.IdentityFinder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.