Netbeans JDBC Pervasie auto generate entity class in Java
a
anonymous
started a topic
over 10 years ago
[This topic is migrated from our old forums. The original author name has been removed]
Hi I'm trying to autogenerate entities in netbeans from the db (Pervasive 11) but I get the error "no primary key" for every table. AFAIK this is caused by non matching pk-fk (I'm not the admin of the db, so I can't change the fieldnames). And I am using the JDBC connector issued by pervasive.
Is there a way how to still be able to autogenerate the java code?
Thanks for any help
Re: Netbeans JDBC Pervasie auto generate entity class in Java
Hi,
If you are looking at generating Java code from a DB using Netbeans I suggest you check with the Netbeans community.
Our product DbVisualizer is able to render a references graph out of the primary/foreign key mappings in a database. It cannot produce any Java code.
Read more in:
http://confluence.dbvis.com/display/UG91/Viewing+Entity+Relationships
http://confluence.dbvis.com/display/UG91/Viewing+Table+Relationships
I hope this helps.
Regards
Roger
a
anonymous
said
over 10 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Netbeans JDBC Pervasie auto generate entity class in Java
Thank you very much for your answer! Sorry for my confusion, I had seen posts on here java and Pervasive, that's how I concluded I'd post my question. And I appreciate your help.
I will take a look at your program,
Tom
anonymous