com.mycomm.dao.dao4comm.annotation.dialect.mysql.MySqlTableCharSetSelector Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycomm.dao.dao4comm.annotation.dialect.mysql;
import com.mycomm.IProtocol.beans.MySqlCharSet;
import com.mycomm.dao.dao4comm.annotation.dialect.TableCharSetSelector;
/**
*
* @author jw362j
*/
public class MySqlTableCharSetSelector implements TableCharSetSelector {
public String selectCharSet(MySqlCharSet universalCharSet) {
if (universalCharSet == null) {
return "utf8";
}
return universalCharSet.getValue();
}
}