Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hibernate - substr function

807605Sep 24 2007
Hi everone:

I just want to know if there is a substring function like substr sql function in Hibernate API. I was looking for it in differents classes from criterion package but i didn't find it.

For example, the query that i have to make is like:

select carCode, substr(carDetail, initialPos, length) from carsTable where ......;

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2007
Added on Sep 24 2007
0 comments
619 views