Update Device table fileld from server code

  • Anonymous - 2013-02-22

    This is general question.
    For example I has a tk10x server. (I have a custom tracker based on tk102 code).
    In Device table I add one field, for example FLD_newField. and put set/get function setNewField(String value), and String getNewFieldValue().

    In server tk10x code during parsing a string from tracker I must save "newField" (that I get from tracker) value to DB.

    How I can made this?

    Please help.

  • Eduardo Robles

    Eduardo Robles - 2013-02-23

    A general answer for a general question :)
    You should use then something like:

    And then you should use something like

    within a try { } sentence to effectively save the information.


  • Anonymous - 2013-02-23

    Thank for reply.
    But I have a problem with Device.save function realization.
    Has OpenGTS simular function realization?

  • Anonymous - 2013-02-26

    Thank you. Its works without problems.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks