Package org.beangle.db.sequence

Examples of org.beangle.db.sequence.TableSequence


            tableLMaxId = queryForLong("select max(id) from  " + tableName);
          } catch (Exception e) {
            logger.warn("cannot find table {} ", tableName);
          }
          if (seqLast_number < tableLMaxId) {
            TableSequence seq = new TableSequence();
            seq.setSeqName(seqName);
            seq.setTableName(tableName);
            seq.setLastNumber(seqLast_number);
            seq.setMaxId(tableLMaxId);
            err_seqs.add(seq);
          }
        }
      } else {
        TableSequence seq = new TableSequence();
        seq.setSeqName(seqName);
        seq.setLastNumber(seqLast_number);
        err_seqs.add(seq);
      }
    }
    return err_seqs;
  }
View Full Code Here

TOP

Related Classes of org.beangle.db.sequence.TableSequence

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.