Can below scenario of duplicate alias lead to an error when executed from JDBC or hibernate:
SQL Error: 904, SQLState: 42000 ORA-00904: : invalid identifier
select * From table_master VW
LEFT OUTER JOIN TABLE(test_func(1, 300)) vw
ON VW.table_key = vw.function_key
Facing this in production only. It works fine in test environment.
vwalias twice? That can't be right. - sstanselect * from v$version) - a_horse_with_no_name