September 12th, 2013, 04:34 AM
Java application name appears NULL when connected Sybase DB
I am connecting to Sybase Database from Java application (using JDBC) using Hibernate. When application connects to database, it logs application name as NULL. This was checked out by querying "master..sysprocesses" table. program_name column appears NULL.
Question is: Is there an attribute for "property" element in Hibernate Config xml file, where a application name can be passed. So that any application connects to DB using Hibernate logs app name (prog name).
Please let me know any other way also to this issue.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.