Merge pull request #8 from josemazo/oracle
Added information for connecting to an Oracle Express DB
This commit is contained in:
		
						commit
						e3438f577c
					
				
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@ -72,4 +72,22 @@ output {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Oracle
 | 
			
		||||
With thanks to [@josemazo](https://github.com/josemazo)
 | 
			
		||||
  * Tested with Express Edition 11g Release 2
 | 
			
		||||
  * Tested using http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html (ojdbc6.jar)
 | 
			
		||||
```
 | 
			
		||||
input
 | 
			
		||||
{
 | 
			
		||||
	stdin { }
 | 
			
		||||
}
 | 
			
		||||
output {
 | 
			
		||||
	jdbc {
 | 
			
		||||
		driver_class => "oracle.jdbc.driver.OracleDriver"
 | 
			
		||||
		connection_string => "jdbc:oracle:thin:USER/PASS@HOST:PORT:SID"
 | 
			
		||||
		statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, CAST (? AS timestamp), ?)", "host", "@timestamp", "message" ]
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
/* vim: set ts=4 sw=4 tw=0 :*/
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user