This file contains hidden or 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
| hello |
This file contains hidden or 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
| function stringify(map: Set<any> | Map<any, any>) { | |
| return JSON.stringify(Array.from(map)); | |
| } | |
| function newSet<T>(text: string): Set<T> { | |
| return new Set<T>(JSON.parse(text)); | |
| } | |
| function newMap<K, V>(text: string) { | |
| return new Map<K, V>(JSON.parse(text)); |
This file contains hidden or 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
| package hello; | |
| import javax.sql.DataSource; | |
| import jp.sf.amateras.mirage.SqlManager; | |
| import jp.sf.amateras.mirage.SqlManagerImpl; | |
| import jp.sf.amateras.mirage.dialect.HyperSQLDialect; | |
| import jp.sf.amateras.mirage.integration.spring.SpringConnectionProvider; | |
| import org.apache.commons.dbcp.BasicDataSource; |