Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: guoxunbo/idgenerator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.2
Choose a base ref
...
head repository: guoxunbo/idgenerator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 12, 2021

  1. 1.0.3

    adomguo committed Jan 12, 2021
    Copy the full SHA
    3671d6e View commit details
Showing with 3 additions and 16 deletions.
  1. +2 −2 pom.xml
  2. +1 −14 src/main/java/com/newbiest/common/idgenerator/IdGeneratorConfiguration.java
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -6,14 +6,14 @@

<groupId>com.newbiest</groupId>
<artifactId>idgenerator</artifactId>
<version>1.0.2.RELEASE</version>
<version>1.0.3-SNAPSHOT</version>
<packaging>jar</packaging>

<name>idgenerator</name>
<description>Idgenerator of Newbiest</description>

<properties>
<newbiest.framework.version>1.0.5.RELEASE</newbiest.framework.version>
<newbiest.framework.version>1.0.6-SNAPSHOT</newbiest.framework.version>
</properties>

<dependencies>
Original file line number Diff line number Diff line change
@@ -29,18 +29,5 @@ public SpringLiquibase liquibase(DataSource dataSource) throws Exception{
liquibase.setDropFirst(false);
return liquibase;
}

@PostConstruct
public void init() {
//注册modelClassLoader
ModelFactory.registerModelClassLoader(GeneratorRule.class.getName(), GeneratorRule.class.getClassLoader());
ModelFactory.registerModelClassLoader(GeneratorRuleLine.class.getName(), GeneratorRuleLine.class.getClassLoader());
ModelFactory.registerModelClassLoader(Sequence.class.getName(), Sequence.class.getClassLoader());

ModelFactory.registerModelClassLoader(FixedStringRuleLine.class.getName(), FixedStringRuleLine.class.getClassLoader());
ModelFactory.registerModelClassLoader(DateRuleLine.class.getName(), DateRuleLine.class.getClassLoader());
ModelFactory.registerModelClassLoader(SequenceRuleLine.class.getName(), SequenceRuleLine.class.getClassLoader());
ModelFactory.registerModelClassLoader(VariableRuleLine.class.getName(), VariableRuleLine.class.getClassLoader());

}

}