[xwiki-users] Hibernate logs
So I was trying to do a custom mapping of an xobject to a mysql file, I think I followed the instructions (but obviously not) and it doesn't work. Where in the logs will I find error messages (if any) from hibernate? Dan -- View this message in context: http://xwiki.475771.n2.nabble.com/Hibernate-logs-tp7599172.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
On 23 Apr 2016, at 21:55, dullfig <[email protected]> wrote:
So I was trying to do a custom mapping of an xobject to a mysql file, I think I followed the instructions (but obviously not) and it doesn't work.
You followed http://platform.xwiki.org/xwiki/bin/view/DevGuide/CustomMapping ?
Where in the logs will I find error messages (if any) from hibernate?
In the standard xwiki log file (catalina.out if you’re using Tomcat) Thanks -Vincent
Dan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Hibernate-logs-tp7599172.html Sent from the XWiki- Users mailing list archive at Nabble.com.
right, I followed that tutorial. What happens is there is no kind of error message, other than the call to retrieve the xml <code> xml = classDoc.getxWikiClassXML(); </code> returns null Dan -----Original Message----- From: Vincent Massol Sent: Sunday, April 24, 2016 11:51 PM To: XWiki Users Subject: Re: [xwiki-users] Hibernate logs Hi,
On 23 Apr 2016, at 21:55, dullfig <[email protected]> wrote:
So I was trying to do a custom mapping of an xobject to a mysql file, I think I followed the instructions (but obviously not) and it doesn't work.
You followed http://platform.xwiki.org/xwiki/bin/view/DevGuide/CustomMapping ?
Where in the logs will I find error messages (if any) from hibernate?
In the standard xwiki log file (catalina.out if you’re using Tomcat) Thanks -Vincent
Dan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Hibernate-logs-tp7599172.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
One problem I'm having, and this is in general, is figuring out the correct object name for a page. The bread crumbs at the top of the page are "prettyfied", and are not the actual class name. Take the "FAQ" tutorial for example. If you edit the Class, it tells you the class name is FAQ.FAQClass; is that the name you need to use in the hibernate-maping xml? Dan -----Original Message----- From: Vincent Massol Sent: Sunday, April 24, 2016 11:51 PM To: XWiki Users Subject: Re: [xwiki-users] Hibernate logs Hi,
On 23 Apr 2016, at 21:55, dullfig <[email protected]> wrote:
So I was trying to do a custom mapping of an xobject to a mysql file, I think I followed the instructions (but obviously not) and it doesn't work.
You followed http://platform.xwiki.org/xwiki/bin/view/DevGuide/CustomMapping ?
Where in the logs will I find error messages (if any) from hibernate?
In the standard xwiki log file (catalina.out if you’re using Tomcat) Thanks -Vincent
Dan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Hibernate-logs-tp7599172.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (4)
-
Daniel Ullfig -
dullfig -
Paul Libbrecht -
Vincent Massol