2
I have a project that runs on Vb and I have to move on to Java, in part I have the structure statements. My question is: What is the best way to do this in Java without loss of performance?
The files I have to read are large and will be saved in SQL, I can not send directly, because I have to treat the data, but I think creating an object for each structure is very heavy.
Example:
Public Type defItemVendidoComp
data As Date
Hora As String * 8
NumeroPDV As Integer
TipoTransacao As Byte
Sequencial As Long
NumeroCupom As Long
Operador As String * 6
CodigoAutomacao As Double
DigitoAutomacao As Byte
CodigoInterno As Double
DigitoInterno As Byte
Peso As Single
PesoMin As Single
PesoMax As Single
Tolerancia As Single
End Type