micromax / activejdbc

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

ActiveJDBC performs UPDATE when ID is provided, and I cannot call insert directly #195

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Craete your model
2. Set id
3. call saveIt()

What is the expected output? What do you see instead?
There UPDATE shown in log file (and it is normal because of ID provided). But I 
cannot call insert() directly because it is private.

I want to build croos-db application, and there are no cross-db AUTO_INCREMENT 
implementation, so I want to use some table with last ID value and then set it 
manually on object creation.

What version of the product are you using? On what operating system?
MacOS 10.6, ActiveJDBC 1.4.1

Original issue reported on code.google.com by dg.fr...@gmail.com on 14 Jun 2013 at 2:17

GoogleCodeExporter commented 8 years ago
Sorry, I've used the deprecated version. Could you close this issue?

Original comment by dg.fr...@gmail.com on 14 Jun 2013 at 2:25

GoogleCodeExporter commented 8 years ago
no problem

Original comment by i...@polevoy.org on 14 Jun 2013 at 3:57