PATH  WebObjects 4.0 Documentation > SybaseEOAdaptor Reference



SybaseSQLExpression

Inherits From:
EOSQLExpression : NSObject

Inherits From:
com.apple.yellow.sybaseeoadaptor


Class Description

SybaseSQLExpression defines how to build SQL statements for SybaseChannels.


Method Types

Getting the server type ID
serverTypeIdForName
Getting the lock clause
lockClause

Class Methods


serverTypeIdForName

public static int serverTypeIdForName(java.lang.String typeName)

Returns the Sybase type code (such as 47, 56, or 55) for typeName (such as "char", "int", or "decimal").


Instance Methods


lockClause

public java.lang.String lockClause()

Overrides the EOSQLExpression method lockClause to return the SQL string used in a SELECT statement to lock selected rows, which is @"HOLDLOCK".





Copyright © 1998, Apple Computer, Inc. All rights reserved.