org.exolab.castor.jdo.engine
Class SQLHelper

java.lang.Object
  extended by org.exolab.castor.jdo.engine.SQLHelper

public final class SQLHelper
extends java.lang.Object

Since:
1.0
Version:
$Revision: 7950 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $
Author:
Assaf Arkin, Thomas Yip, Bruce Snyder, Werner Guttmann, Ralf Joachim

Method Summary
static void addExtendingClassDescriptors(java.util.Collection classDescriptorsToAdd, java.util.Collection extendingClassDescriptors)
           
static java.lang.Object[] calculateNumberOfFields(java.util.Collection extendingClassDescriptors, int numberOfIdentityColumns, int numberOfFields, int numberOfExtendLevels, java.sql.ResultSet rs)
           
static java.lang.String[] getIdentitySQLNames(ClassDescriptor desc)
           
static int numberOfExtendingClassDescriptors(ClassDescriptor classDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculateNumberOfFields

public static java.lang.Object[] calculateNumberOfFields(java.util.Collection extendingClassDescriptors,
                                                         int numberOfIdentityColumns,
                                                         int numberOfFields,
                                                         int numberOfExtendLevels,
                                                         java.sql.ResultSet rs)
                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

numberOfExtendingClassDescriptors

public static int numberOfExtendingClassDescriptors(ClassDescriptor classDescriptor)

addExtendingClassDescriptors

public static void addExtendingClassDescriptors(java.util.Collection classDescriptorsToAdd,
                                                java.util.Collection extendingClassDescriptors)

getIdentitySQLNames

public static java.lang.String[] getIdentitySQLNames(ClassDescriptor desc)


Copyright © 2011. All Rights Reserved.