Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: Hibernate 2
Mapping documents:
Code between sessionFactory.openSession() and session.close():
I have a statement like this:
Code:
List objList = session.createCriteria(MyObject.class)
.add(Expression.eq("lastName", lastname))
.list();
This works fine.
I changed the code to add one more where clause like this:
Code:
List objList = session.createCriteria(MyObject.class)
.add(Expression.eq("lastName", lastname))
.add(Expression.eq("firstName", firstname))
.list();
This cause unknown error and stopped my server. No Exeception or Throwable caught. Screen output below.
I am using Hibernate 2, Windows 2000, WSAD 5.1.2
Full stack trace of any exception that occurs:
Unhandled exception
Type=GPF vmState=0xffffffff
Target=20030915 (Windows 2000 5.0 build 2195 Service Pack 4 x86)
ExceptionCode=0xc0000005 ExceptionAddress=0x1000a0b2 ContextFlags=0x0001003f
Handler1=0x111016c0 Handler2=0x10019730
Module=C:\IBM\WSAD512\runtimes\base_v51\java\jre\bin\j9vm21.dll
Module_base_address=0x10000000
Offset_in_DLL=0x0000a0b2
EDI=0x00000064 ESI=0x0c2f8ea9 EAX=0x9c100057
EBX=0x0c2ec6d8 ECX=0x0b04b6cc EDX=0x0c2e5069
EBP=0x04632b00 ESP=0x0b04b6b8 EIP=0x1000a0b2
Name and version of the database you are using:DB2
The generated SQL (show_sql=true):
Server Stops. No SQL generated.
Debug level Hibernate log excerpt: