This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I also tried giving sql-type=char(4). I used createSQLQuery method of hibernate session to get this value . But I get only the first character of the field value. Can anybody suggest why?
Thanks Ajai
Travis Hein
Ranch Hand
Joined: Jun 06, 2006
Posts: 161
posted
0
does the Java bean that you map to define the property 'abc' as a javaString?
The Java char primative, or java.lang.Character class still only old one character.
I found that char(s) in the datbase map to java.lang.String, or "text" types in hibernate.
Error: Keyboard not attached. Press F1 to continue.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.