public StringId(Class<?> cls, String key) { super(cls); this.key = (key == null) ? "" : StringUtil.stripEnd(key, null); }
public StringId(Class<?> cls, String key) { super(cls); this.key = (key == null) ? "" : StringUtil.stripEnd(key, null); }
public StringId(Class<?> cls, String key, boolean subs) { super(cls, subs); this.key = (key == null) ? "" : StringUtil.stripEnd(key, null); }
public StringId(Class<?> cls, String key, boolean subs) { super(cls, subs); this.key = (key == null) ? "" : StringUtil.stripEnd(key, null); }
/** * Create a new sequence from the information in the schema metadata. */ protected Sequence newSequence(ResultSet sequenceMeta) throws SQLException { Sequence seq = new Sequence(); seq.setSchemaIdentifier(fromDBName(StringUtil.stripEnd(sequenceMeta.getString("SEQUENCE_SCHEMA"), null), DBIdentifierType.SCHEMA)); seq.setIdentifier(fromDBName(StringUtil.stripEnd(sequenceMeta.getString("SEQUENCE_NAME"), null), DBIdentifierType.SEQUENCE)); return seq; }
/** * Create a new sequence from the information in the schema metadata. */ protected Sequence newSequence(ResultSet sequenceMeta) throws SQLException { Sequence seq = new Sequence(); seq.setSchemaIdentifier(fromDBName(StringUtil.stripEnd(sequenceMeta.getString("SEQUENCE_SCHEMA"), null), DBIdentifierType.SCHEMA)); seq.setIdentifier(fromDBName(StringUtil.stripEnd(sequenceMeta.getString("SEQUENCE_NAME"), null), DBIdentifierType.SEQUENCE)); return seq; }