Forget about flag, I can use properties.
"zeljko_t" wrote:
Now I understand some design decisions in tools much better.
Additional problem is that with existing SimpleValue I can't distinguish between CustomType and enumeration, an I have to because they generate different annotations (@Type vs @Enumeration + enum definition).
Are you aware of any other types that are parametrized and require special handling?
When do you plan to introduce columnToHibernateTypeProperties(...)?
"zeljko_t" wrote:
Forget about flag, I can use properties.
It works!!! I managed to generate both POJOa and screens (but without combos).
I had to remove boolean improvement to make it work :(
"max.andersen@jboss.com" wrote:"zeljko_t" wrote:
What type are you actually generating for those enums ?
I generate enum inside class for every property, eg:public enum service {ldap,ldaps} @Column(name="service", unique=false, nullable=false, insertable=true, updatable=true, length=5) @Enumerated(EnumType.STRING) public service getService() { return this.service; }
Needs some more work, though.
"max.andersen@jboss.com" wrote:"zeljko_t" wrote:
Forget about flag, I can use properties.
what flag ?