Apr 032005
 

I’m not sure why nobody commented on my last post. Either because you did not know the answer, or you cared not to write it down. Anyways: my “huh” reaction was triggered by the fact that the PDF was supposed to be a QUICK reference (as the title says), but it’s is 432 pages. That’s not Quick Reference, that’s the truth, the whole thruth and nothing but the thruth!

BTW You can download this FREE ebook at TheServerSide.NET.

 Posted by at 22:56
Apr 012005
 

I was browsing some websites this afternoon, and read somewhere (I think on the DailyWTF forums) that Java and C# syntax are almost the same. So this evening I thought: why not give it a try and create a simple C# web-application. So here I go…

1) Start Delphi2005
2) File->New->C# web application
3) Give it a name etc.
4) Look at the canvas: it says “Form is in gridbaglayout. If you want to …. blablabla”.
5) Now drop a button on the form
6) Move the button
7) Try to move it again
8) Don’t get annoyed: it’s not possible.
9) Close all and exit Delphi2005

Now do the same, except change the first into:

1) Start VS.NET
.
.
.
7) Hey, the button has moved
8) Be surprised, but…
9) Continue coding

If that’s not a WTF, than what is? Perhaps this is: running the (not so good looking) page/application (just some inputfields and buttons doing nothing) for the second time gave me the annoying “can’t connect to the asp workerprocess” error. VS.NET has no trouble running the pages time after time.

View what I did here. Please comment if this is a known bug that I did not know about (quite possible) or if you know that I did something utterly stupid (extremely possible).

 Posted by at 00:18
Mar 312005
 

Another great article can be found on Developer.com. They explain how to use Oracle’s ADF in JDeveloper, to create a conference-room reservation webapplication, with the data stored in a MySQL database (Oracle would do as well 😉 ). The article takes you further one step at a time, and at the end you have a working system.

 Posted by at 14:39
Mar 292005
 

Via the Oracle blogs I came across this excellent article about the alternatives to Point-in-time Recovery.
I especially like the way the redo-logs-files are read (it’s called logminer, introduced in 8i), to generate undo-information in the form of DML-statements.

 Posted by at 15:46
Mar 292005
 

Yeah right. Let’s migrate from Oracle to SQL Server. Of course a SQL Server DBA does know nothing about Oracle, so let’s do the migration automated. Thanks for pointing there, Eric.

Now I don’t want to start another Oracle vs. MS SQL Server war, but if your database (schema’s) can be ported to SQL Server, than you deserve SQL Server. Period.

What about:
– Multiple master replication?
– More than 8GByte of memory without needing another OS?
– Flashback queries?
– Virtual Private Database?
– Stored java-procedures/functions (.NET is on it’s way, earlier than SQL Server2005)
– External tables?
– More that 4GByte LOB’s? (Let’s store a SQL Server database in a BLOB!)
– Run on any OS besides Windows?

Shall I continue? Whatever! An Oracle database convertable to SQL Server should have been just that in the first place.

 Posted by at 12:17
Mar 282005
 

Excuse me for posting that JDeveloper contains a bug in the hyperlink component: it does not. It’s a bug in the tutorial, which I followed without thinking myself. The tutorial says: “press Hyperlink on the component palette”, whereas you need to press the hyperlink-button on the toolbar. That’s all.

 Posted by at 20:36
Mar 272005
 

I think there’s a bug in JDeveloper 10.1.3. On OTN there is a tutorial to create a simple JSP page, and one of the steps is to select some text, and turn in into a hyperlink. No matter how I try, the hyperlink appears AFTER the selected text, but being 0 characters wide, it’s unselectable/unclickable.

View what I did here.

 Posted by at 00:41
Mar 262005
 

An hour less of sleeping time. Or…another day an hour sooner?

 Posted by at 23:38
Mar 262005
 

With JDeveloper 10.1.3 I created my first “application”. The only thing it does right now is not printing “Hello World!” in some sort of language specific way, but…setting up a connection to the Oracle database on my server. It switches the “disconnect” menuitem on, and the “connect” menuitem off, so you can disconnect. When you do, the original state of the menuitems is restored.
When choosing Exit, Disconnect is called whenever a connection is still open.
Also, a successful connection will update the statusbar with the name of the DBMS producer (Oracle in this case).

I’ve learned:
– How to work with the IDE
– Java is case-sensitive
– The IDE helps you very much, which results in higher productivity. Especially the hints in the margin (lightbulbs) are quite usefull.
– Help is very good, but a bit on the slow side (reads from the internet)
– The number of components on the palette (as compared to Delphi) is very low

 Posted by at 01:15