{{theTime}}

Search This Blog

Total Pageviews

Java ClassLoader Help:

How to Load xml file located in a jar file.

Eg: If xml exists in com/tools/util/resources/data.xml, use ClassLoader to load the xml as Stream.

InputStream in = ClassLoader.getResourceAsStream("com/tools/util/resources/data.xml")

No comments:

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...