sabel

Show:

What's happening?

  • Followup: RE: Managing Sequences

    Thanks for the help. This is the basic code that I have written to work with PostgreSQL and it is managing "auto" values without a problem. I only need to write it in such a way that it will be able to work for all tables and to reduce the chances of having two records sharing the same primary key. Hope it is a help to the others. Kind regards /* * To change this template...

    2009-07-03 09:07:07 UTC in Ammentos Persistence Layer

  • Followup: RE: Managing Sequences

    I have tried that and I keep getting this error: Exception in thread "main" it.biobytes.ammentos.PersistenceException: org.postgresql.util.PSQLException: Returning autogenerated keys is not supported. at it.biobytes.ammentos.persistors.DatabasePersistor.save(DatabasePersistor.java:222) at...

    2009-06-05 13:39:51 UTC in Ammentos Persistence Layer

  • Managing Sequences

    Hello. Just wanted to ask how best I can be able to manage sequences in a DB like postgresql. I have been using mysql since and it autogenerates keys but I'm just stumped on how to work it with postgresql. Kindly assist.

    2009-06-04 11:37:20 UTC in Ammentos Persistence Layer

About Me

  • 2009-06-04 (5 months ago)
  • 2526130
  • asbirya (My Site)
  • sabel

Send me a message