org.sonar.jpa.entity
Class SchemaMigration

java.lang.Object
  extended by org.sonar.jpa.entity.SchemaMigration

public class SchemaMigration
extends Object


Field Summary
static int LAST_VERSION
           
static String TABLE_NAME
           
static int VERSION_UNKNOWN
           
 
Constructor Summary
SchemaMigration()
           
 
Method Summary
static int getCurrentVersion(Connection connection)
           
 String getVersion()
           
 void setVersion(int i)
           
 void setVersion(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_UNKNOWN

public static final int VERSION_UNKNOWN
See Also:
Constant Field Values

LAST_VERSION

public static final int LAST_VERSION
See Also:
Constant Field Values

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

SchemaMigration

public SchemaMigration()
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String s)

setVersion

public void setVersion(int i)

getCurrentVersion

public static int getCurrentVersion(Connection connection)


Copyright © 2009-2011 SonarSource. All Rights Reserved.