Create autoincrement key in Java DB using NetBeans IDE

后端 未结 7 1085
慢半拍i
慢半拍i 2020-11-30 03:55

I\'m coming from MySQL world, please help.

Is it possible to create autoincrement key from NetBeans IDE in JavaDB?

Do you use some more advanced db clients,

7条回答
  •  难免孤独
    2020-11-30 04:45

    If you want to use Netbeans to define tables read this https://codezone4.wordpress.com/2012/06/19/java-database-application-using-javadb-part-1/ Simply define column as integer and create database, then grab structure to a temporary file, then delete table. Right clik to tables folder and select recreate table, select saved file and edit script for auto increment.

提交回复
热议问题