To reproduce
1. Connect to database. Note: in Preferences, under Connection, I have Session Mode set to Multi session, and I've unchecked Allow multiple connections;
2. Open a .sql script containing a function (the same happens to procedures or packages too). Function's name is prefixed with schema name, which is the same as the username I used to connect to the database;
3. The file opens in a SQL Window (I have .sql extension for most type of windows), so right-click inside the window and choose Change Window to -> Program Window;
4. Compile (F8);
5. Connect to a different database, using the exact same username;
6. Compile (F8);
7. Get the warning pop-up
	
	
	
		
				
			1. Connect to database. Note: in Preferences, under Connection, I have Session Mode set to Multi session, and I've unchecked Allow multiple connections;
2. Open a .sql script containing a function (the same happens to procedures or packages too). Function's name is prefixed with schema name, which is the same as the username I used to connect to the database;
3. The file opens in a SQL Window (I have .sql extension for most type of windows), so right-click inside the window and choose Change Window to -> Program Window;
4. Compile (F8);
5. Connect to a different database, using the exact same username;
6. Compile (F8);
7. Get the warning pop-up
		Code:
	
	Confirm                                X
   This object is owned by a different user!
   Continue compilation anyway?
     << Yes >>   << No >> 
 
		 
 
		 
 
		 
 
		