Monday, February 16, 2009
Apex Listener
After demoing at RMOUG using the listener, it seemed a good time to show where it's at. Here's a quick snap of the new way to configure it vs. mod_plsql's notepad/vi interface. You can probably tell from the screen which webserver I've been using to test it.
Thursday, February 12, 2009
Forgot to show this at RMOUG today
I ran out of time and had a couple more things to show today. Here's the first that I ran out of time for.
The thing I meant to show was the ability to use the sql formatter to format your sql in the worksheet into a string for other programming languages. I'll show how to format for java here.
First here's the starting sql. You'll notice I even put in aliased column names quotes.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYMETDcXnydDDMSPIubDW1GYTpxb7pIykpPxUC3cCmAOL__upRd5UI6bwuR9TLx07DLtmRIAXofA5lci51H2oi9TSyzEzyDYAUDsiWQPs-3GsMGSc3_oz9uEx-FBYBlFrC7Vlg/s320/screen-capture-1.png)
Now the preferences have to be changed for how to format. I'm going to try to add a simple right click -> Format to Java or something in the future but for now just change this preference.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPAGnqXrdy0XsJRXihd8FHCRwVNoGmMXDLC95J0QRWwCjcZcX-9tbo1eNQO1e8Y6d0JN9lGJGGrYAMkrw7VhVI7NpOGmVYIq0WmYEecbJ8VYXccbGJ_8EUcKRlxq3b2XSAfpYa/s320/screen-capture-2.png)
Now a quick format.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC022GmOBl_K5wOLNsflswp1knViHv1t_HmeL_l2Kbf0yqSyC4DkLR5wPgniWruUnp-wVJpHBOaTWU_WrTVZ9wmjAT7kUd5MaGEWdy-8Q7vCt4PJ7y_ykazGjE1XE2aEfrheRn/s320/screen-capture-3.png)
And the sql query is properly escaped and ready to be copy-n-pasted into your favorite java code.
The thing I meant to show was the ability to use the sql formatter to format your sql in the worksheet into a string for other programming languages. I'll show how to format for java here.
First here's the starting sql. You'll notice I even put in aliased column names quotes.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYMETDcXnydDDMSPIubDW1GYTpxb7pIykpPxUC3cCmAOL__upRd5UI6bwuR9TLx07DLtmRIAXofA5lci51H2oi9TSyzEzyDYAUDsiWQPs-3GsMGSc3_oz9uEx-FBYBlFrC7Vlg/s320/screen-capture-1.png)
Now the preferences have to be changed for how to format. I'm going to try to add a simple right click -> Format to Java or something in the future but for now just change this preference.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPAGnqXrdy0XsJRXihd8FHCRwVNoGmMXDLC95J0QRWwCjcZcX-9tbo1eNQO1e8Y6d0JN9lGJGGrYAMkrw7VhVI7NpOGmVYIq0WmYEecbJ8VYXccbGJ_8EUcKRlxq3b2XSAfpYa/s320/screen-capture-2.png)
Now a quick format.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC022GmOBl_K5wOLNsflswp1knViHv1t_HmeL_l2Kbf0yqSyC4DkLR5wPgniWruUnp-wVJpHBOaTWU_WrTVZ9wmjAT7kUd5MaGEWdy-8Q7vCt4PJ7y_ykazGjE1XE2aEfrheRn/s320/screen-capture-3.png)
And the sql query is properly escaped and ready to be copy-n-pasted into your favorite java code.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4Vnfd0IrtFIsGLQac5LTjid_oCNuvySlqe7ZWCoNj90umhY2HIt5Hq99UwQCZthlrjcENn-5RxQwpd0va7CtrS_X0FKc8TotAd8WejfHb5a4J_UIcaLn346Sjv8m8btWc2ytK/s320/screen-capture-4.png)
Subscribe to:
Posts (Atom)