First of all, I like H a lot. I have one request though:
Could it be possible to map a class to an arbitrarily named
SessionFactory.
Something like:
<hibernate-mapping>
<class
data-source="MyFactory"
name="com.acme.example.MyClass"
table="TABLE">
<id name="id" column="ID" type="long" unsaved-value="0">
<generator class="native"/>
</id>
<property name="firstProp" column="someRecord" type="string"/>
<property name="secondProp" column="R2D2" type="string"/>
</class>
</hibernate-mapping>
Of cource, "MyFactory" could be configured using Hibernate.configure()
and come from JNDI and the like.
Does this sound as a good idea? Is there a better method?
Jonas Van Poucke
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel