org.apache.torque.engine.platform
Class PlatformPostgresqlImpl
java.lang.Object
org.apache.torque.engine.platform.PlatformDefaultImpl
org.apache.torque.engine.platform.PlatformPostgresqlImpl
- All Implemented Interfaces:
- Platform
public class PlatformPostgresqlImpl
- extends PlatformDefaultImpl
Postgresql Platform implementation.
- Version:
- $Id: PlatformPostgresqlImpl.java 491219 2006-12-30 12:39:20Z tfischer $
- Author:
- Martin Poeschl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformPostgresqlImpl
public PlatformPostgresqlImpl()
- Default constructor.
getNativeIdMethod
public String getNativeIdMethod()
- Description copied from interface:
Platform
- Returns the native IdMethod (sequence|identity)
- Specified by:
getNativeIdMethod
in interface Platform
- Overrides:
getNativeIdMethod
in class PlatformDefaultImpl
- Returns:
- the native IdMethod
- See Also:
Platform.getNativeIdMethod()
getAutoIncrement
public String getAutoIncrement()
- Specified by:
getAutoIncrement
in interface Platform
- Overrides:
getAutoIncrement
in class PlatformDefaultImpl
- Returns:
- The RDBMS-specific SQL fragment for autoincrement.
- See Also:
Platform.getAutoIncrement()
hasScale
public boolean hasScale(String sqlType)
- Description copied from interface:
Platform
- Returns if the RDBMS-specific SQL type has a scale attribute.
- Specified by:
hasScale
in interface Platform
- Overrides:
hasScale
in class PlatformDefaultImpl
- Parameters:
sqlType
- the SQL type
- Returns:
- true if the type has a scale attribute
- See Also:
TODO collect info for all platforms
hasSize
public boolean hasSize(String sqlType)
- Description copied from interface:
Platform
- Returns if the RDBMS-specific SQL type has a size attribute.
- Specified by:
hasSize
in interface Platform
- Overrides:
hasSize
in class PlatformDefaultImpl
- Parameters:
sqlType
- the SQL type
- Returns:
- true if the type has a size attribute
- See Also:
TODO collect info for all platforms
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.