Posts by GiovaniAbel • 71 points
2 posts
-
1
votes1
answer14
viewsA: Error in test code: Object() takes in Parameters
The init method is misspelled, the correct way to write it would be with two underlines, as follows: class Caneta: def __init__(self, cor, modelo, ponta): self._cor = cor self._modelo = modelo…
pythonanswered GiovaniAbel 71 -
3
votes2
answers2211
viewsA: How to save images in the database using spring boot?
Not knowing which DBMS you are using, I recommend saving an array of bytes (bytearray) as a BLOB, the Oracle and Postgresql have support for this type natively. To save it, just map the field in…