5 results for technology, oracle...

Stored Procedures in Spring Jdbc

posted by Jake on under Data & Databases

In addition to some sweet Inversion of Control injection action, Spring brings flowers and baby deer. And it brings some nice database connection help. Spring JdbcTemplate is a vanguard of strength and ease for connecting to your favorite RDBMS. And it so happens that the DBA I'm working with right now digs the stored procs. So, we'll meet in the middle with some more goodness born of Spring.

Dynamic LINQ Database Selection for Oracle .NET

posted by Bryan on under Data & Databases

Using an Oracle database backend in conjunction with LINQ required use of a 3rd party tool called DevArt dotConnect for Oracle. However, when the database model is configured, it's hard coded to a specific database instance (Dev, Test, etc). I wanted to dynamically select which database instance to run against relative to the lane my tests were running against. It's actually easier than I thought.

Not in vs. Outer join Performance

posted by Jake on under Performance

I was running an SQL query today and it was sooooo slow. So slow, in fact, that it never returned. I asked the DBA, Reed, who built the table what might be up, and he informed me that it was not indexed. And proceeded to show me some cool stuff I could do to actually get my query to return. In the end, it was a comparison between the "not in" operator and a "left join".

Count number of characters w/ SQL

posted by Jake on under Data & Databases

There's no pre-defined method to count the number of occurrences of a certain character in a database table column using SQL. There's a quick and dirty way to get it done however. In my case, I wanted to figure out how many lines existed in a column that held address information, separated by line breaks. Here's a spot of code that helped from the friendly neighborhood DBA, Reed.