My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Nov 24, 2009
    issue 15 (What is the status of Persist?) reported by johngilbrough   -   It sure looks like a great idea. Is anyone using this in production?
    It sure looks like a great idea. Is anyone using this in production?

Earlier this year

  • Sep 16, 2009
    issue 14 (how to persist an many to many relation) reported by jkkoolen   -   Question? e.g. When a person works for several companies i want to have a many to many relation. Person POJO int Id String FirstName String LastName List<Company> companies (@NoColumn) mapped to Person in mysql +-----------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+-------------+------+-----+---------+----------------+ | Id | int(11) | NO | PRI | NULL | auto_increment | | FirstName | varchar(80) | YES | | NULL | | | LastName | varchar(80) | YES | | NULL | | +-----------+-------------+------+-----+---------+----------------+ Company POJO int Id String Name Mapped to Company in mysql +---------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+-------------+------+-----+---------+----------------+ | Id | int(11) | NO | PRI | NULL | auto_increment | | Name | varchar(80) | YES | | NULL | | +---------+-------------+------+-----+---------+----------------+ i also have a Person_Company table. +------------+---------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +------------+---------+------+-----+---------+-------+ | Person_Id | int(11) | YES | | NULL | | | Company_Id | int(11) | YES | | NULL | | +------------+---------+------+-----+---------+-------+ I can store Person and Company in there own tables by using persist.insert(myPerson) and persist.insert(myCompany) But how can i store Person.id and Company.id in a Person_Company table?
    Question? e.g. When a person works for several companies i want to have a many to many relation. Person POJO int Id String FirstName String LastName List<Company> companies (@NoColumn) mapped to Person in mysql +-----------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+-------------+------+-----+---------+----------------+ | Id | int(11) | NO | PRI | NULL | auto_increment | | FirstName | varchar(80) | YES | | NULL | | | LastName | varchar(80) | YES | | NULL | | +-----------+-------------+------+-----+---------+----------------+ Company POJO int Id String Name Mapped to Company in mysql +---------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+-------------+------+-----+---------+----------------+ | Id | int(11) | NO | PRI | NULL | auto_increment | | Name | varchar(80) | YES | | NULL | | +---------+-------------+------+-----+---------+----------------+ i also have a Person_Company table. +------------+---------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +------------+---------+------+-----+---------+-------+ | Person_Id | int(11) | YES | | NULL | | | Company_Id | int(11) | YES | | NULL | | +------------+---------+------+-----+---------+-------+ I can store Person and Company in there own tables by using persist.insert(myPerson) and persist.insert(myCompany) But how can i store Person.id and Company.id in a Person_Company table?
  • May 08, 2009
    issue 13 (Maven repo) reported by b.k.oxley   -   Please deploy to a public maven repo so I may easily specifiy persist as a project dependency.
    Please deploy to a public maven repo so I may easily specifiy persist as a project dependency.
  • May 08, 2009
    issue 7 (Project Stalled? Keep going!) commented on by b.k.oxley   -   Likewise.
    Likewise.
  • Apr 22, 2009
    issue 12 (patches to add better Oracle scheme support) reported by cginzel   -   the crud functions were failing for me because the schema name needed to be prefixed to the table name, however, because of how the code does it's mapping, it's not possible to place the scheme in the table name so i've updated the table annotation to include a schema value and used it when building the crud sql statements.
    the crud functions were failing for me because the schema name needed to be prefixed to the table name, however, because of how the code does it's mapping, it's not possible to place the scheme in the table name so i've updated the table annotation to include a schema value and used it when building the crud sql statements.
  • Mar 04, 2009
    issue 11 (Not able to return last generated id) reported by lukas.zapletal   -   I need to know last generated id of insert statement. The library is not able to provide it for me. After insert operation the Id attribute is still set to zero and last prepared statement is null. I am not able to get this information.
    I need to know last generated id of insert statement. The library is not able to provide it for me. After insert operation the Id attribute is still set to zero and last prepared statement is null. I am not able to get this information.
  • Mar 04, 2009
    issue 4 (jdk 1.4) commented on by lukas.zapletal   -   Its annotation based. I dubt.
    Its annotation based. I dubt.
  • Mar 04, 2009
    issue 10 (Doc typo - autoIncrement [PATCH]) reported by lukas.zapletal   -   Small correction in your documentation. Nice library! Lukas
    Small correction in your documentation. Nice library! Lukas

Older

  • Dec 16, 2008
    issue 7 (Project Stalled? Keep going!) commented on by fterrier   -   same thing here, great project !
    same thing here, great project !
  • Nov 24, 2008
    issue 9 (Support for Enumerations) reported by florin.gheorghies   -   I've added support for Enums in my copy of the source files. If anyone needs it let me know so I'll post it here. You will be able to have a persist-able field that is an Enum type without creating a matching database custom type unless, of course, you want to enforce the values in the database as well.
    I've added support for Enums in my copy of the source files. If anyone needs it let me know so I'll post it here. You will be able to have a persist-able field that is an Enum type without creating a matching database custom type unless, of course, you want to enforce the values in the database as well.
  • Nov 01, 2008
    issue 8 (isBoolean() style bean getter not supported) reported by dfraser   -   The method finder doesn't see the isBoolean() style methods... an easy workaround is to add getBoolean() methods as well, but it would nice to detect the 'is' methods!
    The method finder doesn't see the isBoolean() style methods... an easy workaround is to add getBoolean() methods as well, but it would nice to detect the 'is' methods!
  • Oct 31, 2008
    issue 7 (Project Stalled? Keep going!) commented on by dfraser   -   Hear hear! Persist is just what I've been looking for!
    Hear hear! Persist is just what I've been looking for!
  • Oct 28, 2008
    issue 7 (Project Stalled? Keep going!) reported by florin.gheorghies   -   The project looks great. Please don't abandon.
    The project looks great. Please don't abandon.
  • Oct 27, 2008
    issue 6 (how to insert data to oracle clob field) reported by myzengming   -   What steps will reproduce the problem? 1. I create a class implements Clob (like spring PassThroughClob) 2. persist.executeUpdate("inert into test (id,test) values (?,?)", "123", lob); 3. throw a Excepiton "PassThroughClob cannot be cast to oracle.sql.CLOB" thx!
    What steps will reproduce the problem? 1. I create a class implements Clob (like spring PassThroughClob) 2. persist.executeUpdate("inert into test (id,test) values (?,?)", "123", lob); 3. throw a Excepiton "PassThroughClob cannot be cast to oracle.sql.CLOB" thx!
 
Hosted by Google Code