cancel
Showing results for 
Search instead for 
Did you mean: 

The Hibernate connection SyBase ASA can create tables and cannot insert data

ximen
Participant
0 Kudos
1,792

user c3p0 connection sybase any where 12 DB, The following statement has been run

ALTER DATABASE UPGRADE JCONNECT ON;

The error is as follows: ~ SQL Error: 0, SQLState: JZ0SJ

ERROR ~ JZ0SJ: Metadata accessor information was not found on this database. Please install the required tables as mentioned in the jConnect documentation.

javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [models.LatoCatalog]

at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1214)

at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147)

at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1153)

at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:678)

at play.db.jpa.JPABase._save(JPABase.java:37)

at play.db.jpa.GenericModel.save(GenericModel.java:184)

alt text

The problems encountered were the same as those in the web site, but no solution was found link the same ERROR (Http://lists.jboss.org/pipermail/hibernate-issues/2009-August/016491.html)

Accepted Solutions (0)

Answers (0)