codingapi / codingapi/tx-lcn

mysql bigint类型,oracle用什么类型替换 number吗?使用后“”系统日志“”报转换出错

Open
#463 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

lcn使用tc的事务使用oracle管理,手动创建trigger后,原本自动创建的id主键数据类型为bigint,oracle使用number(33)后,点击http://127.0.0.1:7970/admin/index.html,“”系统日志“”按钮,弹出“”系统日志已被禁用,将返回首页“”,tc后台控制台显示下面:
java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Long;

我想问下mysql bigint类型,oracle用什么类型替换 number吗?帮帮解答下,各位大佬们,急解决!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure from http://127.0.0.1:7970/admin/index.html by opening the “系统日志” button, then inspect the TC backend console and its reported ClassCastException. The issue does not name a source file, test, or expected database mapping, so the required change and completion criteria need clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.