티스토리 뷰

728x90

https://stackoverflow.com/questions/5129552/generatedvaluestrategy-generationtype-auto-not-working-as-thought

 

@GeneratedValue(strategy = GenerationType.AUTO) not working as thought

I'm trying to persist an object to a database. Keep getting 'Column ID cannot accept null value error'. My object looks like this: @Entity public class TestTable { @Id @GeneratedValue(

stackoverflow.com

 

728x90
댓글