[hibernate-dev] H4 mapping xsd question

Strong Liu stliu at hibernate.org
Fri Jul 6 06:27:06 EDT 2012


Hi, 

I have two question about this xsd:

1. why we use xs:string for attributes such as timeout, batch-size, is there a specific reason?
I'm purposing this change https://gist.github.com/3059390

2. we used to have this with the dtd, but I doubt if it is still possible with in the current xsd. at least I could not find how to get this query text form org.hibernate.internal.jaxb.mapping.hbm.JaxbSqlQueryElement

not a xsd guy, can someone take a look?


 <sql-query name="orgNamesOnly">
		<return-scalar column="NAME" type="string"/>
		SELECT org.NAME FROM ORGANIZATION org
</sql-query>




-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio



More information about the hibernate-dev mailing list