We're using commons-dbcp BasicDataSource and calling #addConnectionProperty to see appName which SqlServer displays as ProgramName when running sp_who2
Ideally I'd like to be able to query that value using SELECT VALUE FROM INFORMATION_SCHEMA.SETTINGS WHERE NAME = 'appName' rather than using reflection to access connectionProperties within BasicDataSource On Friday, 13 July 2012 18:32:04 UTC+1, Thomas Mueller wrote: > > Hi, > > > In this case I'm trying to access a property I've passed through > > Sorry I don't understand. > > Regards, > Thomas > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/Sxa6ZKiIfwYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
