objectbox / objectbox/objectbox-java

Support BigDecimal

Open
#185 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
4.6k
Forks
311
PR merge metrics
No merged PRs in 30d

Description

Check https://stackoverflow.com/questions/46277927/how-can-i-use-objectbox-to-store-money-values-bigdecimal

As a first workaround we could provide an converter out of the box.

Open questions:

  1. Can we have a efficient binary format - or should we just go with strings?
  2. Can we make it sortable with reasonable effort?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Stack Overflow discussion and the issue's proposed converter workaround. Determine whether BigDecimal support should use an efficient binary or string representation and whether the stored value can remain sortable; done means the project has an agreed, implemented support path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.