public class

SupportedCollations

extends Object
java.lang.Object
   ↳ com.atlassian.jira.database.SupportedCollations

Class Overview

JIRA officially supports a small number of database collations. They are:

  • Oracle: BINARY
  • Mysql: utf8_bin
  • Postgres: C or POSIX
  • SQL Server: SQL_Latin1_General_CP437_CI_AI or SQL_Latin1_General_CI_AI
  • HSQL: Any collation
  • H2: Any collation

Summary

Public Constructors
SupportedCollations()
Public Methods
static Collection<String> forDatabase(DatabaseConfig databaseConfig)
static boolean isSupported(DatabaseConfig databaseConfig, String collation)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SupportedCollations ()

Public Methods

public static Collection<String> forDatabase (DatabaseConfig databaseConfig)

Returns
  • the collection of collations supported for the given database config

public static boolean isSupported (DatabaseConfig databaseConfig, String collation)

Returns
  • true if the collation is supported by JIRA