Browse Source
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com> Commit message edited by Jens Schauder Original pull request #2036 Closes #2031pull/2065/head
30 changed files with 281 additions and 88 deletions
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
/* |
||||
* Copyright 2025 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.data.jdbc.core.dialect; |
||||
|
||||
import org.springframework.data.jdbc.core.convert.JdbcArrayColumns; |
||||
import org.springframework.data.relational.core.dialect.H2Dialect; |
||||
|
||||
/** |
||||
* JDBC specific H2 Dialect. |
||||
* |
||||
* @author Mikhail Polivakha |
||||
*/ |
||||
public class JdbcH2Dialect extends H2Dialect implements JdbcDialect { |
||||
|
||||
public static JdbcH2Dialect INSTANCE = new JdbcH2Dialect(); |
||||
|
||||
@Override |
||||
public JdbcArrayColumns getArraySupport() { |
||||
return new JdbcH2ArrayColumns(); |
||||
} |
||||
|
||||
public static class JdbcH2ArrayColumns extends H2ArrayColumns implements JdbcArrayColumns { } |
||||
} |
||||
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
/* |
||||
* Copyright 2025 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.data.jdbc.core.dialect; |
||||
|
||||
import org.springframework.data.relational.core.dialect.HsqlDbDialect; |
||||
|
||||
/** |
||||
* JDBC specific HsqlDB Dialect. |
||||
* |
||||
* @author Mikhail Polivakha |
||||
*/ |
||||
public class JdbcHsqlDbDialect extends HsqlDbDialect implements JdbcDialect { |
||||
|
||||
public static JdbcHsqlDbDialect INSTANCE = new JdbcHsqlDbDialect(); |
||||
} |
||||
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
/* |
||||
* Copyright 2025 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.data.jdbc.core.dialect; |
||||
|
||||
import org.springframework.data.relational.core.dialect.MariaDbDialect; |
||||
import org.springframework.data.relational.core.sql.IdentifierProcessing; |
||||
|
||||
/** |
||||
* JDBC specific MariaDb Dialect. |
||||
* |
||||
* @author Mikhail Polivakha |
||||
*/ |
||||
public class JdbcMariaDbDialect extends MariaDbDialect implements JdbcDialect { |
||||
|
||||
public JdbcMariaDbDialect(IdentifierProcessing identifierProcessing) { |
||||
super(identifierProcessing); |
||||
} |
||||
} |
||||
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
/* |
||||
* Copyright 2025 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.data.jdbc.core.dialect; |
||||
|
||||
import org.springframework.data.jdbc.core.convert.JdbcArrayColumns; |
||||
import org.springframework.data.relational.core.dialect.ArrayColumns; |
||||
import org.springframework.data.relational.core.dialect.ObjectArrayColumns; |
||||
import org.springframework.data.relational.core.dialect.OracleDialect; |
||||
|
||||
/** |
||||
* JDBC specific Oracle Dialect. |
||||
* |
||||
* @author Mikhail Polivakha |
||||
*/ |
||||
public class JdbcOracleDialect extends OracleDialect implements JdbcDialect { |
||||
|
||||
public static JdbcOracleDialect INSTANCE = new JdbcOracleDialect(); |
||||
|
||||
@Override |
||||
public JdbcArrayColumns getArraySupport() { |
||||
return new JdbcOracleArrayColumns(); |
||||
} |
||||
|
||||
public static class JdbcOracleArrayColumns extends ObjectArrayColumns implements JdbcArrayColumns { } |
||||
} |
||||
Loading…
Reference in new issue