Blog Archives

SpinnerSimpleDateModel

Here is the code for a JSpinnerModel that handles Date objects in simple format (e.g. ‘dd/MM/yyyy’). It extends a SpinnerDateModel so most of the code is based on that class. This class assumes that values are separated by a slash

Posted in Uncategorized

Installing Oracle Application Server 10g on Windows Server 2003 SP2

If you try to install the Oracle Application Server 10g (9.0.4) on a Windows Server 2003 SP2, you may encounter an error when the installer tries to configure the OC4J instances with the following: Deploying application ‘ADFBCManager’ to OC4J instance

Tagged with: , , , , ,
Posted in Database Administration, Tech

Duplicate Oracle Constraints

If you have ever used the Oracle import utility, your database has system generated constraint names (ex: SYS_C00641321), and you did not specify CONSTRAINTS=N during the import then chances are you have duplicate constraints for pretty much every constraint except

Tagged with: , , , , , , ,
Posted in Database Administration

Password Case Sensitivity in Oracle 11g

Oracle 11g now sets the password case sensitivity setting to TRUE by default. If you are running any application that connects to an earlier version of an Oracle database, chances are you are sending the connect string in all caps

Tagged with: , , , , ,
Posted in Database Administration

Running an Oracle Forms Applet on Windows 7

I was trying to run my application built in Oracle Forms and Reports on a new laptop with Windows 7. However, when running the Java forms applet, the applet’s graphics stayed frozen and I was not able to see my

Tagged with: , , , , , , , , ,
Posted in Database Administration, Tech

SQL: Exists Condition

The SQL EXISTS condition is a boolean function that returns true if the condition is met. The syntax is pretty simple: SELECT * FROM TABLE WHERE EXISTS(subquery); Alternatively, you can use NOT EXISTS(subquery). An example of the function is the

Tagged with: , ,
Posted in Database Administration

How to Modify Swap Size – Ubuntu 10.04

When installing Ubuntu, I was never asked about the desired size for my swap size. Oracle recommends to use at least 2GB of memory in order to create a database, let alone run it. With help from this excellent post

Tagged with: , , , , , ,
Posted in Tech

Change Screen Brightness From Terminal (Ubuntu 10.04)

If you want to change the screen brightness in Ubuntu (I can’t change it using the keyboard shortcuts or the Ubuntu Power Management menu), open a terminal and execute the following: sudo setpci -s 00:02.0 F4.B=xx Where xx is the

Tagged with: , ,
Posted in Tech

Windows Live Writer

I’m trying out Windows Live Writer as my blogging desktop client for Windows and I must say, it is a nice user-friendly client. If you are looking for a small, easy-to-use blogging client for Windows, you should definitely check it

Posted in Tech

Installing Ubuntu 10.04 from Windows 7

I launched the wubi installer from Windows 7 to install Ubuntu 10.04 and after a 2 hour wait the installation failed due to the following error: — Permission denied For more information, please see the log file: C:\users\owner\appdata\local\temp\wubi-10.04-rev189.log — After

Tagged with: , , ,
Posted in Tech