kink80 / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

PrimaryKeys not found, JDBC and H2 database #271

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Simply use
public static Jdbc H2_DB = new Jdbc("org.h2.Driver", "jdbc:h2:~/test2", "sa", 
"");
2.populate the db with the CONSUMER table and its entries
3.check that in the class GenerateJdbcModel calling the method getPrimaryKeys 
no primary key has been found, then in class JdbcModelToMetaData because of 
missing primary key the table is skipped.

What is the expected output? What do you see instead?
I should access to the content of the table.

What version of the product are you using? On what operating system?
0.6

Thanks a lot for your attention.
Eugenio

Original issue reported on code.google.com by eugenio....@gmail.com on 4 Oct 2013 at 5:29

Attachments: