-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No AUTO_INCREMENT in DatabaseMetaData.getTypeInfo() #3567
Comments
Hi katzyn, Thank you for correcting it, especially so quickly!!! Maybe you can help me to finish the integration of auto increment in Base?
If so, I can create the table then the index in two separate commands:
I don't know the second command... |
You need to compile H2 from its current sources by yourself. I don't think a new version of H2 will be released in the near future. Building instructions are here: You need a
You cannot specify a name of a catalog in table definitions of H2 and H2 doesn't support multiple catalogs, there is always only one catalog with the same name as a name of database. You need to replace Also There are no indexes in this definition. |
After new test I realize that the creation of tables with autoincrement works perfectly. I must have made mistakes on my side, I'm sorry... I will try to compile the corrected version, thank you for your reactivity... |
I try to compile in Eclipse but many dependency are missing... I dont find for:
and Thanks |
Build script mentioned in building instructions is can download everything from Maven Central, you need to launch it at least once to get dependencies. |
I have already run the command
Maybe I digress... |
You need to refresh your project. After that you can add all jars from h2/ext directory to build path of your project. |
You are right katzyn, I had not seen the |
I can compile with 2 error:
But the archive gives me satisfaction I can create tables with autoincrement... Thanks again... |
Hi all,
I come back for my driver for LibreOffice / OpenOffice...
It seems that no DataType returned by DatabaseMetaData.getTypeInfo() has the AUTO_INCREMENT column set to true.
Normally it seems that DataType: INTEGER, BIGINT, TINYINT, SMALLINT, NUMERIC, DECIMAL could be autoincrement and have AUTO_INCREMENT column set to true.
This prevents me from being able to handle auto-increments in creating tables in Base... any workaround?
Thanks.
The text was updated successfully, but these errors were encountered: