-
Notifications
You must be signed in to change notification settings - Fork 994
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
[improve] use eclipselink orm replace of hibernate orm #1801
Conversation
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has checked 2149 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
861 | 2 | 1286 | 0 |
Click to see the invalid file list
- common/src/main/java/org/apache/hertzbeat/common/config/EclipseLinkCustomizer.java
- common/src/main/java/org/apache/hertzbeat/common/config/EclipseLinkJpaConfiguration.java
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
common/src/main/java/org/apache/hertzbeat/common/config/EclipseLinkCustomizer.java
Show resolved
Hide resolved
common/src/main/java/org/apache/hertzbeat/common/config/EclipseLinkJpaConfiguration.java
Show resolved
Hide resolved
…eLinkCustomizer.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: tomsun28 <tomsun28@outlook.com>
…eLinkJpaConfiguration.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
fatal error, eclipselink auto create some table failed but no log 😂 |
[EL Finest]: ddl: 2024-04-22 17:40:41.325--Thread(Thread[main,5,main])--The table (hzb_notice_template) could not be created due to exception: |
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
upgrade this attention. If you use an empty database, there is no need to upgrade.
export the all monitoring, export all alarm rules, and deploy start a new one system, import them.
edit the h2 database columns, if use mysql, change the mysql columns
start the system. edit the save all notice rule in web, disable and enable them. |
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
The mysql 5.7 version is not able to execute these sql's and I think upgrading these is best for the user not to operate, can we find a better way? |
hi these sql are for h2 database, mysql version we can use navicat console or others to edit table column name here.
For the suggest upgrading, is the Export Import Method. Deploy an new empty system and them import the monitors. |
Is it possible to determine the current version at program startup and execute sql automatically? |
flyway or liquibase can do this, maybe we can consider use flyway to execute version update sql automatically. |
sounds good. |
What's changed?
use eclipselink orm replace of hibernate orm, due hibernate core licenses is lgpl.
eclipselink is another implement for jpa guide
Checklist
Add or update API