Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

bindu.jakkula_146820 avatar image
bindu.jakkula_146820 asked ·

What is the equivalent of com.datastax.driver.core.LocalDate in Java driver 4.5?

we have upgraded from dse java driver v1.6.7 to DSE OSS driver v4.5. Found LocalDate is no longer available. Please suggest the equivalent in v4.5.

driver
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

alexandre.dutra avatar image
alexandre.dutra answered ·

Hi, you should use java.time.LocalDate. We have some documentation about temporal types here.

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.