(Context<?> ctx, DataType<?> type)
| 6239 | |
| 6240 | |
| 6241 | static final void toSQLDDLTypeDeclaration0(Context<?> ctx, DataType<?> type) { |
| 6242 | |
| 6243 | |
| 6244 | |
| 6245 | |
| 6246 | |
| 6247 | |
| 6248 | |
| 6249 | |
| 6250 | |
| 6251 | |
| 6252 | |
| 6253 | |
| 6254 | |
| 6255 | |
| 6256 | |
| 6257 | |
| 6258 | |
| 6259 | |
| 6260 | |
| 6261 | |
| 6262 | |
| 6263 | |
| 6264 | |
| 6265 | |
| 6266 | |
| 6267 | |
| 6268 | |
| 6269 | |
| 6270 | |
| 6271 | |
| 6272 | |
| 6273 | |
| 6274 | |
| 6275 | |
| 6276 | |
| 6277 | |
| 6278 | |
| 6279 | |
| 6280 | |
| 6281 | |
| 6282 | |
| 6283 | |
| 6284 | // [#5299] MySQL enum types |
| 6285 | if (EnumType.class.isAssignableFrom(type.getType())) { |
| 6286 | |
| 6287 | @SuppressWarnings("unchecked") |
| 6288 | DataType<EnumType> enumType = (DataType<EnumType>) type; |
| 6289 | |
| 6290 | switch (ctx.family()) { |
| 6291 | |
| 6292 | |
| 6293 | case H2: |
| 6294 | case MARIADB: |
| 6295 | case MYSQL: { |
| 6296 | ctx.visit(K_ENUM).sql('('); |
| 6297 | |
| 6298 | String separator = ""; |
no test coverage detected