Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.252
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol 5.0.251
  HXTT DBF 7.1.252
  HXTT Excel 6.1.255
  HXTT Json 1.0.223
  HXTT Paradox 7.1.251
  HXTT PDF 2.0.251
  HXTT Text(CSV) 7.1.251
  HXTT Word 1.1.251
  HXTT XML 4.0.252
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT ACCESS
Hibernate RECNO()
Al
2012-02-25 07:07:38
Hello,
I'm using hibernate and XTT Access and all is working fine.
Except if i use myQuery.getSingleResult() the query is "encapsulated" inside:
select * from ( here is my query ) where RECNO() <= ?

But the RECNO value is no good and the query doesn't return the result.
If i use the query directly (with aqua studio) it works.

How can i remove this?
Thanks in advance
Re:Hibernate RECNO()
HXTT Support
2012-02-26 04:38:05
Whether your query has more than one table?
Re:Hibernate RECNO()
HXTT Support
2012-02-26 04:39:06
It seems that we need to provide LIMIT clause support.
Re:Re:Re:Hibernate RECNO()
Al
2012-02-26 05:45:05
No only one table.
Using getResultList() and returning the first index is working...
Re:Re:Re:Re:Hibernate RECNO()
HXTT Support
2012-02-27 00:28:09
LIMIT supported. Please redownload hibernate support package and HXTT Access package.
Re:Re:Re:Re:Re:Hibernate RECNO()
Al
2012-02-27 01:57:27
Yes it works!

Great support, thanks

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap