We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an integer field declared optional receive 0 value instead of null
@JsonProperty("numScelleBouteille") val numScelleBouteille: Int? = null,
Generated code show that null is accepted
CREATE TABLE IF NOT EXISTS `Lots` (`photo1` TEXT, `photo2` TEXT, `photo3` TEXT, `dateOperationDTMC` TEXT, `installations` TEXT, `analyse` INTEGER, `volume` REAL, `dateOperation` TEXT, `heurePrelevement` TEXT, `modalitePrelevement` INTEGER, `numScelleBouteille` INTEGER, `signataire` TEXT, `signature` TEXT, `volumeDTMC` REAL, `numLot` TEXT, `lot_S_K` TEXT, `lot_QS` INTEGER, `operateur` TEXT, `produit` TEXT, `millesime` TEXT, `typeOperation` TEXT, `installationOperation` TEXT, `installationStockage` INTEGER, `origineLot` TEXT, `analyseTransmise` INTEGER, `commentaire` TEXT, `__KEY` TEXT NOT NULL, `__STAMP` INTEGER, `__GlobalStamp` INTEGER, `__TIMESTAMP` TEXT, PRIMARY KEY(`__KEY`))");
_columnsLots.put("numScelleBouteille", new TableInfo.Column("numScelleBouteille", "INTEGER", false, 0, null, TableInfo.CREATED_FROM_ENTITY));
The text was updated successfully, but these errors were encountered:
finally not really NULL but "null" are inserted by project generator this project has no issue
"null" string injected into integer field, are casted. to 0 when converting to int
Sorry, something went wrong.
e-marchand
No branches or pull requests
an integer field declared optional receive 0 value instead of null
Generated code show that null is accepted
The text was updated successfully, but these errors were encountered: