Hi there,
i'm getting error messages while trying to access an informix by annotations.
informix version is 11.5, hibernate 3.x (latest included in seam 2.1).
can anybody send a - working - annotations class sample? my class looks like:
Code:
....
@Entity
@Table(name = "column_name", schema = "informix", catalog = "myCatalogName", uniqueConstraints = @UniqueConstraint(columnNames = "myUniqueColumn_nr"))
public class ClassName implements java.io.Serializable {
.....
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE datasources
PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
"http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
<datasources>
<local-tx-datasource>
<jndi-name>informixAppDatasource</jndi-name>
<connection-url>jdbc:informix-sqli://server:20006/dbName:INFORMIXSERVER=servernameonnet</connection-url>
<driver-class>com.informix.jdbc.IfxDriver</driver-class>
<user-name>usr</user-name>
<password>passwd</password>
</local-tx-datasource>
</datasources>
taken from stack trace
Code:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: MyClassName is not mapped....
thanks a lot