193 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Hybris setup issue: Unsupported major.minor version 52.0
Thu, Mar 23rd 2017 9
If you can't install Oracle Express XE 11g 2 on Windows...
Wed, Mar 22nd 2017 8
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 9
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 9
Back to basics
Tue, Jun 7th 2016 10
How I ran Gradle with cntlm
Wed, May 25th 2016 10
Did you know?
Mon, May 23rd 2016 11
Top 10
Did you know?
Mon, May 23rd 2016 11
Cognos-setup.bat error
Tue, Nov 12th 2013 10
How I ran Gradle with cntlm
Wed, May 25th 2016 10
Back to basics
Tue, Jun 7th 2016 10
SECJ0118E with form authentication and spnego enabled
Mon, Jan 6th 2014 9
AssertionException in IBM Connections
Wed, Dec 18th 2013 9
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 9
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 9
Hybris setup issue: Unsupported major.minor version 52.0
Thu, Mar 23rd 2017 9
Best shortcut in Eclipse
Tue, Feb 23rd 2016 8


Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

Always good as a refresher.

So, when calling a method
  • For primitive arguments (intlong, etc.), the pass by value is the actual value of the primitive (for example, 3).
  • For objects, the pass by value is the value of the reference to the object.

http://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value




---------------------
http://fdecollibus.blogspot.com/2016/06/always-interesting-discussion.html
Jun 23, 2016
10 hits



Recent Blog Posts
9
Hybris setup issue: Unsupported major.minor version 52.0
Thu, Mar 23rd 2017 3:49p   Francesco De Collibus
While I was typing the final "ant all" command for hybris, it miserably failed with the following exception hybris/bin/platform/resources/ant/antmacros.xml:123: java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) Even though a "java -version" gave me back version 8, ant is still using $JAVA_HOME variable. So you have to change it into the script. My suggestion is that y
8
If you can't install Oracle Express XE 11g 2 on Windows...
Wed, Mar 22nd 2017 10:26p   Francesco De Collibus
I spent the whole afternoon trying to set up a Oracle Express instance without any success. I had the drivers installed, but I could not uninstall them. It looked like the main instance was not correctly set up. After looking around, I noticed that even after complete uninstall of Oracle XE still the ORACLE_HOME environment variable was still there. I tried again manually removing it from System Variables and then reinstalling... and it finally worked!
9
How could I be so stupid using hibernate criteria with timestamp?
Wed, Aug 31st 2016 8:06p   Francesco De Collibus
I needed to make a query to find all records valid today for columns with effectiveFrom and effectiveTo range I spent a couple of hours trying to understand why criteria.add(Restrictions.ge("effectiveFrom",currentDate.getTime())); criteria.add(Restrictions.le("effectiveTo",currentDate.getTime())); was giving no results. After many trials and attempts with other criteria tricks, I remembered that hibernate is not comparting if currentDate.getTime is greater than ef
10
Java ALWAYS passes by value (and it is ALWAYS an interesting discussion)
Thu, Jun 23rd 2016 4:47p   Francesco De Collibus
Always good as a refresher. So, when calling a methodFor primitive arguments (int, long, etc.), the pass by value is the actual value of the primitive (for example, 3).For objects, the pass by value is the value of the reference to the object. http://stackoverflow.com/questions/40480/is-java-pass-by-reference-or-pass-by-value
10
Back to basics
Tue, Jun 7th 2016 8:50a   Francesco De Collibus
I stumbled upon this one, as a rookie :) http://www.programcreek.com/2014/01/java-util-concurrentmodificationexception/ whohaaa, it hurts :)
10
How I ran Gradle with cntlm
Wed, May 25th 2016 7:20a   Francesco De Collibus
I was behind a corporate firewall and had to run gradlew (gradle) from Cygwin. The system was running a cntlm authentication proxy. I ran the following command export http_proxy=http://127.0.0.1:3128/ export https_proxy=$http_proxy Then I ran ./gradlew -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128 -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 I hope it helps
11
Did you know?
Mon, May 23rd 2016 12:09p   Francesco De Collibus
That pushing CTRL + directional arrows allows you to skim a text document by entire words? This discovery is going to change my life!




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition