JdbcModelBuilder
Build a Slick model from introspecting the JDBC metadata.
In most cases you are better off transforming the generated model instead of overriding functionality here. It is only useful if you need easy access to the JDBC metadata in order to influence how the model is generated. A good use case would be interpreting column types or default values that Slick doesn't understand out of the box. If you just want to remove or hard code some default values, transform the resulting model instead.
The tight coupling can easily lead to source code incompatibilities in future versions. Avoid hooking in here if you don't have to.
Value parameters
- ignoreInvalidDefaults
-
see JdbcModelBuilder#ColumnBuilder#default
Attributes
- Source
- JdbcModelBuilder.scala
- Graph
-
- Supertypes
- Known subtypes
-
class ModelBuilderclass H2ModelBuilderclass HsqldbModelBuilderclass MySQLModelBuilderclass OracleModelBuilderclass ModelBuilderclass ModelBuilderclass SQLiteModelBuilderShow all
Members list
Grouped members
Basic customization overrides
Column model builder.
Column model builder.
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class H2ColumnBuilderclass MySQLColumnBuilderclass OracleColumnBuilderclass PostgresColumnBuilderclass SQLServerColumnBuilderclass SQLiteColumnBuilderShow all
Table model builder
Table model builder
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Column model builder factory. Override for customization.
Table model builder factory. Override for customization.
Type members
Classlikes
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class PostgresIndexBuilder
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MySQLPrimaryKeyBuilderclass SQLitePrimaryKeyBuilder
Attributes
- Source
- JdbcModelBuilder.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DerbyTableNamerclass H2TableNamerclass HsqldbTableNamerclass MySQLTableNamerclass PostgresTableNamer
Value members
Concrete methods
Creates a Slick data model from jdbc meta data. Foreign keys pointing out of the given tables are not included.
Creates a Slick data model from jdbc meta data. Foreign keys pointing out of the given tables are not included.
Attributes
- Source
- JdbcModelBuilder.scala
Attributes
- Source
- JdbcModelBuilder.scala
Attributes
- Source
- JdbcModelBuilder.scala
Attributes
- Source
- JdbcModelBuilder.scala
Attributes
- Source
- JdbcModelBuilder.scala
Attributes
- Source
- JdbcModelBuilder.scala
Converts from java.sql.Types w/ type name to the corresponding Java class name (with fully qualified path).
Converts from java.sql.Types w/ type name to the corresponding Java class name (with fully qualified path).
Attributes
- Source
- JdbcModelBuilder.scala
Read the column metadata for a table in ordinal position order
Read the column metadata for a table in ordinal position order
Attributes
- Source
- JdbcModelBuilder.scala
Read the foreign key metadata for a table grouped by name and in key sequence order
Read the foreign key metadata for a table grouped by name and in key sequence order
Attributes
- Source
- JdbcModelBuilder.scala
Read the index metadata grouped by name and in ordinal position order
Read the index metadata grouped by name and in ordinal position order
Attributes
- Source
- JdbcModelBuilder.scala
Read the primary key metadata for a table in key sequence order
Read the primary key metadata for a table in key sequence order
Attributes
- Source
- JdbcModelBuilder.scala