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

DistributedLock insert error with oracle #4717

Closed
LGAKing opened this issue Jun 20, 2022 · 4 comments · Fixed by #4696
Closed

DistributedLock insert error with oracle #4717

LGAKing opened this issue Jun 20, 2022 · 4 comments · Fixed by #4696

Comments

@LGAKing
Copy link

LGAKing commented Jun 20, 2022

When I use the latest version of seata in the project, the exception "not support value" is reported at startup. At the same time, looking at the source code, the insert into statement is not adapted for dbType. In addition, when I try to modify the statement and add the Oracle Driver, I cannot get a runnable Jar using the mvn package command in seata-server.

DB Version:
Oracle 19c

Error Sql with Code:

protected static final String INSERT_DISTRIBUTED_LOCK_SQL = "INSERT INTO " + DISTRIBUTED_LOCK_TABLE_PLACE_HOLD + "("
            + ALL_COLUMNS + ") VALUE (?, ?, ?)";
@funky-eyes
Copy link
Contributor

Can you send the stack?

@LGAKing
Copy link
Author

LGAKing commented Jun 20, 2022

Can you send the stack?

image

this is the stack, and there are any way to package seata-server jar with myself?

@funky-eyes
Copy link
Contributor

@caohdgege PTAL

@funky-eyes
Copy link
Contributor

#4696

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

Successfully merging a pull request may close this issue.

2 participants