Re: [Virtuoso-users] Using PREFIX in a prepared Statement

2016-10-24 Thread Kingsley Idehen
On 10/24/16 12:00 PM, Davis, Daniel (NIH/NLM) [C] wrote: > > Kingsley, > > > > I’m not sure exactly how this helps me. Let me be clearer on the > problem. Because this application runs within a federal government > site, I’m required to submit my source code to static analysis. > Although t

Re: [Virtuoso-users] Using PREFIX in a prepared Statement

2016-10-24 Thread Davis, Daniel (NIH/NLM) [C]
prop); log.info(query); PreparedStatement stmt = connection.prepareStatement(query); stmt.setString(1, "http://id.nlm.nih.gov/mesh/"+id); So far, this general approach of using a prepared statement is not working for me. I may struggle through it, but is there an

Re: [Virtuoso-users] Using PREFIX in a prepared Statement

2016-10-21 Thread Kingsley Idehen
On 10/21/16 5:36 PM, Davis, Daniel (NIH/NLM) [C] wrote: > > So, I must run my application through a source code scanner, and it is > reasonably complaining that I am using String.format() and > stmt.executeQuery(query) with the Virtuoso JDBC connection. > > > > Yet, this is SPARQL. I see some d