This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing application info to database

 
harishhere
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In most of the application we've some auditing information like created by, creation date, etc to be stored in database along with transaction information. This can be done via triggers or explicitly passing this information in SQL constructs through JDBC calls.
I recently read about getClientInfo and setClientInfo methods available on connection object in JDBC 4.0 specification. Can we use this information to store user details and get these in database. Am not sure if this is possible. If not, is there any other way apart from triggers and explicitly passing setting these in SQL queries. Don't know if some drivers provide some implementations for this.

Thanks,
Harish
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic