Quantcast
Channel: User user1944408 - Stack Overflow
Browsing all 26 articles
Browse latest View live

Answer by user1944408 for Relational vs Columnar and Document Databases -...

In no schema db you don't have fixed columns and types. For example product 'Jeans' can have attributes 'price', 'length' and 'model' (M/W) but for product book you have attributes 'price', 'authors'...

View Article


Answer by user1944408 for Non virtual methods in Java

Make it static.If you call a non-virtual method then you want to know from your code which class method you are calling. The flaw of .net is that you cannot know that from your code.ExampleIn Java if...

View Article

Answer by user1944408 for Why are methods virtual by default in Java, but...

There are 2 major reasons why virtual by default is so much better than non-virtual.The main principles about usefulness of OOP is Liskov substitution principle, polymorphism and late binding . I use...

View Article

Answer by user1944408 for Do a IN in stored procedure with variable

First you need to convert comma separated values into an varray and then use stmt := stmt || ' AND Risk.Code IN (select column_valuefrom TABLE(v_my_data))';One technique:...

View Article

Answer by user1944408 for How to identify and remove Threads/ThreadLocals...

If you use ThreadLocal in your code you could replace that ThreadLocal with ImrpovedThreadLocal that I made and you will not have a memory leak on stop/redeploy. You can use that threadLocal in the...

View Article


Answer by user1944408 for ThreadLocal garbage collection

Object b will not be subject for garbage collection if it somehow refers to your Test class. It can happen without your intention. For example if you have a code like this:public class Test { private...

View Article
Browsing all 26 articles
Browse latest View live