squash icon indicating copy to clipboard operation
squash copied to clipboard

SQL access DSL for Kotlin

Results 27 squash issues
Sort by recently updated
recently updated
newest added

The Kotlin Squash repository at https://dl.bintray.com/kotlin/squash/ is not available anymore. Can you provide another repository?

Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.5 to 42.4.1. Changelog Sourced from postgresql's changelog. [42.4.1] (2022-08-01 16:24:20 -0400) Security fix: CVE-2022-31197 Fixes SQL generated in PgResultSet.refresh() to escape column identifiers so as to...

dependencies

Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.13 to 8.0.28. Changelog Sourced from mysql-connector-java's changelog. Changelog https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/ Version 8.0.29 Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH(). Fix for Bug#81468 (23312764), MySQL server...

dependencies

Bumps [h2](https://github.com/h2database/h2database) from 1.4.197 to 2.1.210. Release notes Sourced from h2's releases. Version 2.1.210 Two security vulnerabilities in H2 Console (CVE-2022-23221 and possible DNS rebinding attack) are fixed. Persistent databases...

dependencies

First off, I hope the jetbrains team has had a wonderful holiday season and stayed safe & healthy during these times. [JDBCTransaction.resultFor()](https://github.com/orangy/squash/blob/dc025481b7104a5e234d6df370d715b6b37c81eb/squash-jdbc/src/org/jetbrains/squash/drivers/JDBCTransaction.kt#L27) is a troubling method when creating Dialect Extensions,...

Getting started with this library is currently quite difficult due to lack of documentation. Adding a few more examples would at least help people know where to start. I discovered...

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

Often times, especially with mock / test data, it is handy to `ORDER BY rand()` or `SELECT rand() AS someName`. We have already implemented this functionality for MySQL's rand() function...

``` val dbConnection = PgConnection.create("jdbc:postgresql://localhost:5432/mydb") val transaction = dbConnection.createTransaction() update(TestEntity).set( TestEntity.name, "BLEH ${Random().nextInt()}" ).where(TestEntity.id eq 1).executeOn(transaction) transaction.commit() ``` This causes a postgres error: ``` Cannot commit when autoCommit is enabled....

I took some time to separate and organize into pull requests some of my team's work on Squash that we thought you might like. We hope these features are useful...