remoting problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anthony Sox

    #1

    remoting problem

    Hi all

    i have an object example employee with property Id. when the employee object
    is new the Id property is 0 and when it is saved to the database the Id
    property is set to the automuber from the database. The data access
    component is a remote component.

    my problem is when when i run my application and place break point my object
    is updated with the correct value at the data access component but when it
    is serialized back to the application it value if reset to 0.

    any ideas? or is there something special i should to maybe to config file
    ....?


  • Dennis hoyer

    #2
    Re: remoting problem

    Hi,
    if you have an autonumber field in your database,
    your application will not get this autonumber automaticly.

    The better way is to create a new guid and save it by your
    application.
    If your backend haven't a guid datatype, then cast this to a string

    best regards
    Dennis Hoyer


    -------


    Comment

    Working...