How to use the jdbc.password function in jdbc

To help you get started, we’ve selected a few jdbc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DongyuCai / Axe / axe / src / main / java / org / axe / home / rest / html / axe_home / axe_axe.properties.html View on Github external
return false;
			}
			if(!config['jdbc.datasource'] || config['jdbc.datasource'] == 'null' || config['jdbc.datasource'] == null || config['jdbc.datasource'] == ''){
				if(!config['jdbc.driver'] || config['jdbc.driver'] == 'null' || config['jdbc.driver'] == null || config['jdbc.driver'] == ''){
					alert('jdbc.driver 必填');
					return false;
				}
				if(!config['jdbc.url'] || config['jdbc.url'] == 'null' || config['jdbc.url'] == null || config['jdbc.url'] == ''){
					alert('jdbc.url 必填');
					return false;
				}
				if(!config['jdbc.username'] || config['jdbc.username'] == 'null' || config['jdbc.username'] == null || config['jdbc.username'] == ''){
					alert('jdbc.username 必填');
					return false;
				}
				if(!config['jdbc.password'] || config['jdbc.password'] == 'null' || config['jdbc.password'] == null || config['jdbc.password'] == ''){
					alert('jdbc.password 必填');
					return false;
				}
			}
			if(!config['app.base_package'] || config['app.base_package'] == 'null' || config['app.base_package'] == null || config['app.base_package'] == ''){
				alert('app.base_package 必填');
				return false;
			}

			var saveForm = document.getElementById("saveForm");
			saveForm.submit();
		}
github DongyuCai / Axe / jw / src / main / java / org / jw / home / rest / html / jw_jw.properties.html View on Github external
return false;
			}
			if(!config['jdbc.datasource'] || config['jdbc.datasource'] == 'null' || config['jdbc.datasource'] == null || config['jdbc.datasource'] == ''){
				if(!config['jdbc.driver'] || config['jdbc.driver'] == 'null' || config['jdbc.driver'] == null || config['jdbc.driver'] == ''){
					alert('jdbc.driver 必填');
					return false;
				}
				if(!config['jdbc.url'] || config['jdbc.url'] == 'null' || config['jdbc.url'] == null || config['jdbc.url'] == ''){
					alert('jdbc.url 必填');
					return false;
				}
				if(!config['jdbc.username'] || config['jdbc.username'] == 'null' || config['jdbc.username'] == null || config['jdbc.username'] == ''){
					alert('jdbc.username 必填');
					return false;
				}
				if(!config['jdbc.password'] || config['jdbc.password'] == 'null' || config['jdbc.password'] == null || config['jdbc.password'] == ''){
					alert('jdbc.password 必填');
					return false;
				}
			}
			if(!config['app.base_package'] || config['app.base_package'] == 'null' || config['app.base_package'] == null || config['app.base_package'] == ''){
				alert('app.base_package 必填');
				return false;
			}

			var saveForm = document.getElementById("saveForm");
			saveForm.submit();
		}