ohm_g7 Posted August 19, 2008 Share Posted August 19, 2008 Hi, I got some problem.I already created report and up it to jasperserver on linux, its work.but I want to edit label name of that report (I want to use Thai font),when I edit and save itI got some error like this com.jaspersoft.jasperserver.api.JSExceptionWrapper: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.DataException: could not update: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.RepoReportUnit#6]com.jaspersoft.jasperserver.api.JSExceptionWrapper: org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.DataException: could not update: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.RepoReportUnit#6]caused by: org.hibernate.exception.DataException: could not update: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.RepoReportUnit#6]....I think I can't do this because I need to set something for jasper know about thai fontbut I don't know how?please tell me.Thake you. Link to comment Share on other sites More sharing options...
ohm_g7 Posted August 19, 2008 Author Share Posted August 19, 2008 Akkapong KajornwongwattanaWrote: Hi, I got some problem. I already created report and up it to jasperserver on linux, its work. but I want to edit label name of that report (I want to use Thai font),when I edit and save it I got some error like this com.jaspersoft.jasperserver.api.JSExceptionWrapper: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.DataException: could not update: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.RepoReportUnit#6] Link to comment Share on other sites More sharing options...
swood Posted August 19, 2008 Share Posted August 19, 2008 You can load the font file(s) into the JasperServer repository and where you declare the fonts in your JRXML, use the "repo:" format, like you would for images, sub reports etc. ShermanJaspersoft Link to comment Share on other sites More sharing options...
ohm_g7 Posted August 20, 2008 Author Share Posted August 20, 2008 In my report can show Thai font because I embedded it in my report.but about label name of report and label name of input control I can't use Thai fontbut I want to used its, How I do?Thank you. Link to comment Share on other sites More sharing options...
swood Posted August 22, 2008 Share Posted August 22, 2008 Ahhh.. now I understand.I thought that if you set your browser to a particular language, and entered text in that language, then JasperServer would show labels etc as entered. Is that not the case? Have you looked at the Localization Guide? You may need to configure your database and app server to use a different character set. ShermanJaspersoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now