[JBossWS] - Re: NullPointerException using wstools
by mavalla
I found that the error is in lines like this in the schema files:
<xs:extension base="StringLength0to128">
If I change the type from StringLength0to128 to xs:string and now it passes the error.
The new lines are like this:
<xs:extension base="xs:string">
The StringLength0to128 is a type defined by the OTA specification as:
<xs:simpleType name="StringLength0to128">
<xs:annotation>
<xs:documentation xml:lang="en">Used for Character Strings, length 0 to 128</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="128"/>
</xs:restriction>
</xs:simpleType>
It seems that the wstools doesn't support "xs:extension base" with types defined in the schema but only simple types.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987499#3987499
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987499
19Â years, 7Â months
[Persistence, JBoss/CMP, Hibernate, Database] - How to map Oracle8 Char(3), Char(6) fields
by rrusinkiewicz
I've tried to map oracle char(3) as follows:
<java-type>java.lang.String</java-type>
<jdbc-type>VARCHAR</jdbc-type>
<sql-type>CHAR(3)</sql-type>
but it does not help I get the following exceptions:
ObjectName: persistence.units:ear=roc-ejb1.ear,jar=roc-ejb1.jar,unitName=reportoperation
State: FAILED
Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: t$SUNO, expected: varchar2(255)
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.j2ee:ear=roc-ejb1.ear,jar=roc-ejb1.jar,name=ReportOperation,service=EJB3
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987495#3987495
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987495
19Â years, 7Â months