Пример #1
0
 public void addMetadata() {
   addMetadata(
       id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
   addMetadata(
       minTokenTimestamp,
       ColumnMetadata.named("MIN_TOKEN_TIMESTAMP")
           .withIndex(5)
           .ofType(Types.TIMESTAMP)
           .withSize(23)
           .withDigits(10));
   addMetadata(
       operatorId,
       ColumnMetadata.named("OPERATOR_ID").withIndex(4).ofType(Types.BIGINT).withSize(19));
   addMetadata(
       password,
       ColumnMetadata.named("PASSWORD").withIndex(6).ofType(Types.VARCHAR).withSize(128));
   addMetadata(
       passwordUpdatedTimestamp,
       ColumnMetadata.named("PASSWORD_UPDATED_TIMESTAMP")
           .withIndex(7)
           .ofType(Types.TIMESTAMP)
           .withSize(23)
           .withDigits(10));
   addMetadata(
       role,
       ColumnMetadata.named("ROLE").withIndex(3).ofType(Types.VARCHAR).withSize(32).notNull());
   addMetadata(
       username,
       ColumnMetadata.named("USERNAME")
           .withIndex(2)
           .ofType(Types.VARCHAR)
           .withSize(255)
           .notNull());
 }
 public void addMetadata() {
   addMetadata(
       attributeName,
       ColumnMetadata.named("ATTRIBUTE_NAME")
           .withIndex(4)
           .ofType(Types.VARCHAR)
           .withSize(2147483647));
   addMetadata(
       attributeValue,
       ColumnMetadata.named("ATTRIBUTE_VALUE")
           .withIndex(5)
           .ofType(Types.VARCHAR)
           .withSize(2147483647));
   addMetadata(
       directoryId, ColumnMetadata.named("DIRECTORY_ID").withIndex(3).ofType(Types.BIGINT));
   addMetadata(id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.BIGINT).notNull());
   addMetadata(
       lowerAttributeValue,
       ColumnMetadata.named("LOWER_ATTRIBUTE_VALUE")
           .withIndex(6)
           .ofType(Types.VARCHAR)
           .withSize(2147483647));
   addMetadata(userId, ColumnMetadata.named("USER_ID").withIndex(2).ofType(Types.BIGINT));
 }
Пример #3
0
 public void addMetadata() {
   addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(-5).withSize(19).notNull());
   addMetadata(timeStamp, ColumnMetadata.named("timeStamp").withIndex(2).ofType(93).withSize(19));
 }
Пример #4
0
 public void addMetadata() {
   addMetadata(
       col, ColumnMetadata.named("COL").withIndex(1).ofType(Types.SQLXML).withSize(2147483647));
 }
Пример #5
0
 public void addMetadata() {
   addMetadata(
       actionbody,
       ColumnMetadata.named("ACTIONBODY").withIndex(7).ofType(Types.VARCHAR).withSize(2147483647));
   addMetadata(
       actionlevel,
       ColumnMetadata.named("ACTIONLEVEL")
           .withIndex(5)
           .ofType(Types.VARCHAR)
           .withSize(2147483647));
   addMetadata(actionnum, ColumnMetadata.named("ACTIONNUM").withIndex(11).ofType(Types.BIGINT));
   addMetadata(
       actiontype,
       ColumnMetadata.named("ACTIONTYPE").withIndex(4).ofType(Types.VARCHAR).withSize(2147483647));
   addMetadata(
       author,
       ColumnMetadata.named("AUTHOR").withIndex(3).ofType(Types.VARCHAR).withSize(2147483647));
   addMetadata(
       created, ColumnMetadata.named("CREATED").withIndex(8).ofType(Types.TIMESTAMP).withSize(6));
   addMetadata(id, ColumnMetadata.named("ID").withIndex(1).ofType(Types.BIGINT).notNull());
   addMetadata(issueid, ColumnMetadata.named("ISSUEID").withIndex(2).ofType(Types.BIGINT));
   addMetadata(rolelevel, ColumnMetadata.named("ROLELEVEL").withIndex(6).ofType(Types.BIGINT));
   addMetadata(
       updateauthor,
       ColumnMetadata.named("UPDATEAUTHOR")
           .withIndex(9)
           .ofType(Types.VARCHAR)
           .withSize(2147483647));
   addMetadata(
       updated, ColumnMetadata.named("UPDATED").withIndex(10).ofType(Types.TIMESTAMP).withSize(6));
 }
Пример #6
0
 public void addMetadata() {
   addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(-5).withSize(19).notNull());
 }