I'm trying to set the current datetime in a java EE7 web app to an apache derby database I have.
I'm using timestamp in both java and derby so I don't have to worry about type conversions.
However, the only way I know of to get the current datetime is through calendar.set(Calendar time).
Is there inherent way to set the current datetime for timestamp or will I need to use a converter?