Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.mongodb.hibernate.jdbc;
package com.mongodb.hibernate.internal.jdbc;

import java.sql.Array;
import java.sql.ResultSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.mongodb.hibernate.jdbc;
package com.mongodb.hibernate.internal.jdbc;

public final class MongoArray implements ArrayAdapter {
private final Object contents;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2024-present MongoDB, Inc.
*
* 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
*
* http://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.
*/

/** The program elements within this package are not part of the public API and may be removed or changed at any time */
@NullMarked
package com.mongodb.hibernate.internal.jdbc;

import org.jspecify.annotations.NullMarked;
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import static com.mongodb.hibernate.internal.MongoAssertions.fail;
import static java.lang.String.format;

import com.mongodb.hibernate.jdbc.MongoArray;
import com.mongodb.hibernate.internal.jdbc.MongoArray;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.sql.JDBCType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.mongodb.client.MongoDatabase;
import com.mongodb.hibernate.internal.BuildConfig;
import com.mongodb.hibernate.internal.cfg.MongoConfiguration;
import com.mongodb.hibernate.internal.jdbc.MongoArray;
import java.sql.Array;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
Expand Down