Donate Share

SchemaCrawler

Subscribe

typeClassName is null for Derby database

You are viewing a single message from this topic. View all messages.

  1. 2009-09-19 19:45:12 UTC

    The method works fine (I only tried the version I've built last night, I can't test the final 7.3 until monday), but there is a problem with the mappings recommendations. Let´s say I have a table with a nullable integer column that maps to an int, if I write an entity class with a setter method corresponding to that column and attempt to set the field to null, I'll get a compiler error. It would be better to use the object version of the primitive types (Integer in this example), I've seen other code generators doing the same, but I acknowledge that this would be against the official recomendations.... so I can't give a definitive argument. Hope this makes sense. Cheers, Daniel

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.