Examples of dbTable()


Examples of com.cosmo.orm.annotations.CormObject.dbTable()

   public static String getDbTableName(Class<?> ormClass) throws InvalidMappingException
   {
      CormObject co = ormClass.getAnnotation(CormObject.class);
      if (co != null)
      {
         return co.dbTable();
      }

      throw new InvalidMappingException(ormClass.getName() + " is not a CORM object.");
   }
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.