小编goK*_*ore的帖子

Springframework.dao.InvalidDataAccessResourceUsageException hibernate.SQLGrammarException MySQLSyntaxErrorException

I'm breaking my head trying to find out what's wrong here. I'm working on a schema: It has a Story entity (table: stories) and I'm trying to add a column to this stories.portofoliotype_id which is a foreign key to PortfolioType (table: portofoliotypes). I think I have the annotations right, I even logged MySQL queries, it gets the following query, which is correct. I'm trying to create a new story: insert into stories(backlog_id, description, iteration_id, name, parent_id,portfoliotype_id, state, storyPoints, storyValue, …

java mysql spring persistence hibernate

8
推荐指数
1
解决办法
5万
查看次数

流星测试:Mocha 没有找到所有的测试文件

我正在为流星应用程序编写测试套件。我使用practicalmeteor:mocha包来运行测试。流星测试使用命令行运行meteor test --driver-package practicalmeteor:mocha

我的测试放在$PROJECT/test/unit/client/和 中$PROJECT/test/unit/server/。正在识别并运行服务器测试,而未运行客户端测试。有遇到同样问题的流星开发者吗?我知道 mocha 允许,mocha --recursive但我不确定如何在meteor test命令中指定它。

javascript unit-testing mocha.js meteor

4
推荐指数
1
解决办法
875
查看次数