开发者

Can i send an @entity through TCP java socket?

开发者 https://www.devze.com 2023-01-04 06:26 出处:网络
all my test fails ... so is possible send an @entity using a TCP开发者_如何转开发 socket? UPDATE

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

精彩评论

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