Problem: ArcSDE Java API: Incorrect database username when connected to MS SQL Server as DBO


In Microsoft SQL Server a database username can differ from a Windows login name. For example, a Windows login user may be the SQL Server DBO. SeInstance.getUser() should return DBO as the username; however, it returns the Windows login name.


This is a known issue with the Java application programming interface (API).

Solution or Workaround

Resolved for 8.1 sp2.