練功房推薦書單

  • Google!Android 3手機應用程式設計入門(第四版)
  • 賈伯斯傳(軟皮精裝版)
  • 猛虎出閘制霸版:最新OCP Java SE 6 Programmer專業認證(附原始程式碼及範例檔)
  • SCWCD 5 猛虎出閘:Java Web 應用程式專業認證
Postgre CURRVAL issue  XML
Forum Index » JForum中文社群 JForum Chinese Users Community
Author Message
acer123

九級學員

Joined: 2009-09-10 14:45:53
Messages: 19
Offline

I install JForums on postgres. I am assuming that the only SQL file JForum uses for all it's queries is generic_queries.sql because the DB which i have consist of schemaname.tablename and because of that i had to change all of my SQL file.

Since this was an issue so inserted everything manually and implemented SSO which is working just fine. There were several bug which i faced on PSQL JForums which i will post in your JIRA site.

I have a question. Everytime i post a message on JForums or create a topic or send a PVT message to a user i get a PSQLException :-

Error: currval of sequence "jforum_privmsgs_seq" is not yet defined in the session.

I saw in postgresql.sql file it has :-

select CURRVAL('jforum_privmsgs_seq')
select CURRVAL('jforum_topics_seq')
acer123

九級學員

Joined: 2009-09-10 14:45:53
Messages: 19
Offline

Never mind i got it :--)
 
Forum Index » JForum中文社群 JForum Chinese Users Community
Go to: