These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Online DTD broken on sql-query ELEMENT
PostPosted: Sat Mar 31, 2007 2:23 pm 
Newbie

Joined: Sat Mar 31, 2007 1:51 pm
Posts: 1
Location: Paris
Hi,

I noticed that the online DTD for hibernate mapping files is broken, the following attributes are no longer part of the sql-query element:
- cache-mode
- read-only
- comment

It is most likely due to a copy-paste operation between query and sql-query elements attributes, here is the corrupted part of current DTD :
Quote:
<!ELEMENT query (#PCDATA|query-param)*>
<!ATTLIST query name CDATA #REQUIRED>
<!ATTLIST query flush-mode (auto|never|always) #IMPLIED>
<!ATTLIST query cacheable (true|false) "false">
<!ATTLIST query cache-region CDATA #IMPLIED>
<!ATTLIST query fetch-size CDATA #IMPLIED>
<!ATTLIST query timeout CDATA #IMPLIED>
<!ATTLIST query cache-mode (get|ignore|normal|put|refresh) #IMPLIED>
<!ATTLIST query read-only (true|false) #IMPLIED>
<!ATTLIST query comment CDATA #IMPLIED>

<!-- The sql-query element declares a named SQL query string -->

<!ELEMENT sql-query (#PCDATA|return-scalar|return|return-join|load-collection|synchronize|query-param)*>
<!ATTLIST sql-query name CDATA #REQUIRED>
<!ATTLIST sql-query resultset-ref CDATA #IMPLIED>
<!ATTLIST sql-query flush-mode (auto|never|always) #IMPLIED>
<!ATTLIST sql-query cacheable (true|false) "false">
<!ATTLIST sql-query cache-region CDATA #IMPLIED>
<!ATTLIST sql-query fetch-size CDATA #IMPLIED>
<!ATTLIST sql-query timeout CDATA #IMPLIED>
<!ATTLIST query cache-mode (get|ignore|normal|put|refresh) #IMPLIED>
<!ATTLIST query read-only (true|false) #IMPLIED>
<!ATTLIST query comment CDATA #IMPLIED>
<!ATTLIST sql-query callable (true|false) "false">


I've highlighted the broken attributes in red.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.