Re: [Lift] Re: [lift] scalajpa for 2.8

2010-02-28 Thread Indrajit Raychaudhuri
You are using scalajpa-1.2-SNAPSHOT which is built with Scala 2.7.x and 
thus binary incompatible with Scala 2.8.


To use 2.8 port of scalajpa, you should be using the version 
scalajpa-1.2-scala280-SNAPSHOT.


Your best bet would be to start with a lift-jpa archetype from 2.8 
branch. You could create a project from lift-archetype-jpa-basic as thus:


mvn archetype:generate \
  -DarchetypeRepository=http://scala-tools.org/repo-snapshots \
  -DremoteRepositories=http://scala-tools.org/repo-snapshots \
  -DarchetypeGroupId=net.liftweb \
  -DarchetypeArtifactId=lift-archetype-jpa-basic \
  -DarchetypeVersion=2.0-scala280-SNAPSHOT \
  -DgroupId=com.mypackage \
  -DartifactId=myproject \
  -Dversion=1.0-SNAPSHOT

The project thus created would be using the right version of scalajpa 
(built on Scala 2.8).


Cheers, Indrajit

On 28/02/10 6:34 PM, sjcarroll6 wrote:


I've downloaded the scalajpa-1.2SNAPSHOT. I am now getting the following
error: Error while loading ScalaEntityManager, Scala signature entity
manager has wrong version, expecting 5 found 4.1 in scalajpa-1.2-SNAPSHOT.
Any help in resolving this issue would be helpful.


sjcarroll6 wrote:


I was able to locate the 1.2 snapshot. From this I was able to find out
that this was initial port for 2.8. I'm trying to read Proj JPA and
converting the java code to scala. Since  I don't know much about scala or
JPA this is proving to be a challenge. If anyone could point me to a
simple LocalEMF CRUD example that would be great. Also, if anyone could
indicate if scalajpa 1.2 has any known issues with JPA 2.0 eclipselink
that would be helpful.

Thank you


sjcarroll6 wrote:


Are there any known issues with using scalajpa with 2.8? I read one post
which indicated scalajpa will need to be updated for 2.8 but it wasn't
clear if the existing version was still usable.

Thanks,








--
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: [lift] scalajpa for 2.8

2010-02-28 Thread sjcarroll6

I've downloaded the scalajpa-1.2SNAPSHOT. I am now getting the following
error: Error while loading ScalaEntityManager, Scala signature entity
manager has wrong version, expecting 5 found 4.1 in scalajpa-1.2-SNAPSHOT.
Any help in resolving this issue would be helpful.


sjcarroll6 wrote:
> 
> I was able to locate the 1.2 snapshot. From this I was able to find out
> that this was initial port for 2.8. I'm trying to read Proj JPA and
> converting the java code to scala. Since  I don't know much about scala or
> JPA this is proving to be a challenge. If anyone could point me to a
> simple LocalEMF CRUD example that would be great. Also, if anyone could
> indicate if scalajpa 1.2 has any known issues with JPA 2.0 eclipselink
> that would be helpful.
> 
> Thank you
> 
> 
> sjcarroll6 wrote:
>> 
>> Are there any known issues with using scalajpa with 2.8? I read one post
>> which indicated scalajpa will need to be updated for 2.8 but it wasn't
>> clear if the existing version was still usable.
>> 
>> Thanks,
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/scalajpa-for-2.8-tp27731695p27734808.html
Sent from the liftweb mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: [lift] scalajpa for 2.8

2010-02-27 Thread sjcarroll6

I was able to locate the 1.2 snapshot. From this I was able to find out that
this was initial port for 2.8. I'm trying to read Proj JPA and converting
the java code to scala. Since  I don't know much about scala or JPA this is
proving to be a challenge. If anyone could point me to a simple LocalEMF
CRUD example that would be great. Also, if anyone could indicate if scalajpa
1.2 has any known issues with JPA 2.0 eclipselink that would be helpful.

Thank you


sjcarroll6 wrote:
> 
> Are there any known issues with using scalajpa with 2.8? I read one post
> which indicated scalajpa will need to be updated for 2.8 but it wasn't
> clear if the existing version was still usable.
> 
> Thanks,
> 

-- 
View this message in context: 
http://old.nabble.com/scalajpa-for-2.8-tp27731695p27732946.html
Sent from the liftweb mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.