Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Struct annotation fails with Oracle #1855

Open
blafond opened this issue Feb 5, 2024 · 0 comments
Open

@Struct annotation fails with Oracle #1855

blafond opened this issue Feb 5, 2024 · 0 comments

Comments

@blafond
Copy link
Member

blafond commented Feb 5, 2024

StructEmbeddableTest' and 'StructComponentTest are currently disabled for ORACLE database.

The exception thrown is: java.sql.SQLException: Not using JDBC at org.hibernate.reactive.provider.service.NoJdbcConnectionProvider.getConnection(NoJdbcConnectionProvider.java:25)

via:

	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:116)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:143)
	at org.hibernate.dialect.StructJdbcType.createJdbcValue(StructJdbcType.java:130)
	at org.hibernate.dialect.StructJdbcType$1.doBind(StructJdbcType.java:147)
	at org.hibernate.type.descriptor.jdbc.BasicBinder.bind(BasicBinder.java:61)
	at org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.lambda$beforeStatement$0(JdbcValueBindingsImpl.java:87)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.hibernate.engine.jdbc.mutation.spi.BindingGroup.forEachBinding(BindingGroup.java:51)
	at org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.beforeStatement(JdbcValueBindingsImpl.java:85)
	at org.hibernate.reactive.engine.jdbc.env.internal.ReactiveMutationExecutor.lambda$performReactiveNonBatchedMutation$2(ReactiveMutationExecutor.java:106)
	

See also: #1818 Default array mapping doesn't work for Oracle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant