---
title: "hibernate 复合主键"
author: "hwpok"
date: "2009-11-26T11:16:00Z"
tags: []
slug: "hibernate"
draft: false
lastmod: "2009-11-26T11:16:00Z"
id: 615714
url: "https://hwpok.iteye.com/blog/615714"
---

hibernate的复合主键的类一定要实现Serializable接口,不然会报错的.