File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
embedded-database-spring-test/src/main/java/io/zonky/test/db/util Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ project(':embedded-database-spring-test') {
204204 compile ' org.testcontainers:mysql:1.15.3'
205205 compile ' org.testcontainers:mariadb:1.15.3'
206206
207- compile ' io.zonky.test:embedded-postgres:1.2.10 ' , optional
207+ compile ' io.zonky.test:embedded-postgres:1.3.0 ' , optional
208208 compile ' com.opentable.components:otj-pg-embedded:0.13.3' , optional
209209 compile ' ru.yandex.qatools.embed:postgresql-embedded:2.10' , optional
210210
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2021 the original author or authors.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package io .zonky .test .db .util ;
218
319import io .zonky .test .db .context .DatabaseTargetSource ;
925
1026public class AopProxyUtils {
1127
28+ private AopProxyUtils () {}
29+
1230 public static DatabaseContext getDatabaseContext (DataSource dataSource ) {
1331 if (dataSource instanceof Advised ) {
1432 TargetSource targetSource = ((Advised ) dataSource ).getTargetSource ();
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2021 the original author or authors.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package io .zonky .test .db .util ;
218
319import java .util .concurrent .ThreadLocalRandom ;
You can’t perform that action at this time.
0 commit comments