They seem to be inspecting the java class and package when a class with no mapping is found. The only other example I know of is in the Caveat Emptor example application for the book Hibernate in Action.
http://www.hibernate.org/hib_files/caveatemptor-jpa-061211.zip I tested the package-info thing with our application and Joda DateTime, and it works. We may be able to annotate Joda classes, but it would require hibernate in its classpath which is A Bad Thing. On the other hand, the package-info files could be included in the joda-time-hibernate jar. I'll post a patch this weekend with package-info and names for the current user types. On 8/29/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi! > > Short version: Is there any plan to support package-info.java with > > Hibernate/JPA and Joda? > > > Interesting stuff. > > > The thing is, the package-info.java file must be in the org.joda.time > > package. Are there any plans to put it there, or should I post a > > feature request/bug/patch somewhere? > > > How do hibernate know to process this package-info file? > > Ciao, > Mario > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest