In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
First of all, activiti supports linking dm. What we need to solve is how to configure it: we only need to modify two configuration files:
1.
The first is the configuration of jdbc: change the driver, class name, connection string, etc. The following is the configuration method:
What it means here is: the connection string is changed to reach the dream.
two。
The second is activi's own configuration (to find the configuration file of ativiti), which forces the specified data type to be Oracle (no such configuration by default):
In other words, the data type is set to Oracle (there is no problem in the long-term use; Dameng's Oracle compatibility is very good, and many related frameworks can be configured in a similar way)
Note 1:.
If you are using a dialect package, you also need to modify the class name of the dialect package, as well as the reference to the dialect package:
Here's how to configure it.
Datasource.driver=dm.jdbc.driver.DmDriver
Datasource.url=jdbc:dm://localhost:5236
Datasource.username=test
Datasource.password=testcsdc1
Hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
The above class name only modifies the connection string, and the last line needs to be changed to:
Hibernate.dialect= org.hibernate.dialect.DmDialect
Note 2:
Where can I find the relevant driver class name?
Pick up the jak package that comes with the database you want to install using dm. Path:
Linux:
Window:
In a word, as the most general platform framework, java has better database independence. The core of all the configuration methods related to java is the following figure:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.