All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mybatis.uudb-pool.mysql.xml Maven / Gradle / Ivy

There is a newer version: 2.10.3
Show newest version




	
		CREATE TABLE IF NOT EXISTS UUDB_POOLS (
			id			INTEGER PRIMARY KEY AUTO_INCREMENT,
			name		VARCHAR(64) NOT NULL,
			keyType		VARCHAR(64) NOT NULL,
			valueType	VARCHAR(64) NOT NULL,
			UNIQUE (name)
		) ENGINE=InnoDB DEFAULT CHARSET=#{param1} AUTO_INCREMENT=1;
	

	
		CREATE TABLE IF NOT EXISTS UUDB_POOL_ENTRIES (
			id			INTEGER PRIMARY KEY AUTO_INCREMENT,
			pool		INTEGER,
			entry		VARCHAR(64),
			poolKey		VARCHAR(512) DEFAULT NULL,
			lastAccess	DATETIME,
			freezeTime	DATETIME DEFAULT NULL,
			UNIQUE 		(pool, entry),
			FOREIGN KEY (pool) REFERENCES UUDB_POOLS (id) ON DELETE CASCADE,
			INDEX		(pool, entry)
		) ENGINE=InnoDB DEFAULT CHARSET=#{param1} AUTO_INCREMENT=1;
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy