{"id":30997042,"url":"https://github.com/mduesterhoeft/spring-boot-starter-exposed","last_synced_at":"2025-09-12T22:27:23.032Z","repository":{"id":42789703,"uuid":"122252046","full_name":"mduesterhoeft/spring-boot-starter-exposed","owner":"mduesterhoeft","description":"A Spring Boot starter for useful autoconfiguration for the Exposed SQL framework","archived":false,"fork":false,"pushed_at":"2019-05-15T10:52:09.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-03T04:07:39.320Z","etag":null,"topics":["autoconfiguration","database","exposed","kotlin","spring-boot","spring-boot-starter","sql"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mduesterhoeft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-20T20:27:22.000Z","updated_at":"2022-05-18T11:51:49.000Z","dependencies_parsed_at":"2022-09-24T05:11:25.273Z","dependency_job_id":null,"html_url":"https://github.com/mduesterhoeft/spring-boot-starter-exposed","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/mduesterhoeft/spring-boot-starter-exposed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduesterhoeft%2Fspring-boot-starter-exposed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduesterhoeft%2Fspring-boot-starter-exposed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduesterhoeft%2Fspring-boot-starter-exposed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduesterhoeft%2Fspring-boot-starter-exposed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mduesterhoeft","download_url":"https://codeload.github.com/mduesterhoeft/spring-boot-starter-exposed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduesterhoeft%2Fspring-boot-starter-exposed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274886150,"owners_count":25368224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoconfiguration","database","exposed","kotlin","spring-boot","spring-boot-starter","sql"],"created_at":"2025-09-12T22:27:16.396Z","updated_at":"2025-09-12T22:27:23.014Z","avatar_url":"https://github.com/mduesterhoeft.png","language":"Kotlin","readme":"[![](https://jitpack.io/v/mduesterhoeft/spring-boot-starter-exposed.svg)](https://jitpack.io/#mduesterhoeft/spring-boot-starter-exposed)\n[![Build Status](https://travis-ci.org/mduesterhoeft/spring-boot-starter-exposed.svg?branch=master)](https://travis-ci.org/mduesterhoeft/spring-boot-starter-exposed)\n[![codecov](https://codecov.io/gh/mduesterhoeft/spring-boot-starter-exposed/branch/master/graph/badge.svg)](https://codecov.io/gh/mduesterhoeft/spring-boot-starter-exposed)\n\n# Spring Boot Starter for Exposed\n\nThis repository adds a Spring Boot starter for the [Exposed](https://github.com/JetBrains/Exposed) - a Kotlin SQL framework.\n\n## Getting started\n\nThe `spring-boot-starter-exposed` is available on jitpack:\n\n```\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\ndependencies {\n    compile('com.github.mduesterhoeft:spring-boot-starter-exposed:0.1.7')\n}\n```\n\nThis will bring in `org.jetbrains.exposed:exposed` and `org.springframework.boot:spring-boot-starter-jdbc`.\n\n## Autoconfiguration of Exposed beans\n\nThe starter will add a `org.jetbrains.exposed.sql.Database` bean to the application context if a bean of type `javax.sql.DataSource` is present.\n\nIf you have the exposed module `org.jetbrains.exposed:spring-transaction` on the classpath and also a `Datasource` bean on the application context, the starter will add a `org.jetbrains.exposed.spring.SpringTransactionManager` bean.\n\n## Schema creation\n\nThe starter can be used to initialize the database schema.\n\nTo achieve this, a bean of type `com.github.mduesterhoeft.exposed.ExposedTables` is needed on the application context. This bean needs to contain all tables that should be created. The schema generation needs to be enabled like this:\n\n```\nspring.exposed.generate-ddl=true\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmduesterhoeft%2Fspring-boot-starter-exposed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmduesterhoeft%2Fspring-boot-starter-exposed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmduesterhoeft%2Fspring-boot-starter-exposed/lists"}