Re: Hibernate Dialect error against Firebird 2.1.2 DB via JDBC

ColdFusion9 ColdFusionBuilder1 on XP Pro
Ok, now I'm completely stuck.  After 2 days of configuring CFB9 (and it's Administrator) I was able to, in CFB connect to a Firebird DB in design time using JDBC instead of ODBC.  However, when I try to Run the project, I have exactly the same problem as when I configured to connect CF to FB via ODBC...and that problem is...
Hibernate is complaining that it needs to know the Dialect of the Firebird database.  Well, it's 3.. but, how do I configure Hibernate so that it knows this value?  I know nothing about Hibernate, nor how to configure it.  I've done a search on my HD for files with the extension *.hbm.xml but no results come up.
If this can be solved, then CF9 can be used on the many hundreds of thousands of Firebird databases that are in use today, and CF's market will grow substantially.
Thanks in advance.

The Hibernate dialect (ie: for this.ormsettings.dialect) for Firebird is org.hibernate.dialect.FirebirdDialect.  I found that out by googling "hibernate firebird dialect".
I have installed FB, strummed up a datasource in CF and done some testing of CF's Hibernate integration at it all seems fine to me.  My testing was only as extensive as having it create some tables and persisting some object in 'em though.  But if it does that much, I have no reason to think it's doesn't fully work as one would expect.
Not that it matters, but I think you are overestimating the importance of Firebird in the general RDBMS market.  One would never hear it mentioned in the same sentence as Oracle or SQL Server.  Or even MySQL, PostgreSQL etc.  Not that my own experience is authoritative, but in 15 years in the IT industry, I hadn't even heard of it until about a week ago.  But still... that's neither here nor there.  CF/Hibernate supports it already anyhow.
Adam

Similar Messages

  • Error in Connecting to MS SQL 2005 via JDBC Driver

    Here's the setup
    CF MX7 resides on a centOS wid Apache 2.0 webserver box.
    I need to established a datasource connection between the
    Coldfusion server and a MSSQL 2005 Express+SP1 database sitting on
    a remote XP wid SP2 setup.
    I've also downloaded and installed on the /lib folder of the
    CFMX7 server the corresponding JDBC drivers (versions 1.1 and 1.0)
    for the MS SQL server.
    The thing is, this problem always occurs:
    Connection verification failed for data source:
    datasourcename
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
    JDBC]Error establishing socket.
    The root cause was that: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing
    socket.
    The datasource connection info is as follows:
    CF Datasource Name: datasourcename_JDBCdriver
    JDBC URL:
    jdbc:microsoft:sqlserver://192.168.0.47:1433;DatabaseName=nameofdatabase
    Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Driver Name: mssql2005
    Username: sa
    Password: userdefinedpassword
    I've already tried these settings:
    * Enabled mix mode of authentication under the SQL server
    * Affix a /MSSQLSERVER instance name on the jdbc url setting
    "jdbc:microsoft:sqlserver://192.168.0.47\MSSQLSERVER:1433;DatabaseName=nameofdatabase"
    but a different error had occured:
    The root cause was that: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance
    is either invalid or not running.
    so i remove it since its only an optional setting
    * Configured the SQL 2005 Express, under the SQL Server
    Configuration Manager, to listen to protocol TCP/IP under port 1433
    (this is the ONLY ENABLE protocol)
    I've checked using Telnet and netstat and the SQL service is
    normally listening to the said port.
    * Disabled windows firewall under XP (came with SP2)
    and even tried using other JDBC drivers such as:
    * macromedia drivers
    * jtds driver
    but to no avail.
    Is the problem still within the MS SQL 2005 Express wid
    XP+SP2 box or a connecting issue on the Cf server under the
    centOS/Apache machine?
    A little help would do wonders just about now.

    I had the same problem, but do not have express version. In
    the configuration manger, I viewed the properties of the enabled
    tcp/ip protocol. On the IP addresses tab, I found that though the
    IPs were enabled, the drop down beside active was no. I changed all
    to yes, applied it and restarted my instance. Then in the cf
    datasource I left the port blank and everything worked.

  • Oralce Error - ORA-01722 WARN  [org.hibernate.dialect.Oracle9Dialect]

    Hi.
    i want to know meaning of following Error and how to remove it.
    ORA-01722
    WARN [org.hibernate.dialect.Oracle9Dialect] The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
    Regards,
    Pradeep Kr. Sharma
    Edited by: user13389551 on Jul 12, 2010 11:27 PM
    Edited by: user13389551 on Jul 13, 2010 3:26 AM

    ORA-01722: invalid number
    Cause: The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates.
    Action: Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation.

  • Weblogic with Hibernate gives error of named queries ? urgent

    I have deployed my application on Weblogic 11g, it gives Hibernate Names query exception.
    My Application uses Hibernate 3.0 and it works successfully on
    Tomcat
    JBOSS
    Glassfish
    But , on weblogic it gives Named query exception .Please any once can help.
    I have put antlr-3.0 jar file in lib folder of Weblogic domain folder , and have added path of it in setDomainEnv.cmd file but still Hibernate gives error of named query.

    You can follow the steps presented here: http://middlewaremagic.com/weblogic/?p=5861
    The reason for the failure is the antlr library, which is already loaded through the system classpath, so you
    need to tell WebLogic which version is should load as Hibernate uses its own implementation of the antlr library.
    Adding it to the domain/lib directory does not help as jar files placed in this directory are added at the end of the system classpath at the end.
    Note that it is not good practice to place jar files in the domain/lib directory.

  • Hibernate restore error e00002bf

    Hi
    I have "Hibernate restore error e00002bf" not every time but very frequently when my mac mini wake from hibernation. How can I fix this without disabling hibernation?
    Configuration: Mac mini late 2012/i5-2.5GHz/16Gb DDR3 1600/HDD 500Gb SSD 256Gb/OS X 10.9.4 (13E28)
    Details:
    Anonymous UUID:       8B634A5B-5979-726E-9BDE-D2B57F1665FF
    Wed Jul 30 14:14:32 2014
    panic(cpu 0 caller 0xffffff802ca857f6): "Hibernate restore error e00002bf"@/SourceCache/xnu/xnu-2422.110.17/iokit/Kernel/IOHibernateIO.cpp:3110
    Backtrace (CPU 0), Frame : Return Address
    0xffffff821b8d3ae0 : 0xffffff802c622f79
    0xffffff821b8d3b60 : 0xffffff802ca857f6
    0xffffff821b8d3c60 : 0xffffff802c6e5707
    0xffffff821b8d3cc0 : 0xffffff7fae49badd
    0xffffff821b8d3d00 : 0xffffff7fae49f10f
    0xffffff821b8d3d20 : 0xffffff802cac3d6c
    0xffffff821b8d3d80 : 0xffffff802cadfae3
    0xffffff821b8d3dd0 : 0xffffff802caa3d65
    0xffffff821b8d3e40 : 0xffffff802ca9b22d
    0xffffff821b8d3eb0 : 0xffffff802caa9914
    0xffffff821b8d3ef0 : 0xffffff802caa9a1f
    0xffffff821b8d3f30 : 0xffffff802caaf292
    0xffffff821b8d3f80 : 0xffffff802caaf413
    0xffffff821b8d3fb0 : 0xffffff802c6d7417
          Kernel Extensions in backtrace:
             com.apple.driver.AppleACPIPlatform(2.0)[D47C34EB-6B40-3ADD-A9B9-13E0D6ED2097]@0 xffffff7fae491000->0xffffff7fae4e9fff
                dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7fad4b3000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7faccbe000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13E28
    Kernel version:
    Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
    Kernel UUID: BBFADD17-672B-35A2-9B7F-E4B12213E4B8
    Kernel slide:     0x000000002c400000
    Kernel text base: 0xffffff802c600000
    System model name: Macmini6,1 (Mac-031AEE4D24BFF0B1)
    System uptime in nanoseconds: 39048979586222
    last loaded kext at 38926163909323: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fae5e6000, size 49152)
    last unloaded kext at 33665901799330: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fae5e6000, size 32768)
    loaded kexts:
    com.parallels.filesystems.prlufs 2010.12.28
    com.parallels.kext.vnic 9.0 24237.1028877
    com.parallels.kext.netbridge 9.0 24237.1028877
    com.parallels.kext.hidhook 9.0 24237.1028877
    com.parallels.kext.hypervisor 9.0 24237.1028877
    com.parallels.kext.usbconnect 9.0 24237.1028877
    com.apple.driver.AppleIntelMCEReporter 104
    com.apple.filesystems.smbfs 2.0.2
    com.apple.driver.AppleBluetoothMultitouch 80.14
    com.apple.driver.AudioAUUC 1.60
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.2.6f1
    com.apple.driver.AGPM 100.14.28
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.ApplePlatformEnabler 2.0.9d6
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleIntelHD4000Graphics 8.2.8
    com.apple.driver.AppleIntelFramebufferCapri 8.2.8
    com.apple.driver.AppleIRController 325.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleFWOHCI 5.0.2
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.driver.AppleUSBXHCI 683.4.0
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
    com.apple.driver.AppleBluetoothHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.driver.IOBluetoothHIDDriver 4.2.6f1
    com.apple.driver.AppleMultitouchDriver 245.13
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOBluetoothFamily 4.2.6f1
    com.apple.driver.AppleSMC 3.1.8
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.iokit.IOAcceleratorFamily2 98.22
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
    com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.iokit.IOFireWireFamily 4.5.5
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.3.1
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.iokit.IO80211Family 640.36
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOUSBFamily 683.4.0
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 278.11.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 7
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.DiskImages 371.1
    com.apple.iokit.IOStorageFamily 1.9
    com.apple.iokit.IOReportFamily 23
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 2.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.pthread 1
    com.apple.kec.corecrypto 1.0
    Model: Macmini6,1, BootROM MM61.0106.B04, 2 processors, Intel Core i5, 2.5 GHz, 16 GB, SMC 2.7f1
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x0198, 0x393955353432382D3036332E4130304C4620
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x0198, 0x393955353432382D3036332E4130304C4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS545050A7E362, 500,11 GB
    Serial ATA Device: PLEXTOR PX-256M6S, 256,06 GB
    USB Device: Hub
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: Hub
    Thunderbolt Bus: Mac mini, Apple Inc., 23.4

    The kernels in backtrace would suggest a RAM problem, and or Graphics Driver/Card problem.

  • Error message when trying to open windows7 via vmwarefusion.

    error message when trying to open windows7 via vmwarefusion.;
    Unable to open file "/Users/geraldw/Documents/Virtual Machines.localized/Windows 7.vmwarevm/Windows 7-000016.vmdk": The system cannot find the file specified.
    I've completely uninstalled vmaware fusion. and would like to install a new copy of windows7 plus my vmware fusion3.0 that I have on a disk. I wonder if windows7 is still buried in my mac hard drive somewhere?  I can see some windows files on my mac but they appear a gray and can not be accessed. Could there be a problem installing a new copy of windows through boot camp?   It seems to do so wouldn't be a clean install as I suspect that windows 7 is still on the drive somewhere. I've tried to follow the path the file I listed above, but nothing comes up.  I'm almost certain  it was accidentally deleted completely from the hard drive as it was quarantined while using Clam X anti-virus. I'm a relatively new mac user and long time PC user, but a computer genius I am not. I don't want to have to reformat the whole mac machine and lose my current files, etc.
    I've uninstalled vmare completely and reinstalled, it, but the problem persists.
    Any help?

    You will probably get a better response asking this question in VMWare's forums for Fusion.
    Best of luck.

  • Error while executing the stored procedure through sender JDBC adapter

    Hi All,
    I am getting below error while executing the stored procedure through sender JDBC adapter.
    Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
    what is the problem? any idea to anyone...
    regards
    Ramesh

    hi Dharamveer,
    I am not getting below statement for your reply
    Try to use Refrence Cursor it will return u reference of resultset.
    I mention SP like this
    exec SapgetNextEntity 'SalesOrder'
    SapgetNextEntity -
    > SP Name
    SalesOrder----
    > Parameter I am passing...
    regards
    Ramesh

  • Error trying to connect via jdbc

    I'm trying to connect via jdbc driver from a java application to a remote db. The code is quite simple
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@dbhost:orcl", "user", "password");
    in my CLASSPATH I have the ojdbc14.jar file
    When I run this program I get the following error:
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:366
    8)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at Test.main(Test.java:12)
    Please be aware of the following facts:
    1) sqlplus from the same machine has no problem connecting to the db
    2) there is no firewall or router between the client and the server
    3) As host name I've tried the fqdn (resolved by the DNS), a name I've set up in /etc/hosts, the mere IP address
    4) Checking with tcpdump, I've verified that NO network packet actually leaves the client, so the problem completely lies there.
    Has anyone some good idea why this happens?

    Make sure you are providing correct hostname and listener port number

  • Getting socket error while trying to get oracle connection using JDBC

    hi,
    I am getting following socket read error while trying to get database connection using JDBC. This happening with jdk1.5.0_12 version with Oracle 9i
    following is the stacktrace...
    Thread t@92: (state = IN_NATIVE)
    - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
    - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
    - oracle.net.ns.Packet.receive() @bci=31 (Compiled frame)
    - oracle.net.ns.DataPacket.receive() @bci=1 (Interpreted frame)
    - oracle.net.ns.NetInputStream.getNextPacket() @bci=48 (Compiled frame)
    - oracle.jdbc.driver.T4CMAREngine.unmarshalSB1() @bci=1, line=1070 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.doOall8(boolean, boolean, boolean, boolean) @bci=617, line=207 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.executeForDescribe() @bci=39, line=790 (Compiled frame)
    - oracle.jdbc.driver.OracleStatement.executeMaybeDescribe() @bci=106, line=1039 (Interpreted frame)
    - oracle.jdbc.driver.T4CStatement.executeMaybeDescribe() @bci=11, line=830 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() @bci=128, line=1132 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) @bci=76, line=1272 (Interpreted frame)
    any help would appreciated. thanks in advance

    I do not have exact exception message.
    additionally, i have got following the tomcat log file:
    INFO - Resource pool cleanup thread just woke up.
    Nov 1, 2008 3:41:52 AM org.apache.tomcat.util.threads.ThreadPool logFull
    SEVERE: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status
    INFO - Resource pool cleanup thread just woke up.
    thanks in advance

  • Query0;Runtime error time limit exceeded,with parallel processing via RFC

    Dear experts,
    I have created a report on 0cca_c11 cube and while running my report when i give cost center group which contains many cost centers , my report executes for long time and at last gives message
    "Error while reading data;navigation is possible" and
    "Query0;Runtime error time limit exceeded,with parallel processing via RFC"
    please tell me what is the problem and how can i solve this
    Regards
    Shweta

    hI,
    Execute the Query in RSRT with Execute and Debug option.
    Select SQL statements toknow where exactly it's taking time.
    Let us know the details once you done.
    Reg
    Pra

  • During hibernate query error in OC4J 10.1.3.4

    Hi friends,
    We get following error during one of Transaction execution..
    Anyone has idea abt this please let me know..
    2010-01-05 14:01:17,933(?:?) FATAL - java.lang.ClassCastException: oracle.jdbc.driver.T4CVarcharAccessor incompatible with java.io.Serializable
         at org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:1088)
         at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:554)
         at org.hibernate.loader.Loader.doQuery(Loader.java:689)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
         at org.hibernate.loader.Loader.doList(Loader.java:2145)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
         at org.hibernate.loader.Loader.list(Loader.java:2024)
         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    Hello friends,
    I am in a big trouble due to resultset behaviour....
    In my application during one hibernate query execution sometimes resultset.wasnull method stop returning any value.
    I have try to check same issue but no one i think have face this before.
    Sometime when I start OC4j application server, query get executed successfully.. only using connection pooling the same query fails
    even somtime ..
    I need a permenant solution for this. On debugging I come ot know that call to resultset.wasnull under
    hibernate class nullsafegettype somehow not returns any value..
    Return value set to oracle.jdbc.driver.T4CVarcharAccessor which creates problem.
    In my application I am using following versions.
    Oracle database. 10.1.0.5
    Application Server OC4j 10.1.3
    Hibernate Version 3.1
    Oracle JDBC Driver 10.1.0.5.0
    Thanks & Regards
    Edited by: user10313756 on 2010/01/20 18:34

    I am facing same issue ,have you get any work around

  • MIGO Error against SUB-Contract LB031

    Hi Expert,
    i have a Sub-contract scenario, both material and component under this material are managed with HU.
    step is:
    1. Create a sub-contract PO ME21N
    2. Create a delivery to Vendor for this component via ME2O
    3. G/R against this sub-contract PO MIGO
    4. Create a TO against the inbound Delivery Note which create in Step 3 LT0F;
    5. Confirm TO LT11;
    6. Post good receipt against Delivery note which create in Step 3 VL32N
    then there is a error message "Of the required quantity of material H000003786, 2.000 EA remain(s) open
    Message no. LB031"
    I checked there is enough component stock under vendor in MMBE.
    Can anybody help me?
    Much appreciate.
    Rocky

    Hi All,
    Thanks for your reply.
    +"what is the PO quantity? what is the receipt quantity? is H000003786 the material you ordered or the material that is consumed?
    what is the percentage of this material in your BOM if it is the component?"
    PO is 5000EA, and receipt quantity is 1 EA.
    BOM structure is:
         1EA  F0000007677 map 1EA H000003786 (Include 2% component scrap)
    So 1 EA F00007677 G/R requires 2 EA H0000003786. And i need to backflush 2EA H0000003786.
    You are talking about PGI and saying you have created TO in LT0F !! (which is for inbound delivery Putaway) !! Iam asking you to create a TO in LT03 and confirm. How do you issue your goods in IM? You have to create and confirm the TO for the same transaction. Pls be clear and revert.
    When i do G/R, only Inbound Delivery note is generated, so i can only to create TO via LT0F. How can i create outbound Delivery Note during MIGO transaction?
    Thank
    Rocky

  • IMac is shutting down when it attempts to sleep with 'hibernate image' error

    Our iMac is shutting down when it attempts to sleep.  This started following a Yosemite security update, though of course it is difficult to determine for sure that that was the cause.
    In the console, the following message occurs before every shut down:
    kernel[0]: Failed to get hibernate image filename
    Suggestions?  Does someone perhaps know what exactly the hibernate image is (we have a tiled screensaver that shows an iPhoto album -- could it be that one of those files is corrupt?) so that I can attempt to change it to see if that fixes the problem?
    Thanks!
    System:  iMac  (21.5-inch, Mid 2011), OS X 10.10.2
    Already tried:
    I reset the SMC by following Apple's instructions for this computer (turn off, unplug, wait, replug, wait, turn on)

    More information:
    1. It looks like the crash/shut down is happening when the display tries to sleep (timing is 15 min after the beginning of automatic sleep).
    2. When sleep is first initiated, I am seeing this in the console (not normal?):
    2015-03-25 9:22:05.987 AM ScreenSaverEngine[485]: Preflight for plugin com.apple.ILPhotosPlugin failed, so it will not load. Error Domain=NSCocoaErrorDomain Code=3587 "The bundle “iLMBPhotosPlugin” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/i LMBPhotosPlugin): Library not loaded: /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Phot oLibraryPrivate
      Referenced from: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/i LMBPhotosPlugin
      Reason: image not found) UserInfo=0x7fed83841320 {NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/i LMBPhotosPlugin, NSDebugDescription=dlopen_preflight(/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/i LMBPhotosPlugin): Library not loaded: /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Phot oLibraryPrivate
      Referenced from: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/i LMBPhotosPlugin
      Reason: image not found, NSBundlePath=/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin, NSLocalizedDescription=The bundle “iLMBPhotosPlugin” couldn’t be loaded because it is damaged or missing necessary resources.}
    The iLMBPhotosPlugin file does exist:
    ls -al "/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBPhotosPlugin.ilmbplugin/Contents/MacOS/"
    total 80
    drwxr-xr-x  3 root  wheel    102 30 Jan 07:46 .
    drwxr-xr-x  7 root  wheel    238 30 Jan 07:46 ..
    -rwxr-xr-x  1 root  wheel  99840 29 Sep 01:41 iLMBPhotosPlugin
    The Library PhotoLibraryPrivate.framework/Versions/A/PhotoLibraryPrivate does not (there is no directory called /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework)
    sudo ls -ald "/System/Library/PrivateFrameworks/Photo"*
    drwxr-xr-x  3 root  wheel  102 11 Sep  2014 /System/Library/PrivateFrameworks/PhotoLibrary.framework

  • Hibernate  � saveOrUpdate()  error  ! I had resolved this problem now!

    AbstractADO.java
    protected void saveOrUpdate(Object obj) {
    try {
    startOperation();
    session.saveOrUpdate(obj);
    // session.flush();
    tx.commit();
    } catch (HibernateException e) {
    handleException(e);
    } finally {
    HibernateFactory.close(session);
    ChinatCityDAO.java
    public boolean insert(ChinaCity city){
    System.out.println("ID : " city.getCityId() " City : "+city.getCityName());
    saveOrUpdate(city);
    return true;
    ++++++++++++++++++++
    I want to to finish a insert Action with the ChinatCityDAO.java extends AbstractADO.java
    1. the first time I submit a form. the console print out:
    ID : null City : shanghai
    Hibernate: insert into china_city (CityName, CityId) values (?, ?)
    and a record in mysql database:
    mysql>select * from china_city;
    --------------------------------------------------------------------+
    | CityId | CityName |
    --------------------------------------------------------------+
    | 402881e70f8a5bc9010f8a5bcf720001 | shanghai |
    --------------------------------------------------------------------+
    successful !!
    2 then back to record a new info again, the console print out:
    ID : 402881e70f8a5bc9010f8a5bcf720001 City : shanghai2
    Hibernate: update china_city set CityName=? where CityId=?
    ERROR! why not insert this time?but Update?
    what shall i do?
    setCityID(null) ; the run successful!
    (A n unnative english man)
    Message was edited by:
    limo
    Message was edited by:
    limo

    ?

  • See my error against this code jasperPrint = JasperFillManager.fillReport(s

    sir i use this code for without database report
    jasperPrint = JasperFillManager.fillReport(stream, new HashMap(), new JREmptyDataSource());
    and comple then output window give me this error
    C:Documents and SettingsAdministratorMy DocumentsCreatorProjectswithoutdatasourceireportsrcwithoutdatasourceireportPage1.java:390: unreported exception net.sf.jasperreports.engine.JRException; must be caught or declared to be thrown
    jasperPrint = JasperFillManager.fillReport(stream, new HashMap(), new JREmptyDataSource());
    1 error
    C:Documents and SettingsAdministratorMy DocumentsCreatorProjectswithoutdatasourceireportnbprojectbuild-impl.xml:233: The following error occurred while executing this line:
    C:Documents and SettingsAdministratorMy DocumentsCreatorProjectswithoutdatasourceireportnbprojectbuild-impl.xml:122: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 13 seconds)
    see all error and
    plese give me idea
    thank's
    aamir

    See your other thread on the same topic
    Re: jsp give me this error javax.servlet.ServletException: oracle.jdbc.driv

Maybe you are looking for

  • How to update open PO price based on Price date category in contract?

    I've created a contract/ outline agreement with Price date category as '2'- Delivery date. (Path is Item details> More Functions> Additional Data). This means that PO price should be determined based on its delivery date. In contract, there are two d

  • Why do I have no entry sign apper when I log in

    When I turn my iMac on the log in screen appears, when I select my (or any for that matter) user accounts, I am prompted for password, which is accepted and the system goes through the start up process, rather than starting the apple logo in the midd

  • IDOC Posting to R/3

    Can anyone plz clarify the following querry :- If my flat file has three header level records then in that case there will be three IDOC (MInOccurence = 1 and MaxOccurence = 1) generated at R/3 level right. How XI send these IDOCS does it send them o

  • Email account does not see jpgs, pdfs to "Attach"

    I have done a number of posters that I want to send to my client and when I go to "Attach" in my yahoo email account, it does not see either the jpg version or the pdf version of my files. When I go go "computer" and look in the file folder, they are

  • Sun cluster failed when switching, mount /global/ I/O error .

    Hi all, I am having a problem during switching two Sun Cluster nodes. Environment: Two nodes with Solaris 8 (Generic_117350-27), 2 Sun D2 arrays & Vxvm 3.2 and Sun Cluster 3.0. Porblem description: scswitch failed , then scshutdown and boot up the bo