Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 4 years ago. Improve this ques…
JDBC SQLServerException: “This driver is not configured for integrated authentication.”
I am writing a “server-side extension” for SmartFoxServer (SFS). In my login script, I need to make a connection to MS SQL Server, which I am attempting to do using JDBC. I have tested the JDBC code in my debug environment, and it works fine. BUT When I put the server-side extension in the SFS …
ImageMagick: How to compare original PNG to lossy JPEG?
I want to compare original PNG image to lossy JPEG image to see how much I am loosing. I found that I can use ImageMagic to compare images. I prefer using Java (im4java). I am very confused with their documentation (http://www.imagemagick.org/script/compare.php). It doesn’t describe which platform it is…
how to set default maximum heap size for Java (xmx), for linux (centos)
I have many small java programs running in crons in my server. I have an openvz VPS, and java is very poblematic with memory and openvz. The best solution i have come up so far is running my …
RSA in bouncycastle for java – How is ciphertext randomization gained?
I´m acutally using bouncycastle library for my applications RSA crypto. My question is: When I encrypt one plaintext two times using the same key, It will lead to two different ciphertexts, so there has to be some kind of randomization in bouncycastles implementation (RSA itself is not randomized, so enc(a, k…
How to find root of memory leaks?
My app is basicly and image editor. There is a welcome page which opens main activity with an intent. If orientation changes when main activity is working the memory consumption simply doubles up and remains that way. If i close the main activity turn back to welcome activity and start main activity again sam…
Playing .mp3 and .wav in Java?
How can I play an .mp3 and a .wav file in my Java application? I am using Swing. I tried looking on the internet, for something like this example: But, this will only play .wav files. The same with: http://www.javaworld.com/javaworld/javatips/jw-javatip24.html I want to be able to play both .mp3 files and .wa…
hibernate or oracle support for timelines?
We have a requirement for persisting, using Hibernate, versioned Java objects into an Oracle database such that each version has a valid-from and valid-until timestamp. This is so we can query for objects as-at a specific time. Does Hibernate or Oracle 11g (or anything else) provide anything that would simpli…
Slow save in Eclipse
I’m using Eclipse 3.5, with Java 6u20, Tomcat 6.0.28, and I have a big problem: Everything worked normal, and somehow (I don’t know how) Eclipse started to be very slow. When I edit some file, …
Stored Procedure returning multiple tables to spring jdbc template
Iam calling a stored procedure from my Spring DAO class using JdbcTemplate. My problem is that, stored procedure returns multiple tables. Is there a way to access multiple tables using Spring JdbcTemplate. If I use jdbcTemplate.queryForList(myStoredProc, new Object[]{parameters} iam getting only first table f…