-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate is not logging full information
PostPosted: Tue Oct 25, 2005 10:22 pm 
Newbie

Joined: Tue Oct 25, 2005 10:16 pm
Posts: 2
Dear All,

I am facing a problem that the query processed through the Hibernate
are not shown by weblogic.

E.g

The logs I am able to see at weblogic side is.
---------------------------------------------------------------------
Hibernate: select user0_.USER_ID as USER1_0_, user0_.STATUS as
STATUS21_0_, user0_.LICENSE_AGREEMENT_STATUS as LICENSE3_21_0_,
user0_.i18n_id as i4_21_0_, user0_.timezone_id as timezone5_21_0_,
user0_.COMPANY_ID as COMPANY6_21_0_, user0_.internal_identifier as
internal7_21_0_, user0_.USERNAME as USERNAME21_0_, user0_.FIRST_NAME
as FIRST9_21_0_, user0_.LAST_NAME as LAST10_21_0_, user0_.EMAIL as
EMAIL21_0_, user0_.PASSWORD as PASSWORD21_0_, user0_.PROVINCE as
PROVINCE21_0_, user0_.UNIQUE_IDENTIFIER as UNIQUE14_21_0_,
user0_.role as role21_0_, user0_.LOGIN_STATUS as LOGIN16_21_0_,
user0_.ADDRESS1 as ADDRESS17_21_0_, user0_.ADDRESS2 as
ADDRESS18_21_0_, user0_.CITY as CITY21_0_, user0_.STATE_ID as
STATE20_21_0_, user0_.COUNTRY_ID as COUNTRY21_21_0_, user0_.ZIP as
ZIP21_0_, user0_.PHONE as PHONE21_0_, user0_.FAX as FAX21_0_,
user0_.CELL as CELL21_0_, user0_.create_dt as create26_21_0_,
user0_.update_dt as update27_21_0_, user0_.CREATE_USER_ID as
CREATE28_21_0_, user0_.UPDATE_USER_ID as UPDATE29_21_0_ from USERS
user0_ where user0_.USER_ID=?
----------------------------------------------------------------------
I am not able to understand that why it [WLS 8.1 sp4] is not showing
me the value for "user0_.USER_ID". it is just showing the "?".

Please let me know what changes I have to make to see the value
for "user0_.USER_ID".

I am using WLS8.1 sp4, hibernate3.jar,Red Hat AS 3 (2.4.21-4.ELsmp)
and oracle 9.2

Thanks and Regards,
Qamar


Top
 Profile  
 
 Post subject: org.hibernate.type
PostPosted: Tue Oct 25, 2005 11:59 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
In the configuration you need to enable
org.hibernate.type

http://www.hibernate.org/hib_docs/v3/re ... bstitution

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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

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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.