-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #631 from support-project/fix/issue628_sendmail
#628 Changed to hold session with mail server
- Loading branch information
Showing
7 changed files
with
164 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/org/support/project/knowledge/deploy/v1_8_0/Migrate_1_8_2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.support.project.knowledge.deploy.v1_8_0; | ||
|
||
import org.support.project.knowledge.deploy.Migrate; | ||
import org.support.project.ormapping.tool.dao.InitializeDao; | ||
|
||
public class Migrate_1_8_2 implements Migrate { | ||
|
||
public static Migrate_1_8_2 get() { | ||
return org.support.project.di.Container.getComp(Migrate_1_8_2.class); | ||
} | ||
|
||
@Override | ||
public boolean doMigrate() throws Exception { | ||
InitializeDao initializeDao = InitializeDao.get(); | ||
String[] sqlpaths = { | ||
"/org/support/project/knowledge/deploy/v1_8_0/migrate3.sql", | ||
}; | ||
initializeDao.initializeDatabase(sqlpaths); | ||
return true; | ||
} | ||
} |
Oops, something went wrong.