Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Anyone noticed that Netbeans "new entity classes from database" has a problem with default values?

Jordan Thompson
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For good or bad, we use mysql workbench to manage our database design.
This design is pushed to a temporary mysql database that we then point netbeans at to generate the persistence code for our objects.

I just discovered that default values are not being picked up by netbeans when it creates classes that have them.

Anyone else seen this, or am I missing something?

For now, I have hand-massaged the generated code (ask me if that is an accident waiting to happen!) I had a feeling we were going to outgrow this system, but I was hoping to put it off a while (I like the graphic design space!)
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!