How can I make use of C# System.DBNull.value in Java?
See the question and my original answer on StackOverflow.NET System.DBNull
is equivalent to a VARIANT
of type VT_NULL. In fact this is documented officially here: DBNull Class
So I suppose using com4j you can create a Variant, call setType(VT_NULL), and pass this to the .NET interop layer.