org.ibatis.client.Dialect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbatis Show documentation
Show all versions of jbatis Show documentation
The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.
The newest version!
/*-
* Copyright 2009-2017 Owl Group
* All rights reserved.
*/
package org.ibatis.client;
/**
* Dialect
*
* Date: 2017-12-29
*
* @author Song Sun
* @version 1.0
*/
public enum Dialect {
mysql,
oracle,
sqlserver,
postgresql,
db2;
public static Dialect forName(String dialect) {
try {
return valueOf(dialect.toLowerCase());
} catch (Exception e) {
}
return null;
}
}