You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
470 B
20 lines
470 B
package com.fr.plugin.migration.pgsql; |
|
|
|
import com.fr.third.org.hibernate.dialect.PostgresPlusDialect; |
|
|
|
import java.sql.Types; |
|
|
|
/** |
|
* hibernate方言具体实现 |
|
* |
|
* @author lidongy |
|
* @version 10.0 |
|
* Created by lidongy on 2020/7/30 |
|
*/ |
|
public class FRPGSQLDialect extends PostgresPlusDialect { |
|
public FRPGSQLDialect() { |
|
super(); |
|
registerColumnType(Types.VARCHAR, 65536, "varchar($l)"); |
|
registerColumnType(Types.VARCHAR, "text"); |
|
} |
|
}
|
|
|