Package org.jboss.ejb.plugins.cmp.jdbc.metadata

Examples of org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCValueClassMetaData


      this.userTypeMappings = userTypeMappings;

      HashMap valueClassesByType = new HashMap();
      for(Iterator i = valueClasses.iterator(); i.hasNext();)
      {
         JDBCValueClassMetaData valueClass = (JDBCValueClassMetaData)i.next();
         valueClassesByType.put(valueClass.getJavaType(), valueClass);
      }


      // convert the value class meta data to a jdbc complex type
      for(Iterator i = valueClasses.iterator(); i.hasNext();)
      {
         JDBCValueClassMetaData valueClass = (JDBCValueClassMetaData)i.next();
         JDBCTypeComplex type = createTypeComplex(valueClass, valueClassesByType);
         complexTypes.put(valueClass.getJavaType(), type);
      }

      Iterator i = typeMapping.getMappings().iterator();
      while(i.hasNext())
      {
View Full Code Here


      }
      else
      {

         // this property is a value object, recurse
         JDBCValueClassMetaData valueClass =
            (JDBCValueClassMetaData)valueClassesByType.get(javaType);
         properties.addAll(createComplexProperties(
            valueClass,
            valueClassesByType,
            propertyStack));
View Full Code Here

/* 378 */     this.userTypeMappings = userTypeMappings;
/*     */
/* 380 */     HashMap valueClassesByType = new HashMap();
/* 381 */     for (Iterator i = valueClasses.iterator(); i.hasNext(); )
/*     */     {
/* 383 */       JDBCValueClassMetaData valueClass = (JDBCValueClassMetaData)i.next();
/* 384 */       valueClassesByType.put(valueClass.getJavaType(), valueClass);
/*     */     }
/*     */
/* 389 */     for (Iterator i = valueClasses.iterator(); i.hasNext(); )
/*     */     {
/* 391 */       JDBCValueClassMetaData valueClass = (JDBCValueClassMetaData)i.next();
/* 392 */       JDBCTypeComplex type = createTypeComplex(valueClass, valueClassesByType);
/* 393 */       this.complexTypes.put(valueClass.getJavaType(), type);
/*     */     }
/*     */
/* 396 */     Iterator i = typeMapping.getMappings().iterator();
/* 397 */     while (i.hasNext())
/*     */     {
View Full Code Here

/*     */
/* 788 */       properties.add(new JDBCTypeComplexProperty(propertyName, columnName, javaType, jdbcType, sqlType, notNull, getters, setters));
/*     */     }
/*     */     else
/*     */     {
/* 803 */       JDBCValueClassMetaData valueClass = (JDBCValueClassMetaData)valueClassesByType.get(javaType);
/*     */
/* 805 */       properties.addAll(createComplexProperties(valueClass, valueClassesByType, propertyStack));
/*     */     }
/*     */
/* 813 */     propertyStack.popPropertyMetaData();
View Full Code Here

TOP

Related Classes of org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCValueClassMetaData

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.