Comment by AHungerArtist on Storing a static variable in a temp variable
You are making temp reference your static chessboard. As such, they are essentially the same thing. You need to make a new chessboard and populate. String temp[][]=chessBoard;does NOT copy the values...
View ArticleComment by AHungerArtist on How do I Make Injected Mocks Equal to Null?
If this is as simple as the example here, you could just create a new Foo in the junit and run it. If, as I imagine, it's much more complex with other dependencies that are needed to get to the point...
View ArticleComment by AHungerArtist on Queue broker that implements a queue of queues
@GoloRoden I've yet to solve it but had to move on to other things. If you should happen to figure out a solution, please come back here and provide some insight.
View ArticleComment by AHungerArtist on Jmeter Maven Plugin not starting remote nodes
Wow, I had no idea about this option. I'm still a little confused as to how it would work, though. Wouldn't it need the node credentials to actually log on to the box to start the remote server?
View ArticleComment by AHungerArtist on maven antrun ssh or scp hides the output
Thanks for mentioning this. The other comment had it but I kind of glossed over the snippet in there because the versions were mentioned above. This comment called out that change directly.
View ArticleComment by AHungerArtist on Java in Visual Studio Code
Just an FYI, Java is not an abbreviation for anything. It's just a word. No need to capitalize it all.
View ArticleComment by AHungerArtist on Spring Boot Hibernate not picking up...
Sigh. Thank you. I must have been blind to the difference.
View ArticleComment by AHungerArtist on IMB PCF agent returns error while inquiring...
This post was really useful for me for understanding some of the nature of the PCFMessageAgent. I was wondering if you could point to any IBM documentation that details the internal behavior of the...
View ArticleComment by AHungerArtist on Mapping wild card Function interface to a typed...
@Thiyagu So, right now, those fields can either be a String or Long, but might eventually become more types. I think I want to have a Function<Context, Optional<?>> and transform it to...
View ArticleComment by AHungerArtist on How to develop/test for a system that must run...
It's more than just files, though, it's a running application on Linux that I can't run on Windows.
View ArticleCascade deletes by primary key and partition key using Hibernate
I have an entity, PersonEntity, with an id (PERSON_ID column), a partition key (TENANT_ID column) and a collection of AddressEntity. The AddressEntity has an id (ADDRESS_ID), a partition key...
View ArticleHow to go from XML Spring scheduling configuration to annotation/code...
I am trying to convert the following Spring task xml configuration to a purely code/annotation based version:<task:executor id="xyz.executor" pool-size="${xyz.job.executor.pool.size:1-40}"...
View ArticleAnswer by AHungerArtist for Long vs BigInteger
BigInteger is capable of holding far bigger numbers than Long. BigInteger seems capable of holding (2 ^ 32) ^ Integer.MAX_VALUE, though that depends on the implementation (and, even if truly unbounded...
View ArticleAnswer by AHungerArtist for Spring RestTemplate Behavior when handling...
This should now be fixed in Spring 3.1 RC1.https://jira.spring.io/browse/SPR-7911
View ArticleIs it possible to replace the entire Repository Url with a parameterized...
In Hudson/Jenkins, is it possible to replace the entire string in the Subversion Module Repository URL with a String parameter? I don't want to just replace just the version or anything like that, I...
View ArticlePossible to disable an SQL execution plan in Oracle?
I have a situation where Oracle creates multiple execution plans for a given query. Most of the time, it chooses a certain one that performs quite well. Sometimes, however, it chooses one that contains...
View ArticleForce SQL subquery to be run first
I have a (simplified) query like so:SELECT DISTINCT this_.person_id AS y0_ FROM coded_entity this_ WHERE this_.code = ? AND this_.tenant_id = ? AND this_.person_id IN (SELECT person_id FROM person that...
View ArticleAdding windows command line prompt right click option to Eclipse
I was wondering if anyone knew of a plugin or some other capability that would allow me to right click on a project in Eclipse and have an option for a Windows command line prompt to appear from the...
View ArticleAlter table on global temporary table (preserve to delete)
Is it possible to change a global temporary table in Oracle from PRESERVE ROWS to DELETE ROWS? I have tried the following command and I get a syntax error. If it is possible, what is the correct...
View ArticleSQL Order by using the values from two different columns
Suppose I have a table NAME with the columns PART_TYPE and VALUE. Each type can have multiple types like FAMILY, GIVEN, PREFIX, etc. What I would like to do is write SQL to get all the names but have...
View Article