Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.0.5
Name and version of the database you are using:MySql 4.1
Hi guys,
I m using org.apache.commons.lang.RandomStringUtils to generate id for a table.
<id
name="id"
column="category_id"
type="java.lang.Long"
unsaved-value="null"
>
<generator class="assigned">
<!--
To add non XDoclet generator parameters, create a file named
hibernate-generator-params-Category.xml
containing the additional parameters and place it in your merge dir.
-->
</generator>
</id>
How should I write a class to put into the mapping document so that I don't don't to specifically called org.apache.commons.lang.RandomStringUtils everytime I insert a record.
TIA !!
best regards,
Mark