Skip to content

Commit 43d7e0a

Browse files
update domain
1 parent ce90b17 commit 43d7e0a

File tree

12 files changed

+37
-37
lines changed

12 files changed

+37
-37
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<a href="https://www.travis-ci.org/kotlin-orm/ktorm">
66
<img src="https://www.travis-ci.org/kotlin-orm/ktorm.svg?branch=master" alt="Build Status" />
77
</a>
8-
<a href="https://search.maven.org/search?q=g:%22me.liuwj.ktorm%22">
9-
<img src="https://img.shields.io/maven-central/v/me.liuwj.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
8+
<a href="https://search.maven.org/search?q=g:%22org.ktorm%22">
9+
<img src="https://img.shields.io/maven-central/v/org.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
1010
</a>
1111
<a href="LICENSE">
1212
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg?maxAge=2592000" alt="Apache License 2" />
@@ -24,7 +24,7 @@
2424

2525
Ktorm is a lightweight and efficient ORM Framework for Kotlin directly based on pure JDBC. It provides strong-typed and flexible SQL DSL and convenient sequence APIs to reduce our duplicated effort on database operations. All the SQL statements, of course, are generated automatically. Ktorm is open source and available under the Apache 2.0 license. Please leave a star if you've found this library helpful!
2626

27-
For more documentation, go to our site: [https://ktorm.liuwj.me](https://ktorm.liuwj.me).
27+
For more documentation, go to our site: [https://www.ktorm.org](https://www.ktorm.org).
2828

2929
:us: English | :cn: [简体中文](README_cn.md) | :jp: [日本語](README_jp.md)
3030

@@ -46,7 +46,7 @@ Ktorm was deployed to maven central and jcenter, so you just need to add a depen
4646

4747
```xml
4848
<dependency>
49-
<groupId>me.liuwj.ktorm</groupId>
49+
<groupId>org.ktorm</groupId>
5050
<artifactId>ktorm-core</artifactId>
5151
<version>${ktorm.version}</version>
5252
</dependency>
@@ -55,10 +55,10 @@ Ktorm was deployed to maven central and jcenter, so you just need to add a depen
5555
Or Gradle:
5656

5757
```groovy
58-
compile "me.liuwj.ktorm:ktorm-core:${ktorm.version}"
58+
compile "org.ktorm:ktorm-core:${ktorm.version}"
5959
```
6060

61-
Firstly, create Kotlin objects to [describe your table schemas](https://ktorm.liuwj.me/en/schema-definition.html):
61+
Firstly, create Kotlin objects to [describe your table schemas](https://www.ktorm.org/en/schema-definition.html):
6262

6363
```kotlin
6464
object Departments : Table<Nothing>("t_department") {
@@ -217,7 +217,7 @@ Delete:
217217
database.delete(Employees) { it.id eq 4 }
218218
```
219219

220-
Refer to [detailed documentation](https://ktorm.liuwj.me/en/query.html) for more usages about SQL DSL.
220+
Refer to [detailed documentation](https://www.ktorm.org/en/query.html) for more usages about SQL DSL.
221221

222222
## Entities and Column Binding
223223

@@ -323,7 +323,7 @@ val employee = database.employees.find { it.id eq 2 } ?: return
323323
employee.delete()
324324
```
325325

326-
Detailed usages of entity APIs can be found in the documentation of [column binding](https://ktorm.liuwj.me/en/entities-and-column-binding.html) and [entity query](https://ktorm.liuwj.me/en/entity-finding.html).
326+
Detailed usages of entity APIs can be found in the documentation of [column binding](https://www.ktorm.org/en/entities-and-column-binding.html) and [entity query](https://www.ktorm.org/en/entity-finding.html).
327327

328328
## Entity Sequence APIs
329329

@@ -496,4 +496,4 @@ val totalSalaries = database.employees
496496
}
497497
```
498498

499-
Detailed usages of entity sequence APIs can be found in the documentation of [entity sequence](https://ktorm.liuwj.me/en/entity-sequence.html) and [sequence aggregation](https://ktorm.liuwj.me/en/sequence-aggregation.html).
499+
Detailed usages of entity sequence APIs can be found in the documentation of [entity sequence](https://www.ktorm.org./en/entity-sequence.html) and [sequence aggregation](https://www.ktorm.org/en/sequence-aggregation.html).

README_cn.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<a href="https://www.travis-ci.org/kotlin-orm/ktorm">
66
<img src="https://www.travis-ci.org/kotlin-orm/ktorm.svg?branch=master" alt="Build Status" />
77
</a>
8-
<a href="https://search.maven.org/search?q=g:%22me.liuwj.ktorm%22">
9-
<img src="https://img.shields.io/maven-central/v/me.liuwj.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
8+
<a href="https://search.maven.org/search?q=g:%22org.ktorm%22">
9+
<img src="https://img.shields.io/maven-central/v/org.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
1010
</a>
1111
<a href="LICENSE">
1212
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg?maxAge=2592000" alt="Apache License 2" />
@@ -24,7 +24,7 @@
2424

2525
Ktorm 是直接基于纯 JDBC 编写的高效简洁的轻量级 Kotlin ORM 框架,它提供了强类型而且灵活的 SQL DSL 和方便的序列 API,以减少我们操作数据库的重复劳动。当然,所有的 SQL 都是自动生成的。Ktorm 基于 Apache 2.0 协议开放源代码,如果对你有帮助的话,请留下你的 star。
2626

27-
查看更多详细文档,请前往官网:[https://ktorm.liuwj.me](https://ktorm.liuwj.me/zh-cn)
27+
查看更多详细文档,请前往官网:[https://www.ktorm.org](https://www.ktorm.org/zh-cn)
2828

2929
:us: [English](README.md) | :cn: 简体中文 | :jp: [日本語](README_jp.md)
3030

@@ -48,7 +48,7 @@ Ktorm 已经发布到 maven 中央仓库和 jcenter,因此,如果你使用 m
4848

4949
```xml
5050
<dependency>
51-
<groupId>me.liuwj.ktorm</groupId>
51+
<groupId>org.ktorm</groupId>
5252
<artifactId>ktorm-core</artifactId>
5353
<version>${ktorm.version}</version>
5454
</dependency>
@@ -57,10 +57,10 @@ Ktorm 已经发布到 maven 中央仓库和 jcenter,因此,如果你使用 m
5757
或者 gradle:
5858

5959
```groovy
60-
compile "me.liuwj.ktorm:ktorm-core:${ktorm.version}"
60+
compile "org.ktorm:ktorm-core:${ktorm.version}"
6161
```
6262

63-
首先,创建 Kotlin object,[描述你的表结构](https://ktorm.liuwj.me/zh-cn/schema-definition.html)
63+
首先,创建 Kotlin object,[描述你的表结构](https://www.ktorm.org/zh-cn/schema-definition.html)
6464

6565
```kotlin
6666
object Departments : Table<Nothing>("t_department") {
@@ -219,7 +219,7 @@ database.update(Employees) {
219219
database.delete(Employees) { it.id eq 4 }
220220
```
221221

222-
更多 SQL DSL 的用法,请参考[具体文档](https://ktorm.liuwj.me/zh-cn/query.html)
222+
更多 SQL DSL 的用法,请参考[具体文档](https://www.ktorm.org/zh-cn/query.html)
223223

224224
## 实体类与列绑定
225225

@@ -325,7 +325,7 @@ val employee = database.employees.find { it.id eq 2 } ?: return
325325
employee.delete()
326326
```
327327

328-
更多实体 API 的用法,可参考[列绑定](https://ktorm.liuwj.me/zh-cn/entities-and-column-binding.html)[实体查询](https://ktorm.liuwj.me/zh-cn/entity-finding.html)相关的文档。
328+
更多实体 API 的用法,可参考[列绑定](https://www.ktorm.org/zh-cn/entities-and-column-binding.html)[实体查询](https://www.ktorm.org/zh-cn/entity-finding.html)相关的文档。
329329

330330
## 实体序列 API
331331

@@ -498,4 +498,4 @@ val totalSalaries = database.employees
498498
}
499499
```
500500

501-
更多实体序列 API 的用法,可参考[实体序列](https://ktorm.liuwj.me/zh-cn/entity-sequence.html)[序列聚合](https://ktorm.liuwj.me/zh-cn/sequence-aggregation.html)相关的文档。
501+
更多实体序列 API 的用法,可参考[实体序列](https://www.ktorm.org/zh-cn/entity-sequence.html)[序列聚合](https://www.ktorm.org/zh-cn/sequence-aggregation.html)相关的文档。

README_jp.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<a href="https://www.travis-ci.org/kotlin-orm/ktorm">
66
<img src="https://www.travis-ci.org/kotlin-orm/ktorm.svg?branch=master" alt="Build Status" />
77
</a>
8-
<a href="https://search.maven.org/search?q=g:%22me.liuwj.ktorm%22">
9-
<img src="https://img.shields.io/maven-central/v/me.liuwj.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
8+
<a href="https://search.maven.org/search?q=g:%22org.ktorm%22">
9+
<img src="https://img.shields.io/maven-central/v/org.ktorm/ktorm-core.svg?label=Maven%20Central" alt="Maven Central" />
1010
</a>
1111
<a href="LICENSE">
1212
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg?maxAge=2592000" alt="Apache License 2" />
@@ -24,7 +24,7 @@
2424

2525
Ktormは純粋なJDBCをベースにしたKotlin用の軽量で効率的なORMフレームワークです。強力に型付けされた柔軟性の高い SQL DSL と便利なシーケンス API を提供し、データベース操作の重複作業を軽減してくれます。もちろん、すべてのSQL文は自動的に生成されます。Ktormはオープンソースで、Apache 2.0ライセンスで提供されています。このライブラリが役に立ったならば、Starをつけてください!
2626

27-
詳細なドキュメントについては、私たちのサイトを参照してください。: [https://ktorm.liuwj.me](https://ktorm.liuwj.me).
27+
詳細なドキュメントについては、私たちのサイトを参照してください。: [https://www.ktorm.org](https://www.ktorm.org).
2828

2929
:us: [English](README.md) | :cn: [简体中文](README_cn.md) | :jp: 日本語
3030

@@ -46,7 +46,7 @@ Ktormはmaven centralとjcenterにデプロイされているので、mavenを
4646

4747
```xml
4848
<dependency>
49-
<groupId>me.liuwj.ktorm</groupId>
49+
<groupId>org.ktorm</groupId>
5050
<artifactId>ktorm-core</artifactId>
5151
<version>${ktorm.version}</version>
5252
</dependency>
@@ -55,10 +55,10 @@ Ktormはmaven centralとjcenterにデプロイされているので、mavenを
5555
Gradleの場合:
5656

5757
```groovy
58-
compile "me.liuwj.ktorm:ktorm-core:${ktorm.version}"
58+
compile "org.ktorm:ktorm-core:${ktorm.version}"
5959
```
6060

61-
第一に、[テーブルスキーマを記述する](https://ktorm.liuwj.me/en/schema-definition.html)ためのKotlinオブジェクトを作成します。
61+
第一に、[テーブルスキーマを記述する](https://www.ktorm.org/en/schema-definition.html)ためのKotlinオブジェクトを作成します。
6262

6363
```kotlin
6464
object Departments : Table<Nothing>("t_department") {
@@ -217,7 +217,7 @@ database.update(Employees) {
217217
database.delete(Employees) { it.id eq 4 }
218218
```
219219

220-
SQL DSLの詳しい使い方については、[詳細ドキュメント](https://ktorm.liuwj.me/en/query.html)を参照してください。
220+
SQL DSLの詳しい使い方については、[詳細ドキュメント](https://www.ktorm.org/en/query.html)を参照してください。
221221

222222
## エンティティと列のバインド
223223

@@ -323,7 +323,7 @@ val employee = database.employees.find { it.id eq 2 } ?: return
323323
employee.delete()
324324
```
325325

326-
エンティティAPIの詳しい使い方は、[column binding](https://ktorm.liuwj.me/en/entities-and-column-binding.html)[entity query](https://ktorm.liuwj.me/en/entity-finding.html)のドキュメントに記載されています。
326+
エンティティAPIの詳しい使い方は、[column binding](https://www.ktorm.org/en/entities-and-column-binding.html)[entity query](https://www.ktorm.org/en/entity-finding.html)のドキュメントに記載されています。
327327

328328
## エンティティシーケンス API
329329

@@ -496,4 +496,4 @@ val totalSalaries = database.employees
496496
}
497497
```
498498

499-
エンティティシーケンスAPIの詳しい使い方は、[entity sequence](https://ktorm.liuwj.me/en/entity-sequence.html)[sequence aggregation](https://ktorm.liuwj.me/en/sequence-aggregation.html)のドキュメントに記載されています。
499+
エンティティシーケンスAPIの詳しい使い方は、[entity sequence](https://www.ktorm.org/en/entity-sequence.html)[sequence aggregation](https://www.ktorm.org/en/sequence-aggregation.html)のドキュメントに記載されています。

ktorm-core/src/main/kotlin/org/ktorm/entity/Entity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ import kotlin.reflect.jvm.jvmErasure
114114
* }
115115
* ```
116116
*
117-
* More details can be found in our website: https://ktorm.liuwj.me/en/entities-and-column-binding.html#More-About-Entities
117+
* More details can be found in our website: https://www.ktorm.org/en/entities-and-column-binding.html#More-About-Entities
118118
*
119119
* ### Serialization
120120
*

ktorm-core/src/main/kotlin/org/ktorm/logging/Logger.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public enum class LogLevel {
131131
* Auto detect a logger implementation.
132132
*/
133133
public fun detectLoggerImplementation(): Logger {
134-
val loggerName = "me.liuwj.ktorm.database"
134+
val loggerName = "org.ktorm.database"
135135
var result: Logger? = null
136136

137137
@Suppress("SwallowedException")

ktorm-core/src/main/kotlin/org/ktorm/schema/BaseTable.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import kotlin.reflect.jvm.jvmErasure
3535
* object could be an interface extending from [Entity], or a data class, POJO, or any kind of classes.
3636
*
3737
* Here is an example defining an entity as data class. The full documentation can be found at:
38-
* https://ktorm.liuwj.me/en/define-entities-as-any-kind-of-classes.html
38+
* https://www.ktorm.org/en/define-entities-as-any-kind-of-classes.html
3939
*
4040
* ```kotlin
4141
* data class Staff(
@@ -299,7 +299,7 @@ public abstract class BaseTable<E : Any>(
299299
* please use classes instead, and override this [aliased] function to return the same type as the concrete table
300300
* classes.
301301
*
302-
* More details can be found on our website: https://ktorm.liuwj.me/en/joining.html#Self-Joining-amp-Table-Aliases
302+
* More details can be found on our website: https://www.ktorm.org/en/joining.html#Self-Joining-amp-Table-Aliases
303303
*/
304304
public open fun aliased(alias: String): BaseTable<E> {
305305
throw UnsupportedOperationException("The function 'aliased' is not supported by $javaClass")

ktorm-core/src/main/kotlin/org/ktorm/schema/Column.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public data class NestedBinding(val properties: List<KProperty1<*, *>>) : Column
4141
*
4242
* @property referenceTable the reference table.
4343
* @property onProperty the property used to hold the referenced entity object.
44-
* @see me.liuwj.ktorm.entity.sequenceOf
44+
* @see org.ktorm.entity.sequenceOf
4545
* @see BaseTable.createEntity
4646
*/
4747
public data class ReferenceBinding(val referenceTable: BaseTable<*>, val onProperty: KProperty1<*, *>) : ColumnBinding()

ktorm-core/src/main/kotlin/org/ktorm/schema/SqlTypes.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ public object YearSqlType : SqlType<Year>(Types.INTEGER, "int") {
473473
* Define a column typed of [EnumSqlType].
474474
*
475475
* @param name the column's name.
476-
* @param typeRef the generic type information of this column, generally created by [me.liuwj.ktorm.schema.typeRef].
476+
* @param typeRef the generic type information of this column, generally created by [org.ktorm.schema.typeRef].
477477
* @return the registered column.
478478
*/
479479
@Suppress("UNCHECKED_CAST")

ktorm-core/src/main/kotlin/org/ktorm/schema/Table.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import kotlin.reflect.jvm.jvmErasure
3131
* the result set and filling them into corresponding entity properties.
3232
*
3333
* To use this class, we need to define our entities as interfaces extending from [Entity]. Here is an example. More
34-
* documents can be found at https://ktorm.liuwj.me/en/entities-and-column-binding.html
34+
* documents can be found at https://www.ktorm.org/en/entities-and-column-binding.html
3535
*
3636
* ```kotlin
3737
* interface Department : Entity<Department> {

ktorm-jackson/src/main/kotlin/org/ktorm/jackson/JsonSqlType.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public val sharedObjectMapper: ObjectMapper = ObjectMapper()
3737
* Define a column typed of [JsonSqlType].
3838
*
3939
* @param name the column's name.
40-
* @param typeRef the generic type information of this column, generally created by [me.liuwj.ktorm.schema.typeRef].
40+
* @param typeRef the generic type information of this column, generally created by [org.ktorm.schema.typeRef].
4141
* @param mapper the object mapper used to serialize column values to JSON strings and deserialize them.
4242
* @return the registered column.
4343
*/

0 commit comments

Comments
 (0)