开发者

Can i send an @entity through TCP java socket?

all my test fails ... so is possible send an @entity using a TCP开发者_如何转开发 socket?

UPDATE

Problem is related at this post https://stackoverflow.com/questions/3097269/hibernate-send-entity-through-tcp-lose-persistentbagor-not-update-it

Thanks.


I guess you should be able to send any object that is Serializable through a socket. The @Entity annotation has probably nothing to do with it.

Could you however refine your exact problem and what you are trying to do? As it is now, it doesn't make much sense.


You can send everything that fits into an array of bytes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜