KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
So, is possible to mix both configurations instead of use only one of those? All I want is to keep all the configuration by Annotations and read the table by a XML. Is it possible? Thanks a lot. Edit: How will be the hbm.xml file? I have this one: <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="MyData" table="MyTable" > </class> </hibernate-mapping> And don“t compile the dtd.
Tags (comma-separated)
Save Edits
Cancel