Examples of tableName()


Examples of cn.org.zeronote.orm.ORMTable.tableName()

   * @return
   */
  private List<String> generaCacheKey(Object obj) {
    ORMTable ormTable = obj.getClass().getAnnotation(ORMTable.class);
    if (ormTable != null) {
      String cachedTableKey = "".equalsIgnoreCase(ormTable.cachedShortAlias()) ? ormTable.tableName() : ormTable.cachedShortAlias();
      String[] cachedKeys = ormTable.cachedKey();
     
      if (cachedKeys.length > 0) {
        List<String> ks = new ArrayList<String>();
        for (int i = 0; i < cachedKeys.length; i++) {
View Full Code Here

Examples of com.arjuna.ats.arjuna.objectstore.jdbc.JDBCAccess.tableName()

    {
      impleTableName = tableName;
    }
    else
    {
      final String jdbcAccessTableName = jdbcAccess.tableName();
      if ((jdbcAccessTableName != null)
          && (jdbcAccessTableName.length() > 0))
      {
        impleTableName = jdbcAccessTableName;
      }
View Full Code Here

Examples of com.jfinal.ext.plugin.tablebind.TableBind.tableName()

        }
        tableName = nameStyle.name(modelClass.getSimpleName());
        this.addMapping(tableName, modelClass);
        log.debug("addMapping(" + tableName + ", " + modelClass.getName() + ")");
      } else {
        tableName = tb.tableName();
        if (StrKit.notBlank(tb.pkName())) {
          this.addMapping(tableName, tb.pkName(), modelClass);
          log.debug("addMapping(" + tableName + ", " + tb.pkName() + "," + modelClass.getName() + ")");
        } else {
          this.addMapping(tableName, modelClass);
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.Attribute.tableName()

  {
    for (int i = 0; i < relation.length; i++) {
      NodeRelation rel = relation[i];
      for (ProjectionSpec p: rel.baseRelation().projections()) {
        Attribute attribute = (Attribute) p;
        if (attribute.tableName().equals(tableName) && attribute.attributeName().equals(attributeName))
          return rel;
      }
    }
   
    return null;
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.RelationName.tableName()

      new RelationName(null, "foo"),
      new RelationName(null, "bar"));
 
  public void testParseRelationNameNoSchema() {
    RelationName r = SQL.parseRelationName("table");
    assertEquals("table", r.tableName());
    assertNull(r.schemaName());
  }
 
  public void testParseRelationNameWithSchema() {
    RelationName r = SQL.parseRelationName("schema.table");
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.RelationName.tableName()

    assertNull(r.schemaName());
  }
 
  public void testParseRelationNameWithSchema() {
    RelationName r = SQL.parseRelationName("schema.table");
    assertEquals("table", r.tableName());
    assertEquals("schema", r.schemaName());
  }
 
  public void testParseInvalidRelationName() {
    try {
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.tableName()

   
    DbTable table = clazz.getAnnotation(DbTable.class);
    if (tableName != null) {
      name = tableName;
    } else
    if (table == null || MString.isEmptyTrim(table.tableName())) {
      name = clazz.getSimpleName();
    } else {
      name = table.tableName();
    }
   
View Full Code Here

Examples of de.mhus.lib.adb.annotations.DbTable.tableName()

      name = tableName;
    } else
    if (table == null || MString.isEmptyTrim(table.tableName())) {
      name = clazz.getSimpleName();
    } else {
      name = table.tableName();
    }
   
    if (table != null &&!MString.isEmptyTrim(table.attributes())) {
      attributes = MConfigFactory.getInstance().toConfig(table.attributes());
    } else {
View Full Code Here

Examples of org.hibernate.ogm.grid.impl.RowKeyBuilder.tableName()

    }
  }

  private RowKey buildRowKey(Map<String, Object> newTupleId) {
    RowKeyBuilder rowKeyBuilder = new RowKeyBuilder();
    rowKeyBuilder
        .tableName( getTableName() )
        .values( newTupleId );
    //Order matters and should be respected
    if ( hasIdentifier ) {
      rowKeyBuilder.addColumns( getIdentifierColumnName() );
View Full Code Here

Examples of org.paquitosoft.lml.model.annotation.PersistentEntity.tableName()

    public static String getTableName(Class entityClass) {
       
        String result = entityClass.getSimpleName();
       
        PersistentEntity att = (PersistentEntity) entityClass.getAnnotation(PersistentEntity.class);
        if (att != null && att.tableName().length() > 0) {
            result = att.tableName();
        }
       
        return result.toUpperCase();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.